1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/ctdb/tests/eventscripts/91.lvs.ipreallocated.013.sh
Martin Schwenke 5fc9ca91d7 ctdb-tests: Add unit tests for LVS eventscript
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2016-04-15 05:57:17 +02:00

19 lines
255 B
Bash
Executable File

#!/bin/sh
. "${TEST_SCRIPTS_DIR}/unit.sh"
define_test "nodes in config, other node is master"
setup_ctdb
setup_ctdb_lvs "10.1.1.201" "eth0" <<EOF
192.168.1.1
192.168.1.2 master
192.168.1.3
EOF
ok_null
simple_test
check_ipvsadm NULL
check_lvs_ip host