From c61747288d176ca607a750c218295aa8e1755f3d Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Tue, 24 Mar 2009 22:18:12 +0000 Subject: [PATCH] Tweak the test to run with AccountingStorageType = accounting_storage/filetxt --- testsuite/expect/test12.3 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/testsuite/expect/test12.3 b/testsuite/expect/test12.3 index b9902e16b18..2cf68529933 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 } -- GitLab