summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/eventscripts/simple/10.interface.monitor.013.sh
blob: 88e884dc84db9448a324f69a64d7e50b09c48485 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

. "${EVENTSCRIPTS_TESTS_DIR}/common.sh"

define_test "1 bond, active slaves, link down"

setup_ctdb

iface=$(ctdb_get_1_interface)

setup_bond $iface "" "up" "down"

required_result 1 "ERROR: No active slaves for 802.ad bond device $iface"

simple_test