ldb: Release ldb 1.3.0
[Samba.git] / ctdb / tests / eventscripts / 10.interface.monitor.011.sh
blob21775d41ce5354aef56d8272f0d219ed166a0f82
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "CTDB_PARTIALLY_ONLINE_INTERFACES, 1 bond down"
7 setup_ctdb
9 iface=$(ctdb_get_1_interface)
11 setup_bond $iface "None"
13 export CTDB_PARTIALLY_ONLINE_INTERFACES="yes"
15 ethtool_interfaces_down "$iface"
17 ok "ERROR: No active slaves for bond device $iface"
19 simple_test