summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>1996-11-07 01:32:43 +0000
committerTom Yu <tlyu@mit.edu>1996-11-07 01:32:43 +0000
commit18b253dc9165ccf47e08153ba3286fbccb721b3a (patch)
tree15816df251580b48c22bcad4927668efdddcdae3 /src
parentd4449a503f66a7434a18df3ba8ef862d6f14211c (diff)
downloadkrb5-18b253dc9165ccf47e08153ba3286fbccb721b3a.tar.gz
krb5-18b253dc9165ccf47e08153ba3286fbccb721b3a.tar.xz
krb5-18b253dc9165ccf47e08153ba3286fbccb721b3a.zip
* gssftp.exp: Check for "foo: No such file or directory" in
addition to "foo not found". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9310 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/gssftp.exp5
2 files changed, 9 insertions, 1 deletions
diff --git a/src/tests/dejagnu/krb-standalone/ChangeLog b/src/tests/dejagnu/krb-standalone/ChangeLog
index 87e60da326..2ac0e831e8 100644
--- a/src/tests/dejagnu/krb-standalone/ChangeLog
+++ b/src/tests/dejagnu/krb-standalone/ChangeLog
@@ -1,3 +1,8 @@
+Wed Nov 6 20:31:52 1996 Tom Yu <tlyu@mit.edu>
+
+ * gssftp.exp: Check for "foo: No such file or directory" in
+ addition to "foo not found".
+
Mon Oct 14 08:05:11 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
* gssftp.exp: Test ls and nlist commands. [krb5-appl/108]
diff --git a/src/tests/dejagnu/krb-standalone/gssftp.exp b/src/tests/dejagnu/krb-standalone/gssftp.exp
index 285d550127..255e901aba 100644
--- a/src/tests/dejagnu/krb-standalone/gssftp.exp
+++ b/src/tests/dejagnu/krb-standalone/gssftp.exp
@@ -226,7 +226,10 @@ proc ftp_test { } {
set testname "ls missing"
send "ls $tmppwd/ftp-testmiss\r"
expect -re "Opening ASCII mode data connection for .*ls."
- expect -re "$tmppwd/ftp-testmiss not found"
+ expect {
+ -re "$tmppwd/ftp-testmiss not found" {}
+ -re "$tmppwd/ftp-testmiss: No such file or directory"
+ }
expect "ftp> " {
pass $testname
}