All of lore.kernel.org
 help / color / mirror / Atom feed
* master - tests: LV's zero field now reported as binary field
@ 2014-07-10 13:30 Peter Rajnoha
  0 siblings, 0 replies; only message in thread
From: Peter Rajnoha @ 2014-07-10 13:30 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=1e5ec893c7d9cf243a6ecb17ed6320d37e9a147c
Commit:        1e5ec893c7d9cf243a6ecb17ed6320d37e9a147c
Parent:        e2448bb0dcfa63b2a8fae24b989393a821917120
Author:        Peter Rajnoha <prajnoha@redhat.com>
AuthorDate:    Thu Jul 10 15:30:28 2014 +0200
Committer:     Peter Rajnoha <prajnoha@redhat.com>
CommitterDate: Thu Jul 10 15:30:28 2014 +0200

tests: LV's zero field now reported as binary field

---
 test/shell/profiles-thin.sh |    6 +++---
 test/shell/thin-defaults.sh |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/test/shell/profiles-thin.sh b/test/shell/profiles-thin.sh
index 704ef2d..3519985 100644
--- a/test/shell/profiles-thin.sh
+++ b/test/shell/profiles-thin.sh
@@ -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 ""
diff --git a/test/shell/thin-defaults.sh b/test/shell/thin-defaults.sh
index 4f873cc..3a681a1 100644
--- a/test/shell/thin-defaults.sh
+++ b/test/shell/thin-defaults.sh
@@ -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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-07-10 13:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-10 13:30 master - tests: LV's zero field now reported as binary field Peter Rajnoha

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.