Move tests/*.c to tests/src/*.c and adjust Makefile.in accordingly.
authorMartin Schwenke <martin@meltin.net>
Fri, 21 Nov 2008 08:01:48 +0000 (19:01 +1100)
committerMartin Schwenke <martin@meltin.net>
Fri, 21 Nov 2008 08:01:48 +0000 (19:01 +1100)
commit4c54772c5c2fa7d2a25963379b5b96caf0c2521c
treef70d605d21639fca8d13e4f3b85b61ff8d098d31
parente088116238eb107e9831fccbfd66c1db3d837a3b
Move tests/*.c to tests/src/*.c and adjust Makefile.in accordingly.
Move setting of $CTDB_NODES_SOCKETS to tests/scripts/run_tests and
make it only happen if $CTDB_TEST_REAL_CLUSTER is not set.  Bugfix in
function ips_are_on_nodeglob.  New/proper implementations of functions
stop_daemons and start_daemons, now called by function restart_ctdb.
In start_daemons.sh, add public addresses file generation/usage, use
new option --nopublicipcheck to ctdbd to avoid crazy behaviour and
kill ctdbd more carefully to avoid killing real daemons on a real
cluster - this should be able to coexist on a node of a real cluster.
start_daemons.sh is temporarily incompatible with start_daemons
function, but expecting to replace that script with function calls
very soon anyway...

Signed-off-by: Martin Schwenke <martin@meltin.net>
15 files changed:
.gitignore
Makefile.in
tests/scripts/ctdb_test_functions.bash
tests/scripts/run_tests
tests/simple/31_ctdb_disable_simple.sh
tests/src/ctdb_bench.c [moved from tests/ctdb_bench.c with 100% similarity]
tests/src/ctdb_fetch.c [moved from tests/ctdb_fetch.c with 100% similarity]
tests/src/ctdb_persistent.c [moved from tests/ctdb_persistent.c with 100% similarity]
tests/src/ctdb_randrec.c [moved from tests/ctdb_randrec.c with 100% similarity]
tests/src/ctdb_store.c [moved from tests/ctdb_store.c with 100% similarity]
tests/src/ctdb_transaction.c [moved from tests/ctdb_transaction.c with 100% similarity]
tests/src/ctdb_traverse.c [moved from tests/ctdb_traverse.c with 100% similarity]
tests/src/rb_perftest.c [moved from tests/rb_perftest.c with 100% similarity]
tests/src/rb_test.c [moved from tests/rb_test.c with 100% similarity]
tests/start_daemons.sh