diff --git a/testsuite/expect/test15.23 b/testsuite/expect/test15.23
index 739f325723b81a702a8c85e8da9a717625044da3..0a3e8c9d9c1562fdaf4857528eef70fbd48a186a 100755
--- a/testsuite/expect/test15.23
+++ b/testsuite/expect/test15.23
@@ -65,7 +65,7 @@ expect {
 		#send_user "Job initiated\n"
 	}
 	timeout {
-		send_user "\nFAILURE: srun not responding\n"
+		send_user "\nFAILURE: salloc not responding\n"
 		if {$job_id != 0} {
 			cancel_job $job_id
 		}
@@ -100,7 +100,7 @@ expect {
 		exp_continue
 	}
 	timeout {
-		send_user "\nFAILURE: srun not responding\n"
+		send_user "\nFAILURE: scontrol not responding\n"
 		if {$job_id != 0} {
 			cancel_job $job_id
 		}