Skip to contentSkip to conversation

master - tests: lvm-wrapper.sh double quote

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

tests: lvm-wrapper.sh double quote

---
 test/lib/lvm-wrapper.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
test/lib/lvm-wrapper.sh +2 -2
index 8a5323b..41fbec9 100644
@@ -33,9 +33,9 @@ fi
 
 case "$CMD" in
   lvs|pvs|vgs|vgck|vgscan)
-	test ${LVM_DEBUG_LEVEL:-0} -lt 2 && RUN_DBG= ;;
+	test "${LVM_DEBUG_LEVEL:-0}" -lt 2 && RUN_DBG= ;;
   pvcreate|pvremove|lvremove|vgcreate|vgremove)
-	test ${LVM_DEBUG_LEVEL:-0} -lt 1 && RUN_DBG= ;;
+	test "${LVM_DEBUG_LEVEL:-0}" -lt 1 && RUN_DBG= ;;
 esac
 
 # Capture parallel users of debug.log file