summaryrefslogtreecommitdiff
path: root/ctdb/tests/eventscripts/20.multipathd.monitor.003.sh
blob: 0d768a0139e08d0393dc6d2559bf3e78ea72a459 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

. "${TEST_SCRIPTS_DIR}/unit.sh"

define_test "3 multipath devices configure to check, one down"

setup "mpatha"  "!mpathb"  "mpathc"

required_result 1 <<EOF
ERROR: multipath device "mpathb" has no active paths
multipath monitoring failed
EOF

simple_test