summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/eventscripts/simple/10.interface.takeip.001.sh
blob: 56f01d66e6ea91758bb86916549f43bcc140f22a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

. "${EVENTSCRIPTS_TESTS_DIR}/common.sh"

define_test "error - no args given"

setup_ctdb

iface=$(ctdb_get_1_interface)

required_result 1 "must supply interface, IP and maskbits"

simple_test