smbd: Simplify strict_lock_default with early returns
[Samba.git] / ctdb / tests / eventscripts / 10.interface.monitor.013.sh
blob0fcdcd8d15bdabc7ea8ea4c08df7a185416932aa
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "1 bond, active slaves, link down"
7 setup_ctdb
9 iface=$(ctdb_get_1_interface)
11 setup_bond $iface "" "up" "down"
13 required_result 1 "ERROR: No active slaves for 802.ad bond device $iface"
15 simple_test