ctdb-tests: Add explicit wait to the fork_helper()
commit049dd07b909dc56a246799f8a96235989a5a605f
authorAmitay Isaacs <amitay@gmail.com>
Thu, 28 Jul 2016 06:21:44 +0000 (28 16:21 +1000)
committerMartin Schwenke <martins@samba.org>
Mon, 8 Aug 2016 06:17:33 +0000 (8 08:17 +0200)
tree00a8d5ac599d07347fda17ff3d9663a1e51b9a4f
parent8ce8e1d7f8c05158f0f5f4e673f3d9a40f94f00d
ctdb-tests: Add explicit wait to the fork_helper()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12109

To create a client process that waits after connect(), instead of trying
to do a blocking write(), go to sleep.  The parent can then kill the client
process, once testing is done.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/tests/src/porting_tests.c