Skip to contentSkip to conversation

master - tests: inittest.sh double quote and mixing string

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=32be18959d7899822d80c715fd271410f05462f1
Commit:        32be18959d7899822d80c715fd271410f05462f1
Parent:        b45ca523ecbba006d2982ae085140c69edbe084e
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Jun 29 10:38:06 2017 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Jun 29 22:23:17 2017 +0200

tests: inittest.sh double quote and mixing string

---
 test/lib/inittest.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
test/lib/inittest.sh +3 -3
index b75eddc..f959b71 100644
@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
-# Copyright (C) 2011-2015 Red Hat, Inc. All rights reserved.
+# Copyright (C) 2011-2017 Red Hat, Inc. All rights reserved.
 #
 # This copyrighted material is made available to anyone wishing to use,
 # modify, copy, or redistribute it subject to the terms and conditions
@@ -10,7 +10,7 @@
 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
 initskip() {
-	test "$#" -eq 0 || echo "TEST SKIPPED: $@"
+	test "$#" -eq 0 || echo "TEST SKIPPED: " "$@"
 	exit 200
 }
 
@@ -26,7 +26,7 @@ PS4='#${BASH_SOURCE[0]##*/}:${LINENO}+ '
 export TESTNAME PS4
 
 if test -n "$LVM_TEST_FLAVOUR"; then
-	. lib/flavour-$LVM_TEST_FLAVOUR
+	. "lib/flavour-$LVM_TEST_FLAVOUR"
 fi
 
 test -n "$SKIP_WITHOUT_CLVMD" && test "$LVM_TEST_LOCKING" -ne 3 && initskip