]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-tests: Drop unused function ctdb_test_check_real_cluster()
authorMartin Schwenke <martin@meltin.net>
Thu, 12 Sep 2019 02:21:13 +0000 (12:21 +1000)
committerAmitay Isaacs <amitay@samba.org>
Fri, 4 Oct 2019 09:41:28 +0000 (09:41 +0000)
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/CLUSTER/complex/scripts/local.bash

index 20b3ba706b5a6b56e900f2cc4e9bdd8c01c19588..0e2addd5589f315f6d9c1fe24717b2f604291e52 100644 (file)
@@ -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