master - tests: check.sh no mixing string
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=824db54128ef6831629d86ef3b472164048fc227 Commit: 824db54128ef6831629d86ef3b472164048fc227 Parent: 810f856c2490eb1d5db858f26a26621c4a3477e0 Author: Zdenek Kabelac <[email protected]> AuthorDate: Thu Jun 29 08:40:55 2017 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Thu Jun 29 22:23:17 2017 +0200
tests: check.sh no mixing string
Argument mixes string and array. Use * or separate argument.
--- test/lib/check.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
test/lib/check.sh +2 -2
@@ -237,7 +237,7 @@ in_sync() { return 1 fi - echo "$lvm_name ($type$snap) is in-sync \"${a[@]}\"" + echo "$lvm_name ($type$snap) is in-sync" "${a[@]}" } active() {
@@ -434,7 +434,7 @@ raid_leg_status() { grep_dmsetup() { dmsetup "$1" "$2" | tee out - grep -q "${@:3}" out || die "Expected output \"${@:3}\" from dmsetup $1 not found!" + grep -q "${@:3}" out || die "Expected output \"" "${@:3}" "\" from dmsetup $1 not found!" } #set -x