mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
a496c8bca6
They are contrived and hard to read. Better to just enumerate the few sub-tests in these testcases. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
22 lines
345 B
Bash
Executable File
22 lines
345 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "${TEST_SCRIPTS_DIR}/unit.sh"
|
|
|
|
define_test "unknown interface, down, up"
|
|
|
|
setup_ctdb
|
|
|
|
iface="dev999"
|
|
export CTDB_PUBLIC_INTERFACE="$iface"
|
|
|
|
ethtool_interfaces_down "$iface"
|
|
required_result 1 "ERROR: No link on the public network interface $iface"
|
|
simple_test
|
|
|
|
ethtool_interfaces_up "$iface"
|
|
ok_null
|
|
simple_test
|
|
|
|
ok_null
|
|
simple_test
|