]> sourceware.org Git - lvm2.git/commitdiff
test: process-each-duplicate-pvs
authorDavid Teigland <teigland@redhat.com>
Wed, 11 May 2016 14:35:07 +0000 (09:35 -0500)
committerDavid Teigland <teigland@redhat.com>
Wed, 11 May 2016 14:35:42 +0000 (09:35 -0500)
skip on RHEL5 where DEV_USED_FOR_LV doesn't work
because it depends on a newer bit of sysfs.

test/shell/process-each-duplicate-pvs.sh

index 41d844d6de9b8620cf836f27565643cdbc3d376e..9ab98dc75631b49c7e656ae662f0a5a2c6822bc0 100644 (file)
@@ -15,6 +15,11 @@ SKIP_WITH_CLVMD=1
 
 aux prepare_devs 6 16
 
+# The LV-using-PV tests (DEV_USED_FOR_LV, where a PV is
+# preferred if an active LV is using it) depend on sysfs
+# info that is not available in RHEL5 kernels.
+aux driver_at_least 4 15 || skip
+
 aux lvmconf 'devices/allow_changes_with_duplicate_pvs = 0'
 
 pvcreate "$dev1"
This page took 0.039098 seconds and 5 git commands to generate.