diff --git a/testsuite/expect/test12.3 b/testsuite/expect/test12.3 index b9902e16b186261ffed44ab26125b07a0d43350e..2cf68529933dee0cf3e0ffabd99a71c34920da9a 100755 --- a/testsuite/expect/test12.3 +++ b/testsuite/expect/test12.3 @@ -57,21 +57,22 @@ set exit_code 0 set matches 0 set not_support 0 send_user "sacct -$soption\n" +set timeout 20 spawn $sacct -$soption expect { -re "SLURM accounting storage is disabled" { set not_support 1 exp_continue } - -re "JobID......JobName....Partition" { + -re "JobID.*JobName.*Partition" { incr matches exp_continue } - -re "Account....AllocCPUS" { + -re "Account.*AllocCPUS" { incr matches exp_continue } - -re "State......ExitCode" { + -re "State.*ExitCode" { incr matches exp_continue }