ctdb-tests: Start daemons in ctdb_test_init(), stop them in ctdb_test_exit()
authorMartin Schwenke <martin@meltin.net>
Mon, 8 Oct 2018 02:30:55 +0000 (13:30 +1100)
committerAmitay Isaacs <amitay@samba.org>
Tue, 6 Nov 2018 06:16:16 +0000 (07:16 +0100)
commit0e9ead8f28fced3ebfa888786a1dc5bb59e734a3
treea47015e3b4419e237e633243e5408a16cb60c25c
parente733e4cb746c15af17f6df110c0163c565427983
ctdb-tests: Start daemons in ctdb_test_init(), stop them in ctdb_test_exit()

This makes tests self-contained.  They can also now be individually
looped, if necessary.

Most tests (all but 1 complex, more than 50% of simple) restart the
daemons anyway, so this simplification is worth it.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/scripts/integration.bash