summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2019-09-12 12:21:13 +1000
committerAmitay Isaacs <amitay@samba.org>2019-10-04 09:41:28 +0000
commite494eb3e8c054a7aa56d2f201459934d1248642a (patch)
tree0eab864f4e5f333aa7980e9a14132f543034a382
parent38138b42f7c42aca01dccd7b61784f0ddc2570f2 (diff)
downloadsamba-e494eb3e8c054a7aa56d2f201459934d1248642a.tar.gz
ctdb-tests: Drop unused function ctdb_test_check_real_cluster()
Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
-rw-r--r--ctdb/tests/CLUSTER/complex/scripts/local.bash15
1 files changed, 0 insertions, 15 deletions
diff --git a/ctdb/tests/CLUSTER/complex/scripts/local.bash b/ctdb/tests/CLUSTER/complex/scripts/local.bash
index 20b3ba706b5..0e2addd5589 100644
--- a/ctdb/tests/CLUSTER/complex/scripts/local.bash
+++ b/ctdb/tests/CLUSTER/complex/scripts/local.bash
@@ -248,21 +248,6 @@ gratarp_sniff_wait_show ()
tcpdump_show
}
-
-ctdb_test_check_real_cluster ()
-{
- [ -z "$TEST_LOCAL_DAEMONS" ] || \
- die "ERROR: This test must be run against a real/virtual cluster, not local daemons."
-
- local h=$(hostname)
-
- local i
- for i in $(onnode -q all hostname) ; do
- [ "$h" != "$i" ] || \
- die "ERROR: This test must not be run from a cluster node."
- done
-}
-
ping_wrapper ()
{
case "$*" in