ctdb-server: Use find_public_ip_vnn() in a couple of extra places
[samba4-gss.git] / ctdb / tests / scripts / cluster.bash
blob916fc843bada348179ef71f2fec713dc4aaca7e1
1 # Hey Emacs, this is a -*- shell-script -*- !!! :-)
3 . "${TEST_SCRIPTS_DIR}/integration.bash"
5 if ! ctdb_test_on_cluster ; then
6 # Do not run on local daemons
7 ctdb_test_error \
8 "ERROR: This test must be run against a real/virtual cluster"
9 fi
11 h=$(hostname)
13 for i in $(onnode -q all hostname) ; do
14 if [ "$h" = "$i" ] ; then
15 ctdb_test_error \
16 "ERROR: This test must not be run from a cluster node"
18 done