master - test: process-each-duplicate-pvs
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=f3d508630d7acdd638afae700973f1d68e43cbcc Commit: f3d508630d7acdd638afae700973f1d68e43cbcc Parent: 5c18b0ce9c5e4f94cce83a98cb2d996875cfa812 Author: David Teigland <[email protected]> AuthorDate: Wed May 11 09:35:07 2016 -0500 Committer: David Teigland <[email protected]> CommitterDate: Wed May 11 09:35:42 2016 -0500
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.
--- test/shell/process-each-duplicate-pvs.sh | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
test/shell/process-each-duplicate-pvs.sh +5 -0
@@ -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"