1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/ctdb/tests/eventscripts/20.multipathd.monitor.003.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

15 lines
278 B
Bash
Executable File

#!/bin/sh
. "${TEST_SCRIPTS_DIR}/unit.sh"
define_test "3 multipath devices configure to check, one down"
setup_multipathd "mpatha" "!mpathb" "mpathc"
required_result 1 <<EOF
ERROR: multipath device "mpathb" has no active paths
multipath monitoring failed
EOF
simple_test