[lvm-devel] master - tests: add inactive pool creation test
Zdenek Kabelac
zkabelac at fedoraproject.org
Tue Mar 11 23:34:27 UTC 2014
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=dd690d5fd1253d7559d43c60194ec0139d426d79
Commit: dd690d5fd1253d7559d43c60194ec0139d426d79
Parent: 4cc5c689b8600fa8490b2f1d60e483362b10c700
Author: Zdenek Kabelac <zkabelac at redhat.com>
AuthorDate: Wed Mar 12 00:25:59 2014 +0100
Committer: Zdenek Kabelac <zkabelac at redhat.com>
CommitterDate: Wed Mar 12 00:25:59 2014 +0100
tests: add inactive pool creation test
---
test/shell/lvcreate-thin.sh | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/test/shell/lvcreate-thin.sh b/test/shell/lvcreate-thin.sh
index 721f3d1..cfa605e 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
More information about the lvm-devel
mailing list