From fc2e4a7b7078fd0c0467d386af6a47387d5cf06f Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 1 Nov 2024 13:27:20 +0100 Subject: [PATCH] tests: skip test on older version Prevent crashing kernel on older systems. --- test/shell/lvconvert-repair-raid5.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/test/shell/lvconvert-repair-raid5.sh b/test/shell/lvconvert-repair-raid5.sh index e7ce783bb..7f25369c1 100644 --- a/test/shell/lvconvert-repair-raid5.sh +++ b/test/shell/lvconvert-repair-raid5.sh @@ -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 -- 2.43.5