Merge branch 'master' of ctdb into 'master' of samba
[sfrench/samba-autobuild/.git] / ctdb / tests / eventscripts / 10.interface.monitor.016.sh
1 #!/bin/sh
2
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
4
5 define_test "Missing interface, CTDB_PARTIALLY_ONLINE_INTERFACES=yes, warn"
6
7 setup_ctdb
8
9 CTDB_PARTIALLY_ONLINE_INTERFACES="yes"
10
11 iface=$(ctdb_get_1_interface)
12 ip link delete "$iface"
13
14 ok <<EOF
15 ERROR: Interface dev123 does not exist but it is used by public addresses.
16 EOF
17
18 simple_test