mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: for 4.18 use already 1.20 logic
Looks like there was some missed versioning increase during devel. So with kernel >= 4.18 version 1.19 is enough to look like 1.20 However backported 1.19 targets seems to not provide all the capabilities.
This commit is contained in:
parent
f07a793813
commit
37d603268f
@ -98,7 +98,10 @@ not lvcreate -V10 -n $lv3 $vg/pool
|
||||
lvs -ao+seg_pe_ranges $vg
|
||||
|
||||
# needs_check needs newer version
|
||||
if aux have_thin 1 20 0 ; then
|
||||
THINMINVER="1 20 0"
|
||||
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
|
||||
check lv_attr_bit state $vg/pool "a"
|
||||
|
||||
dmsetup suspend $vg-pool-tpool
|
||||
|
Loading…
Reference in New Issue
Block a user