summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2000-11-08 23:17:50 +0000
committerTom Yu <tlyu@mit.edu>2000-11-08 23:17:50 +0000
commit3c59a1168382d3669ea5f1b5b116e518d5229cc5 (patch)
treebb398c66ec9546b5695609e909c43f62fb8966bc /src
parent0db539968c0e6e01a11bc6deff36753e77e69484 (diff)
* v4gssftp.exp: Fix to handle some cases of krb4 failure prior to
timing out. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12860 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/tests/dejagnu/krb-standalone/ChangeLog5
-rw-r--r--src/tests/dejagnu/krb-standalone/v4gssftp.exp8
2 files changed, 10 insertions, 3 deletions
diff --git a/src/tests/dejagnu/krb-standalone/ChangeLog b/src/tests/dejagnu/krb-standalone/ChangeLog
index 2fa694210..ac2448eae 100644
--- a/src/tests/dejagnu/krb-standalone/ChangeLog
+++ b/src/tests/dejagnu/krb-standalone/ChangeLog
@@ -1,3 +1,8 @@
+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.
diff --git a/src/tests/dejagnu/krb-standalone/v4gssftp.exp b/src/tests/dejagnu/krb-standalone/v4gssftp.exp
index f78f5e84a..f3f321d22 100644
--- a/src/tests/dejagnu/krb-standalone/v4gssftp.exp
+++ b/src/tests/dejagnu/krb-standalone/v4gssftp.exp
@@ -192,9 +192,11 @@ proc v4ftp_test { } {
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"