diff --git a/testsuite/expect/test22.2 b/testsuite/expect/test22.2 index 3fdb7066afe1a83a82511df2db3a0ff448fd9df8..544c78f0c71aec94aa82f5c1812bcbea98614e4a 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