testprogs/blackbox: add test_trust_utils.sh
[Samba.git] / ctdb / tests / eventscripts / 10.interface.monitor.009.sh
blob1b785ffdc80f2ba3b6340f31f7cf4e43fc86bb3f
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "CTDB_PARTIALLY_ONLINE_INTERFACES, 1 down"
7 setup_ctdb
9 iface=$(ctdb_get_1_interface)
11 export CTDB_PARTIALLY_ONLINE_INTERFACES="yes"
13 ethtool_interfaces_down "$iface"
15 ok "ERROR: No link on the public network interface $iface"
17 simple_test