mirror of
https://github.com/samba-team/samba.git
synced 2025-01-07 17:18:11 +03:00
8ed075d396
Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
19 lines
314 B
Bash
Executable File
19 lines
314 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "${TEST_SCRIPTS_DIR}/unit.sh"
|
|
|
|
define_test "configured"
|
|
|
|
setup "10.1.1.201" "eth0" <<EOF
|
|
EOF
|
|
|
|
ipvsadm -A -t "$CTDB_LVS_PUBLIC_IP" -s lc -p 1999999
|
|
ipvsadm -A -u "$CTDB_LVS_PUBLIC_IP" -s lc -p 1999999
|
|
ip addr add $CTDB_LVS_PUBLIC_IP/32 dev lo
|
|
|
|
ok_null
|
|
simple_test
|
|
|
|
check_ipvsadm NULL
|
|
check_lvs_ip NULL
|