Skip to contentSkip to conversation

master - tests: utils.sh no mixed string array

PATCH Zdenek Kabelac 1 participant 1 message Jun 29, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=00957450ebc08f82382eccef78ce405eeb4461fa
Commit:        00957450ebc08f82382eccef78ce405eeb4461fa
Parent:        c396053955c6481cfc753f498af9a61202ce2d91
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Jun 29 10:14:59 2017 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Jun 29 22:23:17 2017 +0200

tests: utils.sh no mixed string array

Argument mixes string and array. Use * or separate argument.

---
 test/lib/utils.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/lib/utils.sh +1 -1
index c15eef3..fa072ba 100644
@@ -223,7 +223,7 @@ skip() {
 	if test "$#" -eq 0; then
 		stacktrace
 	else
-		echo "TEST SKIPPED: $@"
+		echo "TEST SKIPPED:" "$@"
 	fi
 	touch SKIP_THIS_TEST
 	exit 200