mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: LV's zero field now reported as binary field
This commit is contained in:
parent
e2448bb0dc
commit
1e5ec893c7
@ -34,7 +34,7 @@ vgcreate $vg "$dev1"
|
||||
lvcreate -L8m -T $vg/pool_generic
|
||||
check lv_field $vg/pool_generic profile ""
|
||||
check lv_field $vg/pool_generic chunk_size 64.00k
|
||||
check lv_field $vg/pool_generic zero 1
|
||||
check lv_field $vg/pool_generic zero "zero"
|
||||
|
||||
# If "thin-performance" profile is used, the "performance"
|
||||
# policy is used to calculate chunk size which is 512KiB
|
||||
@ -44,7 +44,7 @@ check lv_field $vg/pool_generic zero 1
|
||||
lvcreate --profile thin-performance -L8m -T $vg/pool_performance
|
||||
check lv_field $vg/pool_performance profile "thin-performance"
|
||||
check lv_field $vg/pool_performance chunk_size 1.00m
|
||||
check lv_field $vg/pool_performance zero 0
|
||||
check lv_field $vg/pool_performance zero ""
|
||||
|
||||
vgremove -ff $vg
|
||||
|
||||
@ -56,4 +56,4 @@ lvcreate -L8m -T $vg/pool_performance_inherited
|
||||
check vg_field $vg profile "thin-performance"
|
||||
check lv_field $vg/pool_performance_inherited profile ""
|
||||
check lv_field $vg/pool_performance_inherited chunk_size 1.00m
|
||||
check lv_field $vg/pool_performance_inherited zero 0
|
||||
check lv_field $vg/pool_performance_inherited zero ""
|
||||
|
@ -30,6 +30,6 @@ lvcreate -T -L8M $vg/pool1
|
||||
|
||||
check lv_field $vg/pool1 chunksize "128.00k"
|
||||
check lv_field $vg/pool1 discards "ignore"
|
||||
check lv_field $vg/pool1 zero 0
|
||||
check lv_field $vg/pool1 zero ""
|
||||
|
||||
vgremove -f $vg
|
||||
|
Loading…
Reference in New Issue
Block a user