summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2014-11-04 15:07:40 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2014-11-04 15:29:22 +0100
commitcebbda0931e43097a148bbf2c4b8a1de1c77d9fa (patch)
treefd43653f6a05377af68ae70a3e45569185a511af
parent00a45ca491de21336f8d1d0253344995cea3b4f0 (diff)
downloadlvm2-cebbda0931e43097a148bbf2c4b8a1de1c77d9fa.tar.gz
tests: duplicate update of config
-rw-r--r--test/shell/thin-volume-list.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/shell/thin-volume-list.sh b/test/shell/thin-volume-list.sh
index 31f4034cc..32d13b8e0 100644
--- a/test/shell/thin-volume-list.sh
+++ b/test/shell/thin-volume-list.sh
@@ -22,6 +22,7 @@ aux prepare_vg 2
lvcreate -T -L8M $vg/pool -V10M -n $lv1
+# skip $vg from activation
aux lvmconf "activation/volume_list = [ \"$vg1\" ]"
# We still could pass - since pool is still active
@@ -32,9 +33,6 @@ check inactive $vg $lv2
vgchange -an $vg
-# skip $vg from activation
-aux lvmconf "activation/volume_list = [ \"$vg1\" ]"
-
# Pool is not active - so it cannot create thin volume
not lvcreate -V10 -T $vg/pool