ctdb-daemon: Add testing environment variable CTDB_TEST_MODE
authorMartin Schwenke <martin@meltin.net>
Thu, 5 Apr 2018 05:37:42 +0000 (15:37 +1000)
committerMartin Schwenke <martins@samba.org>
Tue, 1 May 2018 11:31:18 +0000 (13:31 +0200)
commit3c7b766e5a2fc23149d7cb78ca1167e3ec1ca5a3
tree27da5fe17dc3441267d44e8250ca9f093be2dd70
parent0349d658547918f1fa33043849a0865e745c6e37
ctdb-daemon: Add testing environment variable CTDB_TEST_MODE

This is a generic indicator that tests are being run.

For local daemons, this will replace --sloppy-start and
--nopublicipcheck - it also does --nosetsched, which isn't being
removed at this point.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/ctdbd.c
ctdb/tests/README
ctdb/tests/run_tests.sh