From 847b2aa5b418c80d4fe2fb68dec32e7992416ba0 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 30 Oct 2014 23:18:40 +0100 Subject: [PATCH] tests: thin --- test/shell/lvcreate-thin.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/shell/lvcreate-thin.sh b/test/shell/lvcreate-thin.sh index 733888ea1..0433ac862 100644 --- a/test/shell/lvcreate-thin.sh +++ b/test/shell/lvcreate-thin.sh @@ -239,7 +239,9 @@ aux teardown_devs aux prepare_pvs 10 16500 vgcreate $vg -s 64K $(cat DEVICES) -lvcreate -L4M --chunksize 128 --poolmetadatasize 0 -T $vg/pool1 2>out +# Size 0 is not valid +invalid lvcreate -L4M --chunksize 128 --poolmetadatasize 0 -T $vg/pool1 2>out +lvcreate -L4M --chunksize 128 --poolmetadatasize 16k -T $vg/pool1 2>out grep "WARNING: Minimum" out # FIXME: metadata allocation fails, if PV doesn't have at least 16GB # i.e. pool metadata device cannot be multisegment