KCC: explicit None check in refresh_failed_links_connections()
[Samba.git] / ctdb / tests / eventscripts / 10.interface.monitor.016.sh
blob6fd698a1982cc28f579f4eb1b2ce7fdc6ad609d1
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "Missing interface, CTDB_PARTIALLY_ONLINE_INTERFACES=yes, warn"
7 setup_ctdb
9 CTDB_PARTIALLY_ONLINE_INTERFACES="yes"
11 iface=$(ctdb_get_1_interface)
12 ip link delete "$iface"
14 ok <<EOF
15 ERROR: Interface dev123 does not exist but it is used by public addresses.
16 EOF
18 simple_test