Skip to contentSkip to conversation

master - tests: remove extra vgremove

PATCH Zdenek Kabelac 1 participant 1 message Feb 27, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=a7dc422bde933d2c397f14334d74ae0abacbaccf
Commit:        a7dc422bde933d2c397f14334d74ae0abacbaccf
Parent:        c23cd12023bd18a83ae0f284e69f3b6689d79b37
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Feb 27 14:53:33 2014 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Feb 27 14:53:33 2014 +0100

tests: remove extra vgremove

These vgremove calls were not correct.

---
 test/shell/lvconvert-repair-thin.sh |    2 --
 test/shell/lvmetad-warning.sh       |    2 +-
 2 files changed, 1 insertions(+), 3 deletions(-)
test/shell/lvconvert-repair-thin.sh +0 -2
index 37a24ff..b80b855 100644
@@ -114,5 +114,3 @@ should vgremove -ff  $vg
 # Let's do a final forced cleanup
 pvremove --yes -ff "$dev3"
 pvremove --yes -ff "$dev4"
-
-vgremove -ff $vg
test/shell/lvmetad-warning.sh +1 -1
index 6953165..3fc4cf5 100644
@@ -26,4 +26,4 @@ aux prepare_lvmetad
 lvchange -ay $vg1 2>&1 | not grep "Failed to connect"
 lvchange -ay $vg1 --sysinit 2>&1 | not grep "Failed to connect"
 
-vgremove -ff $vg
+vgremove -ff $vg1