ldb: Release ldb 1.3.0
[Samba.git] / ctdb / tests / eventscripts / 10.interface.monitor.018.sh
blobaac23b8812877db657918ec821366cd387a8ad95
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "VLAN on bond, active slaves, link down"
7 setup_ctdb
9 iface=$(ctdb_get_1_interface)
11 bond="bond0"
13 setup_bond "$bond" "" "down"
15 ip link add link "$bond" name "$iface" type vlan id 11
16 ip link set "${iface}@${bond}" up
18 required_result 1 "ERROR: public network interface ${bond} is down"
20 simple_test