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

@ -54,8 +54,8 @@ echo "-: test failed"
> testsuite.log > testsuite.log
find "${build_path}" -name "*.gcda" -delete find "${build_path}" -name "*.gcda" -delete
run_test ./su/01/su_root.test
run_test ./su/01/su_user.test run_test ./su/01/su_user.test
run_test ./su/01/su_root.test
find "${build_path}" -name "*.gcda" -exec chmod a+rw {} \; find "${build_path}" -name "*.gcda" -exec chmod a+rw {} \;
run_test ./su/02/env_FOO-options_--login run_test ./su/02/env_FOO-options_--login
run_test ./su/02/env_FOO-options_--login_bash run_test ./su/02/env_FOO-options_--login_bash

View File

@ -1,7 +1,7 @@
#!/usr/bin/expect #!/usr/bin/expect
set timeout 2 set timeout 2
expect_after default {puts stderr "\nFAIL"; exit 1} expect_after default {puts stderr "\nFAIL (timeout)"; exit 1}
if {$argc != 3} { if {$argc != 3} {
puts "usage: run_su.exp <user> <password> <prompt>" puts "usage: run_su.exp <user> <password> <prompt>"