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

Fix test for SLURM_CPUS_PER_TAASK env var mod

parent a3bb2409
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ array set good_vars {
# Spawn a job via srun to print environment variables
#
set timeout $max_job_delay
set srun_pid [spawn $srun -N1 -n1 -t1 $bin_env]
set srun_pid [spawn $srun -N1 -n1 --cpus-per-task=1 -t1 $bin_env]
expect {
-re "(SLURM_$alpha_under)=($alpha_numeric_under)" {
set found_vars($expect_out(1,string)) "$expect_out(2,string)"
......
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