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