ctdb-scripts: add new 48.netbios script for starting nmbd
[vlendec/samba-autobuild/.git] / ctdb / tests / UNIT / eventscripts / 10.interface.monitor.013.sh
1 #!/bin/sh
2
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
4
5 define_test "1 bond, active slaves, link down"
6
7 setup
8
9 iface=$(ctdb_get_1_interface)
10
11 setup_bond $iface "" "up" "down"
12
13 required_result 1 "ERROR: No active slaves for 802.ad bond device $iface"
14
15 simple_test