1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-21 22:04:19 +03:00

tests: Skip test killing kernel

Fix the pattern and for now skip all RHEL-8.4 kernels

Bug 1916891
This commit is contained in:
Marian Csontos 2021-03-10 15:50:35 +01:00
parent 6097dfb9ad
commit d4293b579d

View File

@ -22,7 +22,11 @@ which mkfs.ext4 || skip
aux have_raid 1 13 2 || skip
case "$(uname -r)" in
5.[891]*|3.10.0-862*|4.18.0-283.el8) die "Cannot run this test on unfixed kernel." ;;
5.[891]*|3.10.0-862*) die "Cannot run this test on unfixed kernel." ;;
4.18.0-*.el8*)
REL="$(uname -r)"
REL="${REL#4.18.0-}"
[[ "${REL%%.*}" -lt 283 ]] || die "Cannot run this test on unfixed kernel." ;;
esac
mount_dir="mnt"