diff --git a/testsuite/expect/test1.14 b/testsuite/expect/test1.14 index 59751413b870a63b364bb0894d260e18879b0c08..fc8f9a1cdc7e2dea26d563d7e1fff5f6a09bca39 100755 --- a/testsuite/expect/test1.14 +++ b/testsuite/expect/test1.14 @@ -85,7 +85,7 @@ make_bash_script $file_in2 " # # Spawn a job via sbatch # -spawn $sbatch -N1 -t2 --gres=craynetwork:0 --output=$file_out ./$file_in +spawn $sbatch -N1 -t2 --gres=craynetwork:0 --output=$file_out $file_in expect { -re "Submitted batch job ($number)" { set job_id $expect_out(1,string) @@ -169,14 +169,14 @@ make_bash_script $file_in " inx=\$((inx+1)) done $bin_sleep 4 - $srun -v --exclusive -n1 --mem=0 --immediate ./$file_in2 & + $srun -v --exclusive -n1 --mem=0 --immediate $file_in2 & wait " # # Spawn a job via sbatch # -spawn $sbatch -N1 -t2 --gres=craynetwork:0 --output=$file_out2 ./$file_in +spawn $sbatch -N1 -t2 --gres=craynetwork:0 --output=$file_out2 $file_in expect { -re "Submitted batch job ($number)" { set job_id $expect_out(1,string) diff --git a/testsuite/expect/test1.75 b/testsuite/expect/test1.75 index d48d984f2f38ee65b168a84eaf20a290bb010257..d107ca6af48ac73c496ba4bad8068c499ff86573 100755 --- a/testsuite/expect/test1.75 +++ b/testsuite/expect/test1.75 @@ -90,7 +90,7 @@ proc sub_job { freq } { foreach option [array names this_freq] { send_user "\n======= TESTING FREQUENCY/GOVERNOR $option =======\n" set job_id 0 - set srun_pid [spawn $srun -t1 --cpu-freq=$option -n$threads -w$node ./$file_id] + set srun_pid [spawn $srun -t1 --cpu-freq=$option -n$threads -w$node $file_id] expect { -re "not allowed" { if {[string first $option $avail_governors] == -1} { @@ -151,7 +151,7 @@ make_bash_script $file_id "echo SLURM_JOB_ID=\$SLURM_JOB_ID; $bin_sleep 30" make_bash_script $file_in "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors" # Identify a node that we can use and available governors -spawn $sbatch -N1 -t1 -o/dev/null --exclusive -o $file_out ./$file_in +spawn $sbatch -N1 -t1 -o/dev/null --exclusive -o $file_out $file_in expect { -re "Submitted batch job ($number)" { set job_id $expect_out(1,string) diff --git a/testsuite/expect/test1.77 b/testsuite/expect/test1.77 index 81f6fa023dc0ff91061e7e178b4cef1865c6760b..5c7cf885dd507a91f62a647dde10a25b0ac31058 100755 --- a/testsuite/expect/test1.77 +++ b/testsuite/expect/test1.77 @@ -53,7 +53,7 @@ make_bash_script $file_in " # Tests -J by using srun # set found 0 -set srun_pid [spawn $srun -J $name -t1 ./$file_in] +set srun_pid [spawn $srun -J $name -t1 $file_in] expect { "SLURM_JOB_NAME=$name" { set found 1