Skip to contentSkip to conversation

master - tests: put "" around dev path

PATCH Zdenek Kabelac 1 participant 1 message Apr 8, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=a5b34f0f1bf38807bdbed2855516f9b2ceebf7b7
Commit:        a5b34f0f1bf38807bdbed2855516f9b2ceebf7b7
Parent:        4459413225eaa10278bd47fc33e30b85794ad7f6
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Wed Apr 8 22:43:52 2015 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Wed Apr 8 23:19:37 2015 +0200

tests: put "" around dev path

---
 test/lib/aux.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
test/lib/aux.sh +2 -2
index cc102fe..3232074 100644
@@ -513,8 +513,8 @@ disable_dev() {
 		echo "Disabling device $dev ($maj:$min)"
 		notify="$notify $maj:$min"
 		if test -n "$error"; then
-		    echo 0 10000000 error | dmsetup load $dev
-		    dmsetup resume $dev
+		    echo 0 10000000 error | dmsetup load "$dev"
+		    dmsetup resume "$dev"
 		else
 		    dmsetup remove -f "$dev" 2>/dev/null || true
 		fi