mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
6f212aacf8
Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
17 lines
240 B
Bash
Executable File
17 lines
240 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: Monitored interface dev123 does not exist
|
|
EOF
|
|
|
|
simple_test
|