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

tests: accept new vdoformat output

There is slight change in the printed size number.
This commit is contained in:
Zdenek Kabelac 2024-05-27 22:16:22 +02:00
parent 2c8ff67470
commit c14e0282ec

View File

@ -41,7 +41,8 @@ lvcreate --type vdo -L4G -n $lv1 $vg/$lv2 >out 2>&1
# new vdoformat prints some more info
if grep "data slabs" out ; then
# check we have match vdo_slab_size_mb == 128MB (aux.sh)
grep "each 128 MB" out
# accept new & old vdoformat line (128.00 MB & 128 MB)
grep -E "each 128.*MB" out
fi
check lv_field $vg/$lv1 size "<1.24g"