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

tests: fix unfinished check for 4.18 kernel

This commit is contained in:
Zdenek Kabelac 2021-03-28 00:16:54 +01:00
parent f584f0cd9e
commit afbaab20c7

View File

@ -99,9 +99,9 @@ lvs -ao+seg_pe_ranges $vg
# needs_check needs newer version # needs_check needs newer version
THINMINVER="1 20 0" THINMINVER="1 20 0"
aux kernel_at_least 4.18 && THINMINVER="1 19 0" # kernel >=4.18 already had changes from 1.20 aux kernel_at_least 4 18 && THINMINVER="1 19 0" # kernel >=4.18 already had changes from 1.20
if aux have_thin $THINVER ; then if aux have_thin $THINMINVER ; then
check lv_attr_bit state $vg/pool "a" check lv_attr_bit state $vg/pool "a"
dmsetup suspend $vg-pool-tpool dmsetup suspend $vg-pool-tpool