From d9ab14128a746537d4a18f15d433e60fb15afafd Mon Sep 17 00:00:00 2001
From: Morris Jette <jette@schedmd.com>
Date: Mon, 16 Jun 2014 11:54:26 -0700
Subject: [PATCH] Fix uninitiailzed variable in test

---
 testsuite/expect/inc3.11.8 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testsuite/expect/inc3.11.8 b/testsuite/expect/inc3.11.8
index f0711cb01d5..af4205e7c1c 100644
--- a/testsuite/expect/inc3.11.8
+++ b/testsuite/expect/inc3.11.8
@@ -60,6 +60,7 @@ proc inc3_11_8 {} {
 	set thread_res_num [ expr $core_res_num * $res_thread_cnt ]
 
 	# (First test) Submit the batch job: a simple job using half the threads on the nodes
+	set job_id 0
 	set sbatch_pid [spawn $sbatch --nodes=1-$num_nodes --time=10:00 --ntasks-per-node=$thread_res_num --output=/dev/null $file_in]
 	expect {
 		-re "Submitted batch job ($number)" {
-- 
GitLab