summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>2001-08-06 18:24:56 +0000
committerEzra Peisach <epeisach@mit.edu>2001-08-06 18:24:56 +0000
commit43a76d6e9243baac29733815d8e8783eeca5eb0f (patch)
tree3e19679be2b62dd033edde321873681ca736f58d /src
parent9694a59d4f593930295890bef13d9276d01c4f44 (diff)
* default.exp (setup_root_shell): Also recognize "nection reset by
peer" as a failure to get a root shell. This happens if tcp_wrappers are in use in inetd.conf, but rlogind is not prsent on the machine. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13673 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/tests/dejagnu/config/ChangeLog7
-rw-r--r--src/tests/dejagnu/config/default.exp2
2 files changed, 8 insertions, 1 deletions
diff --git a/src/tests/dejagnu/config/ChangeLog b/src/tests/dejagnu/config/ChangeLog
index 863ccd882..8753d4f70 100644
--- a/src/tests/dejagnu/config/ChangeLog
+++ b/src/tests/dejagnu/config/ChangeLog
@@ -1,3 +1,10 @@
+2001-08-06 <epeisach@mit.edu>
+
+ * default.exp (setup_root_shell): Also recognize "nection reset by
+ peer" as a failure to get a root shell. This happens if
+ tcp_wrappers are in use in inetd.conf, but rlogind is not prsent
+ on the machine.
+
2001-06-22 Tom Yu <tlyu@mit.edu>
* default.exp: Use the interface variable $TMPDIR to allow the
diff --git a/src/tests/dejagnu/config/default.exp b/src/tests/dejagnu/config/default.exp
index bfc262a4c..02be5ff5c 100644
--- a/src/tests/dejagnu/config/default.exp
+++ b/src/tests/dejagnu/config/default.exp
@@ -1654,7 +1654,7 @@ proc setup_root_shell { testname } {
set rlogin_spawn_id $spawn_id
set rlogin_pid [exp_pid]
expect {
- -re "word:|erberos rlogin failed|ection refused" {
+ -re "word:|erberos rlogin failed|ection refused|ection reset by peer" {
note "$testname test requires ability to rlogin as root"
unsupported "$testname"
stop_root_shell