From c2f92f69a2d895514e9ad099aacef5d6502e6c0b Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Wed, 5 Jul 2000 00:57:42 +0000 Subject: [PATCH] * 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 --- src/tests/dejagnu/krb-standalone/ChangeLog | 3 +++ src/tests/dejagnu/krb-standalone/rsh.exp | 8 ++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) 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 -- 2.26.2