From 01ba1e75932f0b7f89800434b73022d956cacfad Mon Sep 17 00:00:00 2001
From: Danny Auble <da@llnl.gov>
Date: Thu, 17 Jul 2008 20:21:39 +0000
Subject: [PATCH] expect majic to make expect see the correct output

---
 testsuite/expect/test1.38 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/testsuite/expect/test1.38 b/testsuite/expect/test1.38
index 074f9a67a25..7b56ce358ee 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 {
-- 
GitLab