summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/eventscripts/scripts
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2012-04-24 11:39:07 +1000
committerMartin Schwenke <martin@meltin.net>2012-04-27 15:42:42 +1000
commitd28e268ed6e165bcb2817d94e8feac763ca2e267 (patch)
treef6b7d59d7df0aee8a535236e336279f69c7153d3 /ctdb/tests/eventscripts/scripts
parent5b590dfa19bf49faf3d667fee7bfa04df3fcbbe5 (diff)
tests: Update integration.sh to use TEST_VAR_DIR
There are 2 subtleties: * Local daemons currently use the in-tree tests/events.d/ subdirectory for their eventscripts. However, some tests install/remove test-specific eventscripts so now $TEST_VAR_DIR/events.d/ is used and the standard eventscripts are copied there at setup time. * The pgrep/pkill logic for killing local daemons currently relies on ctdbd being run with a full path to tests/bin/ctdbd. If the tests are installed and run against an installed daemon then this won't work. Therefore, ctdbd is now expected to be in $PATH and is found/killed by matching: ctdbd --socket=.* --nlist .* --nopublicipcheck This is complex but should avoid killing a real ctdbd running on a node. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 301491802eec0e49e108f5aae7d7be379703d72c)
Diffstat (limited to 'ctdb/tests/eventscripts/scripts')
0 files changed, 0 insertions, 0 deletions