From: David Teigland Date: Wed, 11 May 2016 14:35:07 +0000 (-0500) Subject: test: process-each-duplicate-pvs X-Git-Tag: v2_02_154~5 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=f3d508630d7acdd638afae700973f1d68e43cbcc;p=lvm2.git test: process-each-duplicate-pvs skip on RHEL5 where DEV_USED_FOR_LV doesn't work because it depends on a newer bit of sysfs. --- diff --git a/test/shell/process-each-duplicate-pvs.sh b/test/shell/process-each-duplicate-pvs.sh index 41d844d6d..9ab98dc75 100644 --- a/test/shell/process-each-duplicate-pvs.sh +++ b/test/shell/process-each-duplicate-pvs.sh @@ -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"