1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00
samba-mirror/ctdb/tests/UNIT/eventscripts/91.lvs.shutdown.002.sh
Martin Schwenke 8ed075d396 ctdb-tests: Move eventscript tests to UNIT/ subdirectory
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2019-09-26 04:45:36 +00:00

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