From 4d32100f912ada4997e1f088603c4beb02488346 Mon Sep 17 00:00:00 2001 From: Morris Jette <jette@schedmd.com> Date: Wed, 23 Nov 2011 12:28:09 -0800 Subject: [PATCH] Fix test for SLURM_CPUS_PER_TAASK env var mod --- testsuite/expect/test1.27 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuite/expect/test1.27 b/testsuite/expect/test1.27 index b6f845a5a19..6479df7ab31 100755 --- a/testsuite/expect/test1.27 +++ b/testsuite/expect/test1.27 @@ -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)" -- GitLab