1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/ctdb/tests/simple/00_ctdb_init.sh
Martin Schwenke bf197d097f tests: Rename ctdb_test_functions.bash to integration.bash
Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit 79adb50b3ce3873c3baf9e6715c1d1c3f181ce43)
2012-04-27 15:40:43 +10:00

33 lines
496 B
Bash
Executable File

#!/bin/bash
test_info()
{
cat <<EOF
Restart the ctdbd daemons of a CTDB cluster.
No error if ctdbd is not already running on the cluster.
Prerequisites:
* Nodes must be accessible via 'onnode'.
Steps:
1. Restart the ctdb daemons on all nodes using a method according to
the test environment and platform.
Expected results:
* The cluster is healthy within a reasonable timeframe.
EOF
}
. "${TEST_SCRIPTS_DIR}/integration.bash"
ctdb_test_init "$@"
set -e
setup_ctdb
restart_ctdb