1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00
samba-mirror/ctdb/tests/eventscripts/20.multipathd.monitor.004.sh

16 lines
305 B
Bash
Raw Normal View History

#!/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