Skip to content
Snippets Groups Projects
Commit 72bd1dd9 authored by Moe Jette's avatar Moe Jette
Browse files

Tweak string being tested for due to change in format of

slaunch error message.
parent 85d5ff68
No related branches found
No related tags found
No related merge requests found
...@@ -58,6 +58,11 @@ expect { ...@@ -58,6 +58,11 @@ expect {
set matches 1 set matches 1
exp_continue exp_continue
} }
-re "Unable to run executable" {
send_user "\nNo worries, this error is expected\n"
set matches 1
exp_continue
}
timeout { timeout {
send_user "\nFAILURE: salloc not responding\n" send_user "\nFAILURE: salloc not responding\n"
if {$job_id != 0} { if {$job_id != 0} {
...@@ -70,7 +75,7 @@ expect { ...@@ -70,7 +75,7 @@ expect {
wait wait
} }
} }
if {$matches != 1} { if {$matches == 0} {
send_user "\nFAILURE: unexpected output from bad job name\n" send_user "\nFAILURE: unexpected output from bad job name\n"
set exit_code 1 set exit_code 1
} }
......
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