From e494eb3e8c054a7aa56d2f201459934d1248642a Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Thu, 12 Sep 2019 12:21:13 +1000 Subject: ctdb-tests: Drop unused function ctdb_test_check_real_cluster() Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- ctdb/tests/CLUSTER/complex/scripts/local.bash | 15 --------------- 1 file changed, 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 -- cgit v1.2.1