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

. "${TEST_SCRIPTS_DIR}/unit.sh"

define_test "1 bond, active slaves, link down"

setup

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