1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/ctdb/tests/eventscripts/20.multipathd.monitor.004.sh
Martin Schwenke 05f5fe9179 tests/eventscripts: New tests for 20.multipathd
Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit 212d4b201c30804f69cffe4b7150d4b74bf2e54f)
2013-10-22 14:34:04 +11:00

16 lines
305 B
Bash
Executable File

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