diff --git a/testsuite/expect/test8.5 b/testsuite/expect/test8.5
index becad7d9f86d4558545511b40c468537714a40da..7b2dd534d933065f3fc37c3a3c5d4a29f865ae3d 100755
--- a/testsuite/expect/test8.5
+++ b/testsuite/expect/test8.5
@@ -85,7 +85,7 @@ if {$job_id == 0} {
 #
 # Wait for job to run
 #
-if {[wait_for_job $job_id "RUNNING"] != 0} {
+if {[wait_for_job $job_id "DONE"] != 0} {
 	send_user "\nFAILURE: waiting for job to run\n"
 	set exit_code 1
 }
@@ -137,7 +137,7 @@ if {$job_id == 0} {
 #
 # Wait for job to run
 #
-if {[wait_for_job $job_id "RUNNING"] != 0} {
+if {[wait_for_job $job_id "DONE"] != 0} {
 	send_user "\nFAILURE: waiting for job to run\n"
 	set exit_code 1
 }
@@ -188,7 +188,7 @@ if {$job_id == 0} {
 #
 # Wait for job to run
 #
-if {[wait_for_job $job_id "RUNNING"] != 0} {
+if {[wait_for_job $job_id "DONE"] != 0} {
 	send_user "\nFAILURE: waiting for job to run\n"
 	set exit_code 1
 }