Skip to contentSkip to conversation

master - tests: fix check for lvmlockd test

PATCH David Teigland 1 participant 1 message Aug 21, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=ba898b9ab6f02153eb3fa44d1e893f6b49424652
Commit:        ba898b9ab6f02153eb3fa44d1e893f6b49424652
Parent:        d827dd8b053d69adf3cdfa6f3b8071af4b0e3846
Author:        David Teigland <[email protected]>
AuthorDate:    Fri Aug 21 17:00:21 2015 -0500
Committer:     David Teigland <[email protected]>
CommitterDate: Fri Aug 21 17:00:21 2015 -0500

tests: fix check for lvmlockd test

---
 test/shell/lvmlockd-lv-types.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/shell/lvmlockd-lv-types.sh +1 -1
index 79cde22..64c0362 100644
@@ -13,7 +13,7 @@ test_description='Check lvmlockd lock_args for different LV types'
 
 . lib/inittest
 
-test -e LOCAL_LVMLOCKD && skip
+[ -z "$LVM_TEST_LVMLOCKD" ] && skip;
 
 if test -n "$LVM_TEST_LOCK_TYPE_SANLOCK" ; then
 LOCKARGS1="1.0.0:70254592"