Skip to contentSkip to conversation

master - tests: lvm-wrapper.sh legacy syntax

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=b442861f50eee6e571143fc8b62131be13e7aa91
Commit:        b442861f50eee6e571143fc8b62131be13e7aa91
Parent:        b1f80512c8965087fd77284078385afc689e845f
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Jun 29 10:02:36 2017 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Jun 29 22:23:17 2017 +0200

tests: lvm-wrapper.sh legacy syntax

---
 test/lib/lvm-wrapper.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/lib/lvm-wrapper.sh +1 -1
index 41fbec9..129cafe 100644
@@ -48,6 +48,6 @@ esac
 if test -n "$abs_top_builddir"; then
     exec $RUN_DBG "$abs_top_builddir/tools/lvm" $CMD "$@"
 else # we are testing the lvm on $PATH
-    PATH=`echo $PATH | sed -e s,[^:]*lvm2-testsuite[^:]*:,,g`
+    PATH=$(echo "$PATH" | sed -e s,[^:]*lvm2-testsuite[^:]*:,,g)
     exec $RUN_DBG lvm $CMD "$@"
 fi