Skip to contentSkip to conversation

master - tests: fix last commit

PATCH Zdenek Kabelac 1 participant 1 message Oct 17, 2013

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=d9e44112c53cad296858f5f796add99441a4b2ae
Commit:        d9e44112c53cad296858f5f796add99441a4b2ae
Parent:        66f4698a93c6cc7d0fb027c5e4209b1de6a880ef
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Oct 17 16:59:30 2013 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Oct 17 16:59:30 2013 +0200

tests: fix last commit

It must not fail here during execution, so always check in a way that '||' is used for call of settle.

---
 test/lib/utils.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/lib/utils.sh +1 -1
index 8311c4c..c3bd533 100644
@@ -215,4 +215,4 @@ esac
 
 test -z "$PREFIX" || prepare_test_vars
 
-test -e /sbin/udevsettle && pidof udevd >/dev/null && /sbin/udevsettle
+test ! -e /sbin/udevsettle || if pidof udevd >/dev/null; then /sbin/udevsettle ; fi