summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>1995-10-07 12:15:03 +0000
committerEzra Peisach <epeisach@mit.edu>1995-10-07 12:15:03 +0000
commit7c837ef565228e0172dbe2e739a0ae58e457fb9e (patch)
treed1b745c0feb69453fc6c136f9a230375c9fe42b5 /src
parentd91e2c68fa2f9f08ab5cd0cd20600621b79f0be9 (diff)
Work around bug in NetBSD expect. This is the same fix as
is found in gssapi.exp for dealing with AIX... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6947 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/tests/dejagnu/krb-standalone/ChangeLog4
-rw-r--r--src/tests/dejagnu/krb-standalone/sample.exp7
2 files changed, 10 insertions, 1 deletions
diff --git a/src/tests/dejagnu/krb-standalone/ChangeLog b/src/tests/dejagnu/krb-standalone/ChangeLog
index b34b3a550..e9fc30970 100644
--- a/src/tests/dejagnu/krb-standalone/ChangeLog
+++ b/src/tests/dejagnu/krb-standalone/ChangeLog
@@ -1,3 +1,7 @@
+Sat Oct 7 08:02:08 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * sample.exp: Make changes to deal with NetBSD expect. Similar to
+ the AIX fix in gssapi.exp
Thu Aug 31 12:02:36 EDT 1995 Paul Park (pjpark@mit.edu)
* gssapi.exp - Repeat tests with -v2 switch.
diff --git a/src/tests/dejagnu/krb-standalone/sample.exp b/src/tests/dejagnu/krb-standalone/sample.exp
index 6180fe928..03c5557da 100644
--- a/src/tests/dejagnu/krb-standalone/sample.exp
+++ b/src/tests/dejagnu/krb-standalone/sample.exp
@@ -120,13 +120,18 @@ proc test_sclient { msg } {
}
expect {
- "You are krbtest/admin@KRBTEST.COM" {
+ "You are krbtest/admin@KRBTEST.COM\r" {
verbose "received valid sample message"}
eof {
fail $msg
return 0
}
}
+ # This last expect seems useless, but without it the test hangs on
+ # NETBSD.
+ expect {
+ "\r" { }
+ }
if ![check_exit_status "ssample"] {
return 0