From a43840cb1f775d1d6e4886a936fe1b6912da5752 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Wed, 17 Apr 1996 21:59:30 +0000 Subject: [PATCH] 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 --- src/tests/dejagnu/krb-standalone/ChangeLog | 8 ++++++++ src/tests/dejagnu/krb-standalone/gssftp.exp | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) 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 + + * 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 * 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" -- 2.26.2