summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2000-07-05 00:57:42 +0000
committerTom Yu <tlyu@mit.edu>2000-07-05 00:57:42 +0000
commitc2f92f69a2d895514e9ad099aacef5d6502e6c0b (patch)
treebd246ac320846260110e3dc26057458c76208a3f /src/tests
parentb4fb27f3a4103c9cf3b2b36f4a689a5b9425e928 (diff)
downloadkrb5-c2f92f69a2d895514e9ad099aacef5d6502e6c0b.tar.gz
krb5-c2f92f69a2d895514e9ad099aacef5d6502e6c0b.tar.xz
krb5-c2f92f69a2d895514e9ad099aacef5d6502e6c0b.zip
* 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
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/dejagnu/krb-standalone/ChangeLog3
-rw-r--r--src/tests/dejagnu/krb-standalone/rsh.exp8
2 files changed, 9 insertions, 2 deletions
diff --git a/src/tests/dejagnu/krb-standalone/ChangeLog b/src/tests/dejagnu/krb-standalone/ChangeLog
index acf80bece9..4600525970 100644
--- a/src/tests/dejagnu/krb-standalone/ChangeLog
+++ b/src/tests/dejagnu/krb-standalone/ChangeLog
@@ -1,5 +1,8 @@
2000-07-04 Tom Yu <tlyu@mit.edu>
+ * 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 09b5222fb2..ed47af2c63 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