mirror of
https://github.com/samba-team/samba.git
synced 2025-02-05 21:57:51 +03:00
Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit eb13507713ba6732271b7c3024bfddbda6da5ffc)
18 lines
348 B
Bash
Executable File
18 lines
348 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "${TEST_SCRIPTS_DIR}/unit.sh"
|
|
|
|
define_test "error - remove a non-existent ip"
|
|
|
|
setup_ctdb
|
|
|
|
public_address=$(ctdb_get_1_public_address)
|
|
ip="${public_address% *}" ; ip="${ip#* }"
|
|
|
|
required_result 1 <<EOF
|
|
RTNETLINK answers: Cannot assign requested address
|
|
Failed to del ${ip} on dev ${public_address%% *}
|
|
EOF
|
|
|
|
simple_test $public_address
|