diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-12-29 11:02:32 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-12-29 14:46:09 +0100 |
commit | e36d64728f79087610737fa54eee69af3ab99c5b (patch) | |
tree | 5fee7f16373c6ca0043dd87345d845253a2c9cc5 /source4/cluster/ctdb/tests/ctdbd.sh | |
parent | aec16efaf29bc6c5e4973e2f4e218d7fc4b652cb (diff) | |
download | samba-e36d64728f79087610737fa54eee69af3ab99c5b.tar.gz samba-e36d64728f79087610737fa54eee69af3ab99c5b.tar.bz2 samba-e36d64728f79087610737fa54eee69af3ab99c5b.zip |
s4:cluster: remove old/broken ctdb code
We don't need a full copy of ctdb...
If we want to readd cluster support,
we should just use a ctdb client library.
metze
Diffstat (limited to 'source4/cluster/ctdb/tests/ctdbd.sh')
-rwxr-xr-x | source4/cluster/ctdb/tests/ctdbd.sh | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/source4/cluster/ctdb/tests/ctdbd.sh b/source4/cluster/ctdb/tests/ctdbd.sh deleted file mode 100755 index 4a1e9976b2..0000000000 --- a/source4/cluster/ctdb/tests/ctdbd.sh +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/sh - -killall -q ctdbd - -tests/start_daemons.sh 2 tests/nodes.txt || exit 1 - -echo "Testing ping" -$VALGRIND bin/ctdb ping || exit 1 - -echo "Testing status" -$VALGRIND bin/ctdb status || exit 1 - -echo "Testing statistics" -$VALGRIND bin/ctdb -n all statistics || exit 1 - -echo "Testing statisticsreset" -$VALGRIND bin/ctdb -n all statisticsreset || exit 1 - -echo "Testing debug" -$VALGRIND bin/ctdb -n all setdebug 3 || exit 1 -$VALGRIND bin/ctdb -n all getdebug || exit 1 -$VALGRIND bin/ctdb -n all setdebug 0 || exit 1 -$VALGRIND bin/ctdb -n all getdebug || exit 1 - -echo "Attaching to some databases" -$VALGRIND bin/ctdb attach test1.tdb || exit 1 -$VALGRIND bin/ctdb attach test2.tdb || exit 1 - -echo "Testing getdbmap" -$VALGRIND bin/ctdb getdbmap || exit 1 - -echo "Testing status" -$VALGRIND bin/ctdb status || exit 1 - -echo "Testing variables" -$VALGRIND bin/ctdb listvars || exit 1 -$VALGRIND bin/ctdb getvar TraverseTimeout || exit 1 -$VALGRIND bin/ctdb setvar TraverseTimeout 10 || exit 1 -$VALGRIND bin/ctdb getvar TraverseTimeout || exit 1 - -sleep 1 - -echo "Testing shutdown" -$VALGRIND bin/ctdb shutdown -n all || exit 1 - -sleep 1 - -echo "All done" -killall -q ctdbd -exit 0 |