diff --git a/testsuite/expect/test12.5 b/testsuite/expect/test12.5
index d0b4bbb2e1a097c822882a3798ac93fc137dc292..68e2f8d3a41424c8b54cb8b2bac267ef352dae13 100755
--- a/testsuite/expect/test12.5
+++ b/testsuite/expect/test12.5
@@ -65,12 +65,12 @@ proc sacct_job { soption } {
 			set not_support 1
 			exp_continue
 		}
-		-re "AllocCPUS.*Account *AssocID *AveCPU" {
+		-re "AllocCPUS.*AllocGRES.*Account.*AssocID" {
 			if {$debug} {send_user "\nmatch1\n"}
 			incr matches
 			exp_continue
 		}
-		-re "AveCPUFreq  *AveDiskRead  *AveDiskWrite *AvePages" {
+		-re "AveCPU.*AveCPUFreq.*AveDiskRead.*AveDiskWrite" {
 			if {$debug} {send_user "\nmatch2\n"}
 			incr matches
 			exp_continue