From 5ac9f8d631cc6b340f4d3ad2cc35021e42d36ef6 Mon Sep 17 00:00:00 2001 From: David Teigland Date: Wed, 23 May 2018 12:56:33 -0500 Subject: [PATCH] tests: fix skipping logic for lvmpolld and lvmlockd --- test/lib/inittest.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/lib/inittest.sh b/test/lib/inittest.sh index 5e900c086..c48ea132d 100644 --- a/test/lib/inittest.sh +++ b/test/lib/inittest.sh @@ -59,7 +59,7 @@ test -n "$SKIP_WITH_CLVMD" && test "$LVM_TEST_LOCKING" = 3 && initskip test -n "$SKIP_WITHOUT_LVMETAD" && test -z "$LVM_TEST_LVMETAD" && initskip test -n "$SKIP_WITH_LVMETAD" && test -n "$LVM_TEST_LVMETAD" && initskip -test -n "$SKIP_WITH_LVMPOLLD" && test -n "$LVM_TEST_LVMPOLLD" && initskip +test -n "$SKIP_WITH_LVMPOLLD" && test -n "$LVM_TEST_LVMPOLLD" && test -z "$LVM_TEST_LVMLOCKD" && initskip test -n "$SKIP_WITH_LVMLOCKD" && test -n "$LVM_TEST_LVMLOCKD" && initskip @@ -172,6 +172,8 @@ test -n "$LVM_TEST_LVMPOLLD" && { aux prepare_lvmpolld } +export SHARED="" + if test -n "$LVM_TEST_LVMLOCKD" ; then if test -n "$LVM_TEST_LOCK_TYPE_SANLOCK" ; then aux lvmconf 'local/host_id = 1'