summaryrefslogtreecommitdiff
path: root/ctdb/tests/INTEGRATION/failover/pubips.050.missing_ip.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/tests/INTEGRATION/failover/pubips.050.missing_ip.sh')
-rwxr-xr-xctdb/tests/INTEGRATION/failover/pubips.050.missing_ip.sh19
1 files changed, 6 insertions, 13 deletions
diff --git a/ctdb/tests/INTEGRATION/failover/pubips.050.missing_ip.sh b/ctdb/tests/INTEGRATION/failover/pubips.050.missing_ip.sh
index c455784c886..543f9a96d89 100755
--- a/ctdb/tests/INTEGRATION/failover/pubips.050.missing_ip.sh
+++ b/ctdb/tests/INTEGRATION/failover/pubips.050.missing_ip.sh
@@ -1,24 +1,17 @@
-#!/bin/bash
+#!/usr/bin/env bash
-test_info()
-{
- cat <<EOF
-Verify that the recovery daemon handles unhosted IPs properly.
+# Verify that the recovery daemon handles unhosted IPs properly
-This test does not do any network level checks to make sure the IP
-address is actually on an interface. It just consults "ctdb ip".
+# This test does not do any network level checks to make sure the IP
+# address is actually on an interface. It just consults "ctdb ip".
-This is a variation of the "addip" test.
-EOF
-}
+# This is a variation of the "addip" test.
. "${TEST_SCRIPTS_DIR}/integration.bash"
-ctdb_test_init
-
set -e
-cluster_is_healthy
+ctdb_test_init
select_test_node_and_ips