Skip to content
Snippets Groups Projects
Commit 2d8a8e4b authored by Danny Auble's avatar Danny Auble
Browse files

Fixed bad variables

parent 8ca946b1
No related branches found
No related tags found
No related merge requests found
...@@ -181,16 +181,16 @@ sleep 1 ...@@ -181,16 +181,16 @@ sleep 1
#Checks job #Checks job
if {[check_job $job_id 32 512 1]} { if {[check_job $job_id 32 512 1]} {
exit exit_code exit $exit_code
} }
#Checks the job step #Checks the job step
if {[check_step $job_id 0 32 512]} { if {[check_step $job_id 0 32 512]} {
exit exit_code exit $exit_code
} }
#submit allocation and runs job #submit allocation and runs job
set matches 0 set matches 0
spawn $salloc -n512 $srun $bin_sleep spawn $salloc -n512 $srun $bin_sleep 50
expect { expect {
-re "Granted job allocation ($number)" { -re "Granted job allocation ($number)" {
set job_id $expect_out(1,string) set job_id $expect_out(1,string)
...@@ -212,11 +212,11 @@ if {$matches !=1} { ...@@ -212,11 +212,11 @@ if {$matches !=1} {
#Checks job #Checks job
if {[check_job $job_id 32 512 1]} { if {[check_job $job_id 32 512 1]} {
exit exit_code exit $exit_code
} }
#Checks the job step #Checks the job step
if {[check_step $job_id 0 32 512]} { if {[check_step $job_id 0 32 512]} {
exit exit_code exit $exit_code
} }
if {$exit_code == 0} { if {$exit_code == 0} {
......
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