From: Tom Yu Date: Wed, 5 Jul 2000 00:57:42 +0000 (+0000) Subject: * rsh.exp: Drain buffers on klist test to avoid wedging rsh on X-Git-Tag: krb5-1.3-alpha1~2004 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c2f92f69a2d895514e9ad099aacef5d6502e6c0b;p=krb5.git * rsh.exp: Drain buffers on klist test to avoid wedging rsh on exit under HP/UX. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12533 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/tests/dejagnu/krb-standalone/ChangeLog b/src/tests/dejagnu/krb-standalone/ChangeLog index acf80bece..460052597 100644 --- a/src/tests/dejagnu/krb-standalone/ChangeLog +++ b/src/tests/dejagnu/krb-standalone/ChangeLog @@ -1,5 +1,8 @@ 2000-07-04 Tom Yu + * rsh.exp: Drain buffers on klist test to avoid wedging rsh on + exit under HP/UX. + * gssapi.exp: Rework significantly to deal with HP/UX lossage that probably resulted from when either the client or the server wound up blocking on tty output. Abstract things a little more. Remove diff --git a/src/tests/dejagnu/krb-standalone/rsh.exp b/src/tests/dejagnu/krb-standalone/rsh.exp index 09b5222fb..ed47af2c6 100644 --- a/src/tests/dejagnu/krb-standalone/rsh.exp +++ b/src/tests/dejagnu/krb-standalone/rsh.exp @@ -162,7 +162,9 @@ proc rsh_test { } { spawn $RSH $hostname -f -k $REALMNAME -D 3544 -A $BINSH -c $tmppwd/klist.wrap expect { - "Ticket cache:" { } + "Ticket cache:*\r" { + expect eof + } "klist: No credentials cache file found" { fail "$testname (not forwarded)" return @@ -191,7 +193,9 @@ proc rsh_test { } { set testname "encrypted rsh forwarding tickets" spawn $RSH $hostname -x -f -k $REALMNAME -D 3544 -A $BINSH -c $tmppwd/klist.wrap expect { - "Ticket cache:" { } + "Ticket cache:*\r" { + expect eof + } "klist: No credentials cache file found" { fail "$testname (not forwarded)" return