diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-11-09 14:06:10 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-11-09 16:10:38 -0800 |
commit | a7ac8393ea6a1767ba07f95e8932d06a9f9db398 (patch) | |
tree | 604dc57be27bfdb47021b0404512e4d792f0cb66 /t/t0004-heartbeat-timeout.sh | |
parent | cf5ba246ac045101a591bbcba57027e7fc5f492b (diff) | |
download | rainbows-a7ac8393ea6a1767ba07f95e8932d06a9f9db398.tar.gz |
Avoid the chances of misfiring when waiting on the master process to start in case something bad happens or we're sharing the FIFO for other purposes.
Diffstat (limited to 't/t0004-heartbeat-timeout.sh')
-rwxr-xr-x | t/t0004-heartbeat-timeout.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0004-heartbeat-timeout.sh b/t/t0004-heartbeat-timeout.sh index d7a54a7..4aa8fd7 100755 --- a/t/t0004-heartbeat-timeout.sh +++ b/t/t0004-heartbeat-timeout.sh @@ -37,7 +37,7 @@ t_begin "ensure timeout took 3-6 seconds" && { } t_begin "wait for new worker to start up" && { - test x = x"$(cat $fifo)" + test xSTART = x"$(cat $fifo)" } t_begin "we get a fresh new worker process" && { |