swap first two tests - does the first one still fail?

Signed-off-by: Serge Hallyn <serge@hallyn.com>
This commit is contained in:
Serge Hallyn
2023-02-27 14:24:11 -06:00
parent 421c6cf951
commit 4da831c02f
2 changed files with 2 additions and 2 deletions

View File

@@ -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>"