mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
tests: accept new vdoformat output
There is slight change in the printed size number.
This commit is contained in:
parent
2c8ff67470
commit
c14e0282ec
@ -41,7 +41,8 @@ lvcreate --type vdo -L4G -n $lv1 $vg/$lv2 >out 2>&1
|
|||||||
# new vdoformat prints some more info
|
# new vdoformat prints some more info
|
||||||
if grep "data slabs" out ; then
|
if grep "data slabs" out ; then
|
||||||
# check we have match vdo_slab_size_mb == 128MB (aux.sh)
|
# 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
|
fi
|
||||||
|
|
||||||
check lv_field $vg/$lv1 size "<1.24g"
|
check lv_field $vg/$lv1 size "<1.24g"
|
||||||
|
Loading…
Reference in New Issue
Block a user