From 752a33dbeff7a4f67b7b5e7a29761154f7748e21 Mon Sep 17 00:00:00 2001
From: Morris Jette <jette@schedmd.com>
Date: Fri, 5 Jun 2015 14:57:47 -0700
Subject: [PATCH] Correct eof/wait logic in a test

---
 testsuite/expect/test1.55 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testsuite/expect/test1.55 b/testsuite/expect/test1.55
index 108b0c037c4..9fa00097f94 100755
--- a/testsuite/expect/test1.55
+++ b/testsuite/expect/test1.55
@@ -85,8 +85,8 @@ expect {
 		slow_kill $srun_pid
 		exit 1
 	}
-	wait {
-		eof
+	eof {
+		wait
 	}
 }
 if {$jobid == 0 || $job_running == 0} {
-- 
GitLab