mirror of
https://github.com/samba-team/samba.git
synced 2025-01-07 17:18:11 +03:00
df39a671db
Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit eb13507713ba6732271b7c3024bfddbda6da5ffc)
16 lines
238 B
Bash
Executable File
16 lines
238 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "${TEST_SCRIPTS_DIR}/unit.sh"
|
|
|
|
define_test "1 interface down"
|
|
|
|
setup_ctdb
|
|
|
|
iface=$(ctdb_get_1_interface)
|
|
|
|
ethtool_interfaces_down $iface
|
|
|
|
required_result 1 "ERROR: No link on the public network interface $iface"
|
|
|
|
simple_test
|