diff --git a/testsuite/expect/test12.2 b/testsuite/expect/test12.2
index 2466c38a04d768acfa0afc49339770b4bcd3d3ee..a468e7349c500d9923bfd857ae9e009e04ec8f2a 100755
--- a/testsuite/expect/test12.2
+++ b/testsuite/expect/test12.2
@@ -59,11 +59,11 @@ set supported 0
 log_user 0
 spawn $scontrol show config
 expect {
-	-re "JobAcctType *= jobacct/linux" {
+	-re "JobAcctGatherType *= jobacct_gather/linux" {
 		set supported 1
 		exp_continue
 	}
-	-re "JobAcctType *= jobacct/aix" {
+	-re "JobAcctGatherType *= jobacct_gather/aix" {
 		set supported 1
 		set aix 1
 		exp_continue