about summary refs log tree commit homepage
path: root/t/t0014-config-conflict.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t0014-config-conflict.sh')
-rwxr-xr-xt/t0014-config-conflict.sh8
1 files changed, 2 insertions, 6 deletions
diff --git a/t/t0014-config-conflict.sh b/t/t0014-config-conflict.sh
index b91355d..b06c915 100755
--- a/t/t0014-config-conflict.sh
+++ b/t/t0014-config-conflict.sh
@@ -30,12 +30,8 @@ t_begin "modify rackup file" && {
 t_begin "reload signal succeeds" && {
         kill -HUP $rainbows_pid
         rainbows_wait_start
-        while ! egrep '(done|error) reloading' < $r_err >/dev/null
-        do
-                sleep 1
-        done
-
-        grep 'done reloading' $r_err >/dev/null
+        wait_for_reload
+        wait_for_reap
 }
 
 t_begin "hit with curl" && {