summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1996-04-17 21:59:30 +0000
committerTheodore Tso <tytso@mit.edu>1996-04-17 21:59:30 +0000
commita43840cb1f775d1d6e4886a936fe1b6912da5752 (patch)
tree8a279e7fa5a212e2f8c4f09512a29d3e9b25d843
parentcc944f8cce48eb99e1d0da8a42d682af203094dc (diff)
downloadkrb5-a43840cb1f775d1d6e4886a936fe1b6912da5752.tar.gz
krb5-a43840cb1f775d1d6e4886a936fe1b6912da5752.tar.xz
krb5-a43840cb1f775d1d6e4886a936fe1b6912da5752.zip
Fix the expect string so that it doesn't assume that the client is
using its fully qualified domain name as its local hostname. We now check to make sure that FTP banner contains $localhostname, plus optional characters (which can be the domainname depending on the system.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7824 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/tests/dejagnu/krb-standalone/ChangeLog8
-rw-r--r--src/tests/dejagnu/krb-standalone/gssftp.exp2
2 files changed, 9 insertions, 1 deletions
diff --git a/src/tests/dejagnu/krb-standalone/ChangeLog b/src/tests/dejagnu/krb-standalone/ChangeLog
index e66d7714c..0430684a1 100644
--- a/src/tests/dejagnu/krb-standalone/ChangeLog
+++ b/src/tests/dejagnu/krb-standalone/ChangeLog
@@ -1,3 +1,11 @@
+Wed Apr 17 17:53:51 1996 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * gssftp.exp: Fix the expect string so that it doesn't assume that
+ the client is using its fully qualified domain name as its
+ local hostname. We now check to make sure that FTP banner
+ contains $localhostname, plus optional characters (which
+ can be the domainname depending on the system.)
+
Mon Apr 8 14:13:06 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
* rcp.exp: Invoke kshd with -L for every environment variable we
diff --git a/src/tests/dejagnu/krb-standalone/gssftp.exp b/src/tests/dejagnu/krb-standalone/gssftp.exp
index 7b8ad91bc..c541414fb 100644
--- a/src/tests/dejagnu/krb-standalone/gssftp.exp
+++ b/src/tests/dejagnu/krb-standalone/gssftp.exp
@@ -177,7 +177,7 @@ proc ftp_test { } {
set testname "ftp connection"
expect "Connected to $hostname"
- expect -re "$hostname FTP server .Version \[0-9.\]*. ready."
+ expect -re "$localhostname.*FTP server .Version \[0-9.\]*. ready."
expect -re "Using authentication type GSSAPI; ADAT must follow"
expect "GSSAPI accepted as authentication type"
expect "GSSAPI authentication succeeded"