summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/eventscripts/20.multipathd.monitor.004.sh
blob: 5f45c73c5a83ff86534c703908a01976ace3e9f9 (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_multipathd "mpatha"  "!mpathb"  "mpathc"
export FAKE_MULTIPATH_HANG="yes"

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

simple_test