mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
ctdb-tests: 20.multipathd.sh 80 column fixups
Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
4430e22d0c
commit
b526968bcf
@ -1,18 +1,21 @@
|
||||
setup_multipathd ()
|
||||
{
|
||||
_failures=""
|
||||
_devices=""
|
||||
for i ; do
|
||||
case "$i" in
|
||||
\!*)
|
||||
_t="${i#!}"
|
||||
echo "Marking ${_t} as having no active paths"
|
||||
FAKE_MULTIPATH_FAILURES="${FAKE_MULTIPATH_FAILURES}${FAKE_MULTIPATH+FAILURES:+ }${_t}"
|
||||
_failures="${_failures}${_failures:+ }${_t}"
|
||||
;;
|
||||
*)
|
||||
_t="$i"
|
||||
esac
|
||||
CTDB_MONITOR_MPDEVICES="${CTDB_MONITOR_MPDEVICES}${CTDB_MONITOR_MPDEVICES:+ }${_t}"
|
||||
_devices="${_devices}${_devices:+ }${_t}"
|
||||
done
|
||||
|
||||
export CTDB_MONITOR_MPDEVICES FAKE_MULTIPATH_FAILURES
|
||||
export CTDB_MONITOR_MPDEVICES="$_devices"
|
||||
export FAKE_MULTIPATH_FAILURES="$_failures"
|
||||
export FAKE_SLEEP_FORCE=0.1
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user