Skip to content
Snippets Groups Projects
Commit 2a1ea6d5 authored by Christopher J. Morrone's avatar Christopher J. Morrone
Browse files

Add TASKS_PER_NODE check to salloc test

parent 1961e8ef
No related branches found
No related tags found
No related merge requests found
......@@ -83,6 +83,11 @@ expect {
incr matches
exp_continue
}
if {[string compare $expect_out(1,string) "TASKS_PER_NODE"]
== 0} {
incr matches
exp_continue
}
exp_continue
}
timeout {
......@@ -99,8 +104,8 @@ expect {
wait
}
}
if {$matches != 7} {
send_user "\nFAILURE: Not all SLURM environment variables set ($matches of 7)\n"
if {$matches != 8} {
send_user "\nFAILURE: Not all SLURM environment variables set ($matches of 8)\n"
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