+2003-06-03 Ken Raeburn <raeburn@mit.edu>
+
+ * default.exp (setup_root_shell): Handle error messages indicating
+ "-x" isn't supported.
+
2003-06-01 Ken Raeburn <raeburn@mit.edu>
* default.exp: Default RLOGIN_FLAGS to "-x".
stop_root_shell
return 0
}
+ "usage: rlogin" -
+ "illegal option -- x" -
+ "invalid option -- x" {
+ note "$testname: rlogin doesn't like command-line flags"
+ unsupported "$testname"
+ set timeout $old_timeout
+ stop_root_shell
+ return 0
+ }
-re "$ROOT_PROMPT" { }
timeout {
perror "timeout from rlogin $hostname -l root"
return 0
}
eof {
- if $got_refused {
+ if {$got_refused} {
# reported some errors, continued, and failed
note "$testname test requires ability to log in as root"
unsupported $testname