exit under HP/UX.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12533
dc483132-0cff-0310-8789-
dd5450dbe970
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
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
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