TMP: add a ctdb snapshot of current ctdb master (git://git.samba.org/ctdb.git) to...
[obnox/samba/samba-obnox.git] / ctdb / tests / eventscripts / simple / 10.interface.monitor.005.sh
1 #!/bin/sh
2
3 . "${EVENTSCRIPTS_TESTS_DIR}/common.sh"
4
5 define_test "1 bond, no active slaves"
6
7 setup_ctdb
8
9 iface=$(ctdb_get_1_interface)
10
11 setup_bond $iface "None"
12
13 required_result 1 "ERROR: No active slaves for bond device $iface"
14
15 simple_test