(sync. problem with spawned process exiting too quickly).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5793
dc483132-0cff-0310-8789-
dd5450dbe970
+Sat May 6 17:12:37 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * standalone.exp: klist test - added new line to prevent an OSF/1
+ expect bug which would hang the klist process in waiting.
+
Fri May 5 12:49:19 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
* rcp.exp: (rcp_test()): Encrypted rcp are no longer expected to
# Make sure that klist can see the ticket.
spawn $KLIST
expect {
- -re "Ticket cache:\[ \]*$tmppwd/tkt.*Default principal:\[ \]*krbtest/admin@KRBTEST.COM.*krbtgt/KRBTEST.COM@KRBTEST.COM" {
+ -re "Ticket cache:\[ \]*$tmppwd/tkt.*Default principal:\[ \]*krbtest/admin@KRBTEST.COM.*krbtgt/KRBTEST.COM@KRBTEST.COM\r\n" {
verbose "klist started"
}
timeout {
return
}
}
+
+ expect {
+ "\r" { }
+ }
+
if ![check_exit_status "klist"] {
return
}
# Double check that the ticket was destroyed.
spawn $KLIST
expect {
- -re "klist: No credentials cache file found.*\r" {
+ -re "klist: No credentials cache file found.*\r\n" {
verbose "klist started"
}
timeout {