From a92d0abfc86fa3a6ddbfa2c3b743437c6f8ecf19 Mon Sep 17 00:00:00 2001
From: Don Lipari <lipari1@llnl.gov>
Date: Fri, 10 Dec 2010 23:02:35 +0000
Subject: [PATCH] Repaired test25.1

---
 testsuite/expect/test25.1 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/testsuite/expect/test25.1 b/testsuite/expect/test25.1
index 187af3dbb27..12a1f59d4ae 100755
--- a/testsuite/expect/test25.1
+++ b/testsuite/expect/test25.1
@@ -59,6 +59,9 @@ make_bash_script $file_in "$bin_sleep 600"
 proc def_cpu_cnt { } {
 	global sinfo alpha_numeric_under number exit_code partition
 
+	if { [string length $partition] == 0 } {
+		set partition [default_partition]
+	}
 	set cpu_cnt 1
 	spawn $sinfo -h -o "%P %C" -p $partition --state=idle
 	expect {
-- 
GitLab