Skip to content
Snippets Groups Projects
Commit b798c78e authored by Morris Jette's avatar Morris Jette
Browse files

Make test more robust, formerly generated false success

parent d5994a94
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ if {[wait_for_job $job_id "DONE"] != 0} {
set matches 0
spawn $scontrol --detail show job $job_id
expect {
-re "ExitCode=0:0" {
-re " ExitCode=0:0" {
incr matches
exp_continue
}
......@@ -206,7 +206,7 @@ if {[wait_for_job $job_id "DONE"] != 0} {
set matches 0
spawn $scontrol --detail show job $job_id
expect {
-re "ExitCode=33:0" {
-re " ExitCode=33:0" {
incr matches
exp_continue
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment