smbd: Simplify validate_lock_entries
[Samba.git] / ctdb / tests / eventscripts / 10.interface.monitor.003.sh
blob1eb7916b932f5e2934e50c2927592ebf2800f5dd
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "1 interface down"
7 setup_ctdb
9 iface=$(ctdb_get_1_interface)
11 ethtool_interfaces_down $iface
13 required_result 1 "ERROR: No link on the public network interface $iface"
15 simple_test