From dd690d5fd1253d7559d43c60194ec0139d426d79 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Wed, 12 Mar 2014 00:25:59 +0100 Subject: [PATCH] tests: add inactive pool creation test --- 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 721f3d1e9..cfa605ecf 100644 --- a/test/shell/lvcreate-thin.sh +++ b/test/shell/lvcreate-thin.sh @@ -173,7 +173,9 @@ not lvcreate --chunksize 32 -l1 -T $vg/pool1 # Too large chunk size (max is 1GB) not lvcreate -L4M --chunksize 2G -T $vg/pool1 -lvcreate -L4M -V2G --name lv1 -T $vg/pool1 +# Test creation of inactive pool +lvcreate -an -L4M -T $vg/pool1 +lvcreate -V2G --name lv1 -T $vg/pool1 # Origin name is not accepted not lvcreate -s $vg/lv1 -L4M -V2G --name $vg/lv4