1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/ctdb/tests/eventscripts/20.multipathd.monitor.003.sh
Martin Schwenke 0bc1b4b27e ctdb-tests: 20.multipathd event script setup modularisation
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2018-03-28 02:57:19 +02:00

15 lines
267 B
Bash
Executable File

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