swap first two tests - does the first one still fail?
Signed-off-by: Serge Hallyn <serge@hallyn.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/expect
|
||||
|
||||
set timeout 2
|
||||
expect_after default {puts stderr "\nFAIL"; exit 1}
|
||||
expect_after default {puts stderr "\nFAIL (timeout)"; exit 1}
|
||||
|
||||
if {$argc != 3} {
|
||||
puts "usage: run_su.exp <user> <password> <prompt>"
|
||||
|
Reference in New Issue
Block a user