tests: avoid race condition in reopen logs test
commitccd4681cdd361f00b86d29e9d1b1ccae0e7d5079
authorEric Wong <normalperson@yhbt.net>
Sat, 24 Oct 2009 17:23:11 +0000 (24 10:23 -0700)
committerEric Wong <normalperson@yhbt.net>
Sat, 24 Oct 2009 17:25:37 +0000 (24 10:25 -0700)
treee298df563e509244992e5dba80eb3583607b90e8
parent4047b1a09d07ba9d66ca8d5f36aa4ebcbfe83a62
tests: avoid race condition in reopen logs test

Ensure our workers are capable of processing requests before we
can continue to setup signal handlers.  The later "kill -USR1"
signal may fire in our test script before the workers have a
chance to setup the handlers.  So by the time we receive a
positive response, we _know_ signal handlers are ready.
t/lib-reopen-logs.sh