ctdb-tests: Convert local daemons include file into top-level include
authorMartin Schwenke <martin@meltin.net>
Thu, 5 Sep 2019 04:01:20 +0000 (14:01 +1000)
committerAmitay Isaacs <amitay@samba.org>
Thu, 26 Sep 2019 04:45:37 +0000 (04:45 +0000)
commitdf6800e330d1c1fd47ce3d2f7a5814597ed46229
tree9f9474e7838ab3b4fcdb0a573e7a3af79c675b7c
parent384381fbff5ca900af031fb0606a270f572f5b9e
ctdb-tests: Convert local daemons include file into top-level include

Do the same with the alternative code for real clusters.

Both of these can now be used by other test suites.

Fix some basic shellcheck warnings (e.g. avoid word-splitting by
quoting) while moving code and add the new files to the shellcheck
test.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/UNIT/shellcheck/tests.sh
ctdb/tests/scripts/integration.bash
ctdb/tests/scripts/integration_local_daemons.bash [moved from ctdb/tests/simple/scripts/local_daemons.bash with 100% similarity]
ctdb/tests/scripts/integration_real_cluster.bash [new file with mode: 0644]
ctdb/tests/simple/scripts/local.bash [deleted file]
ctdb/wscript