1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

tests: update seg_size_pe

Default prepare_vg uses 512K - so update test accordingly
This commit is contained in:
Zdenek Kabelac 2016-12-12 11:49:26 +01:00
parent 3dd6e2c7e1
commit 75ec7c8dee
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ lvextend -L+1 $vg/$lv1
check lv_field $vg/$lv1 lv_modules "error"
check lv_field $vg/$lv1 segtype "error"
check lv_field $vg/$lv1 seg_count "1"
check lv_field $vg/$lv1 seg_size_pe "8" # 8 * 256
check lv_field $vg/$lv1 seg_size_pe "4" # 4 * 512 => 2M
# FIXME should we print info we are ignoring stripping?
lvextend -L+1 -I64 -i2 $vg/$lv1

View File

@ -32,6 +32,6 @@ test "$sum1" = "$sum2"
check lv_field $vg/$lv1 lv_modules "zero"
check lv_field $vg/$lv1 segtype "zero"
check lv_field $vg/$lv1 seg_count "1"
check lv_field $vg/$lv1 seg_size_pe "8" # 8 * 256
check lv_field $vg/$lv1 seg_size_pe "4" # 4 * 512
vgremove -ff $vg