]> git.ipfire.org Git - thirdparty/samba.git/commit
ctdb-tests: Simplify setup_ctdb()
authorMartin Schwenke <martin@meltin.net>
Tue, 3 Sep 2019 09:12:45 +0000 (19:12 +1000)
committerAmitay Isaacs <amitay@samba.org>
Tue, 17 Sep 2019 04:35:26 +0000 (04:35 +0000)
commit2730e48360750d4fbfd66ea76a2b0f002acfcab9
tree4c841eed1ccc6a976d28c720e2f9706fd3f7b49d
parent8443798846d3e6f67eeb651f98af24272a8a4b5c
ctdb-tests: Simplify setup_ctdb()

There is no point inventing a whole new set of options here.

Continue to locally implement the --no-event-scripts option.  This
must be first, though in practice only one option is ever passed to
setup_ctdb() from ctdb_test_init().

Simply pass all other options through to "local_daemons.sh setup".
This has the side effect of causing failure when an invalid option is
passed.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/simple/01_ctdb_reclock_command.sh
ctdb/tests/simple/19_ip_takeover_noop.sh
ctdb/tests/simple/scripts/local_daemons.bash