Commit 87317c26 authored by Pavel Emelyanov's avatar Pavel Emelyanov

zdtm: Allow to specify more than one exclude pattern

We sometimes want to exclude several tests from run. Writing
expression with \-s is annoying. Let's make it possible to
do several -x's instead.
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent ae98ef6a
......@@ -693,7 +693,11 @@ while :; do
;;
-x)
shift
EXCLUDE_PATTERN=$1
if [ -z "$EXCLUDE_PATTERN" ]; then
EXCLUDE_PATTERN=$1
else
EXCLUDE_PATTERN="${EXCLUDE_PATTERN}\|$1"
fi
shift
;;
-t)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment