Skip to contentSkip to conversation

master - TEST: Only run the pvscan --cache test with lvmetad active.

PATCH Petr Rockai 1 participant 1 message Oct 8, 2012

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=0dfafd77d4c5682ac9ee37f3a2a4dce92659187c
Commit:        0dfafd77d4c5682ac9ee37f3a2a4dce92659187c
Parent:        e7020732354eef05e3e1bda9c5bdf49788e49130
Author:        Petr Rockai <[email protected]>
AuthorDate:    Mon Oct 8 07:23:13 2012 +0200
Committer:     Petr Rockai <[email protected]>
CommitterDate: Mon Oct 8 07:23:13 2012 +0200

TEST: Only run the pvscan --cache test with lvmetad active.

---
 test/shell/lvmetad-pvscan-cache.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
test/shell/lvmetad-pvscan-cache.sh +2 -0
index be95b38..a27b6ad 100644
@@ -11,6 +11,8 @@
 
 . lib/test
 
+test -e LOCAL_LVMETAD || skip
+
 aux prepare_pvs 2
 
 vgcreate $vg1 $dev1 $dev2