Skip to contentSkip to conversation

master - tests: apostrof

PATCH Zdenek Kabelac 1 participant 1 message Dec 5, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=3f6ade4b0d5901bb01bcbdfdb926823415a01703
Commit:        3f6ade4b0d5901bb01bcbdfdb926823415a01703
Parent:        022d3af06853ba4e627e098ac04ef1a8f9806edc
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Mon Nov 28 17:36:43 2016 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Mon Dec 5 17:12:42 2016 +0100

tests: apostrof

---
 test/lib/aux.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
test/lib/aux.sh +2 -2
index e4c3780..7f3c84a 100644
@@ -322,9 +322,9 @@ prepare_lvmdbusd() {
 		# Setup the python path so we can run
 		export PYTHONPATH=$abs_top_builddir/daemons
 	else
-		daemon="$(which lvmdbusd || :)"
+		daemon=$(which lvmdbusd || :)
 	fi
-	[[ -n $daemon && -x $daemon ]] || skip "The daemon is missing"
+	[[ -n "$daemon" && -x "$daemon" ]] || skip "The daemon is missing"
 	which python3 >/dev/null || skip "Missing python3"
 
 	python3 -c "import pyudev, dbus, gi.repository" || skip "Missing python modules"