From 4e7ee4b8a451edf78b0eeac47b8a24c591986e91 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 27 Dec 2010 13:10:54 -0800 Subject: t0015: even less racy fix We need to ensure the first worker has started and is running before attempting to signal the reload. --- t/t0015-working_directory.sh | 1 + 1 file changed, 1 insertion(+) 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)" } -- cgit v1.2.3-24-ge0c7