1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

tests: skip part of test

On kernel 4.8 this test piece oopses machine (fc23).
This commit is contained in:
Zdenek Kabelac 2018-11-18 22:01:27 +01:00 committed by David Teigland
parent d379754b44
commit 8955c1b4e5

View File

@ -244,9 +244,16 @@ lvremove -ff $vg
###########################################
aux delay_dev "$dev2" 0 100
lvcreate --type raid1 -m 2 -aey -l 2 -n $lv1 $vg "$dev1" "$dev2" "$dev3"
case "$(uname -r)" in
4.8.14*)
echo "Skippen test that kills this kernel"
;;
*)
lvconvert --yes -m 1 $vg/$lv1 "$dev3"
lvconvert --yes -m 0 $vg/$lv1 "$dev1"
aux enable_dev "$dev2"
;;
esac
lvremove -ff $vg
###########################################