about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-12-27 13:10:54 -0800
committerEric Wong <normalperson@yhbt.net>2010-12-27 21:11:26 +0000
commit4e7ee4b8a451edf78b0eeac47b8a24c591986e91 (patch)
treeb482355181b80123b844efee01e1d4227e07e98f
parent2b85ea421197af84a13f6062b21ddcf61490ebcf (diff)
We need to ensure the first worker has started and is
running before attempting to signal the reload.
-rwxr-xr-xt/t0015-working_directory.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t0015-working_directory.sh b/t/t0015-working_directory.sh
index 16c366f..26e501a 100755
--- a/t/t0015-working_directory.sh
+++ b/t/t0015-working_directory.sh
@@ -42,6 +42,7 @@ EOF
 }
 
 t_begin "reload to avoid race condition" && {
+        curl -sSf http://$listen/ >/dev/null
         kill -HUP $rainbows_pid
         test xSTART = x"$(cat $fifo)"
 }