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

. "${TEST_SCRIPTS_DIR}/unit.sh"

define_test "error - no args given"

setup

iface=$(ctdb_get_1_interface)

required_result 1 "ERROR: must supply interface, IP and maskbits"

simple_test