+2000-11-08 Tom Yu <tlyu@mit.edu>
+
+ * v4gssftp.exp: Fix to handle some cases of krb4 failure prior to
+ timing out.
+
Tue Aug 22 11:43:14 2000 Ezra Peisach <epeisach@mit.edu>
* v4gssftp.exp: New tests for the krb4 compatible interface to gssftp.
expect {
"Kerberos V4 authentication succeeded" { pass "ftp authentication" }
eof { fail "ftp authentication" ; catch "expect_after" ; return }
- "Kerberos V4 authentication failed" { fail "ftp authentication";
- send "quit\r"; catch "expect_after";
- return}
+ -re "Kerberos V4 .* failed.*\r" {
+ fail "ftp authentication";
+ send "quit\r"; catch "expect_after";
+ return
+ }
}
expect -nocase "name ($hostname:$env(USER)): "
send "$env(USER)\r"