summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/eventscripts/simple/10.interface.takeip.001.sh
blob: cd38cff67ca7ff73b1048c11e63073e45f299cc9 (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 "ERROR: must supply interface, IP and maskbits"

simple_test