From: Tom Yu Date: Wed, 4 Jun 2003 15:22:52 +0000 (+0000) Subject: * default.exp (setup_root_shell): Don't try to use the procedure X-Git-Tag: krb5-1.4-beta1~875 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1ecc8f59f25473b9a0c7baff7dba159d7edc0ecb;p=krb5.git * default.exp (setup_root_shell): Don't try to use the procedure "-" when handling error messages from rlogin. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15563 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/tests/dejagnu/config/ChangeLog b/src/tests/dejagnu/config/ChangeLog index 773ae8c85..c7f21da60 100644 --- a/src/tests/dejagnu/config/ChangeLog +++ b/src/tests/dejagnu/config/ChangeLog @@ -1,3 +1,8 @@ +2003-06-04 Tom Yu + + * default.exp (setup_root_shell): Don't try to use the procedure + "-" when handling error messages from rlogin. + 2003-06-03 Ken Raeburn * default.exp (setup_root_shell): Handle error messages indicating diff --git a/src/tests/dejagnu/config/default.exp b/src/tests/dejagnu/config/default.exp index 5f9aa2734..dee8509ee 100644 --- a/src/tests/dejagnu/config/default.exp +++ b/src/tests/dejagnu/config/default.exp @@ -2237,9 +2237,7 @@ proc setup_root_shell { testname } { stop_root_shell return 0 } - "usage: rlogin" - - "illegal option -- x" - - "invalid option -- x" { + -re "usage: rlogin|illegal option -- x|invalid option -- x" { note "$testname: rlogin doesn't like command-line flags" unsupported "$testname" set timeout $old_timeout