diff --git a/testsuite/expect/test1.38 b/testsuite/expect/test1.38 index 074f9a67a25b235a0ceba8532c1a926500308eb8..7b56ce358ee703d43673b13082a9896b8f3cd556 100755 --- a/testsuite/expect/test1.38 +++ b/testsuite/expect/test1.38 @@ -85,13 +85,13 @@ expect { exec $bin_kill -INT $srun_pid exp_continue } - -re "srun: interrupt" { + -re "srun: task0: running" { incr matches + cancel_job $job_id exp_continue } - -re "srun: task0: running" { + -re "srun: interrupt" { incr matches - cancel_job $job_id exp_continue } timeout {