mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
363315aca5
Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 53e4eca74429f76adc81d98e3d11d1bd61194d71)
17 lines
266 B
Bash
Executable File
17 lines
266 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "${TEST_SCRIPTS_DIR}/unit.sh"
|
|
|
|
define_test "Missing interface, fail"
|
|
|
|
setup_ctdb
|
|
|
|
iface=$(ctdb_get_1_interface)
|
|
ip link delete "$iface"
|
|
|
|
required_result 1 <<EOF
|
|
ERROR: Interface dev123 does not exist but it is used by public addresses.
|
|
EOF
|
|
|
|
simple_test
|