summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2017-06-29 10:38:06 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2017-06-29 22:23:17 +0200
commit32be18959d7899822d80c715fd271410f05462f1 (patch)
treeb9ec24c295ec56b5e4cc7dd554f4a58641795b4f
parentb45ca523ecbba006d2982ae085140c69edbe084e (diff)
downloadlvm2-32be18959d7899822d80c715fd271410f05462f1.tar.gz
tests: inittest.sh double quote and mixing string
-rw-r--r--test/lib/inittest.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lib/inittest.sh b/test/lib/inittest.sh
index b75eddc58..f959b7174 100644
--- a/test/lib/inittest.sh
+++ b/test/lib/inittest.sh
@@ -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