From: Ezra Peisach Date: Mon, 6 Aug 2001 18:24:56 +0000 (+0000) Subject: * default.exp (setup_root_shell): Also recognize "nection reset by X-Git-Tag: krb5-1.3-alpha1~1139 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=43a76d6e9243baac29733815d8e8783eeca5eb0f;p=krb5.git * 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 --- 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 + + * 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 * 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