vfs_delay_inject: adding delay to VFS calls
[Samba.git] / ctdb / tests / eventscripts / 10.interface.monitor.008.sh
blob8ab84f801c88e0dfc89e3e7a601934fdbc235a03
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "unknown interface, down, up"
7 setup_ctdb
9 iface="dev999"
10 export CTDB_PUBLIC_INTERFACE="$iface"
12 ethtool_interfaces_down "$iface"
13 required_result 1 "ERROR: No link on the public network interface $iface"
14 simple_test
16 ethtool_interfaces_up "$iface"
17 ok_null
18 simple_test
20 ok_null
21 simple_test