diff options
author | Martin Schwenke <martin@meltin.net> | 2009-01-08 17:12:03 +1100 |
---|---|---|
committer | Martin Schwenke <martin@meltin.net> | 2009-01-08 17:12:03 +1100 |
commit | a70327ce1a801afa05ccbace618255f320824288 (patch) | |
tree | 171edf2b848f0197060a73743b954ff9610cb5b1 /ctdb/tests/simple/08_ctdb_isnotrecmaster.sh | |
parent | 6ad847b9ac59f152a45cb0b6132e8007df45c6e1 (diff) | |
download | samba-a70327ce1a801afa05ccbace618255f320824288.tar.gz samba-a70327ce1a801afa05ccbace618255f320824288.tar.xz samba-a70327ce1a801afa05ccbace618255f320824288.zip |
Delete some unstructured tests ({fetch,peristent,transaction}.sh) and
replace them with new simple tests (52_ctdb_fetch.sh,
53_ctdb_transaction.sh, 61_ctdb_persistent_safe.sh,
62_ctdb_persistent_unsafe.sh). Remove "_simple" from some test
filenames in the simple subdirectory - that's redundant. Always run
ctdb as $CTDB to allow $VALGRIND magic to be used. Use pgrep/pkill to
detect/kill local daemons so those running under valgrind can be found
too - to support this, always run local daemons with the full path to
the executable. run_tests now supports -s option to print sumamry
when done - with more and more tests, it is getting hard to follow
progress. Sort the output of commands in 06_ctdb_getpid.sh to make
sure they compare nicely and also allow the processes' executables to
be called "memcheck" to catch those running under valgrind. Remove
redundant calls to onnode in commands run from calls
try_command_on_node in some tests. 41_ctdb_ban.sh and
42_ctdb_unban.sh avoid banning the recmaster, since this causes the
recmaster to be reassigned and all nodes to be unbanned. Minor
cleanups.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 33cdf3e4bcfadf8e20822ca352babf7acca16821)
Diffstat (limited to 'ctdb/tests/simple/08_ctdb_isnotrecmaster.sh')
-rwxr-xr-x | ctdb/tests/simple/08_ctdb_isnotrecmaster.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tests/simple/08_ctdb_isnotrecmaster.sh b/ctdb/tests/simple/08_ctdb_isnotrecmaster.sh index c4a4b65c27a..f5f9c6c077f 100755 --- a/ctdb/tests/simple/08_ctdb_isnotrecmaster.sh +++ b/ctdb/tests/simple/08_ctdb_isnotrecmaster.sh @@ -32,7 +32,7 @@ set -e onnode 0 $CTDB_TEST_WRAPPER cluster_is_healthy -cmd='ctdb isnotrecmaster || true' +cmd="$CTDB isnotrecmaster || true" try_command_on_node all "$cmd" echo "Output of \"$cmd\":" echo "$out" |