From 6b2e77de3223dc30a0de1bd5eb942df07e782abb Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Tue, 17 Mar 2009 00:03:46 +0000 Subject: [PATCH] Make test even more generic --- testsuite/expect/test22.2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testsuite/expect/test22.2 b/testsuite/expect/test22.2 index 3fdb7066afe..544c78f0c71 100755 --- a/testsuite/expect/test22.2 +++ b/testsuite/expect/test22.2 @@ -58,7 +58,7 @@ if { [test_account_storage] == 0 } { ################################################################ proc sreport_opt { soption } { - global sreport + global number sreport set debug 0 set exit_code 0 set matches 0 @@ -223,7 +223,7 @@ proc sreport_opt { soption } { set not_support 1 exp_continue } - -re "slurm 1.4" { + -re "slurm ($number).($number)" { if {$debug} {send_user "\nmatch9\n"} incr matches exp_continue -- GitLab