From: Ken Raeburn Date: Thu, 5 Jun 2003 23:43:30 +0000 (+0000) Subject: be more flexible in handling failures getting root access in test suite X-Git-Tag: krb5-1.4-beta1~867 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8f52968d9757173dff3ecb72fb8daeb00791f738;p=krb5.git be more flexible in handling failures getting root access in test suite * default.exp (setup_root_shell): Check for "not authorized". Map eof to unsupported. ticket: new target_version: 1.3 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15582 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/tests/dejagnu/config/ChangeLog b/src/tests/dejagnu/config/ChangeLog index c7f21da60..beabe48b8 100644 --- a/src/tests/dejagnu/config/ChangeLog +++ b/src/tests/dejagnu/config/ChangeLog @@ -1,3 +1,8 @@ +2003-06-05 Ken Raeburn + + * default.exp (setup_root_shell): Check for "not authorized". Map + eof to unsupported. + 2003-06-04 Tom Yu * default.exp (setup_root_shell): Don't try to use the procedure diff --git a/src/tests/dejagnu/config/default.exp b/src/tests/dejagnu/config/default.exp index dee8509ee..5f4b5924d 100644 --- a/src/tests/dejagnu/config/default.exp +++ b/src/tests/dejagnu/config/default.exp @@ -2223,7 +2223,7 @@ proc setup_root_shell { testname } { set got_refused 1 exp_continue } - -re "word:|erberos rlogin failed|ection refused|ection reset by peer" { + -re "word:|erberos rlogin failed|ection refused|ection reset by peer|not authorized" { note "$testname test requires ability to rlogin as root" unsupported "$testname" set timeout $old_timeout @@ -2260,7 +2260,10 @@ proc setup_root_shell { testname } { unsupported $testname } else { # unknown problem? - perror "eof from rlogin $hostname -l root" +# perror "eof from rlogin $hostname -l root" + note "eof (and unrecognized messages?) from rlogin $hostname -l root" + note "$testname test requires ability to log in as root" + unsupported $testname } stop_root_shell set timeout $old_timeout