mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
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.
This commit is contained in:
parent
5c18b0ce9c
commit
f3d508630d
@ -15,6 +15,11 @@ SKIP_WITH_CLVMD=1
|
|||||||
|
|
||||||
aux prepare_devs 6 16
|
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'
|
aux lvmconf 'devices/allow_changes_with_duplicate_pvs = 0'
|
||||||
|
|
||||||
pvcreate "$dev1"
|
pvcreate "$dev1"
|
||||||
|
Loading…
Reference in New Issue
Block a user