summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/UNIT/eventscripts/20.multipathd.monitor.004.sh
blob: a655b83ebfbfa72ed09e1ba514afac13ea1b8eae (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 "3 multipath devices configure to check, multipath hangs"

setup "mpatha"  "!mpathb"  "mpathc"
export FAKE_MULTIPATH_HANG="yes"

required_result 1 <<EOF
ERROR: callout to multipath checks hung
multipath monitoring failed
EOF

simple_test