1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

tests: skip test on older version

Prevent crashing kernel on older systems.
This commit is contained in:
Zdenek Kabelac 2024-11-01 13:27:20 +01:00
parent 057314ff8d
commit fc2e4a7b70

View File

@ -15,7 +15,14 @@ SKIP_WITH_LVMPOLLD=1
. lib/inittest
aux have_raid 1 3 0 || skip
# raid5 target version 1.7 is crashing kernel with this test
#
# BUG: unable to handle kernel NULL pointer dereference at 00000000000002f0
# raid5_free+0x15/0x30 [raid456]
#
# So possibly lvm2 needs to check for more things here.
#
aux have_raid 1 8 0 || skip
aux prepare_vg 4
get_devs