blob: 89f443e39c20062c4d0f0ec68fab0c4eded41c0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
. "${TEST_SCRIPTS_DIR}/unit.sh"
define_test "configured, interface up"
setup "10.1.1.201" "eth0" <<EOF
192.168.1.1
192.168.1.2
192.168.1.3
EOF
ethtool_interfaces_down "$CTDB_LVS_PUBLIC_IFACE"
required_result 1 <<EOF
ERROR: No link on the public network interface ${CTDB_LVS_PUBLIC_IFACE}
EOF
simple_test
|