summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/eventscripts/10.interface.monitor.005.sh
blob: 8cf7bbc9c0a0eb47749aa7cf8a4b42d310d52905 (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, no active slaves"

setup_ctdb

iface=$(ctdb_get_1_interface)

setup_bond $iface "None"

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

simple_test