Skip to contentSkip to conversation

master - tests: using prepare_vg

PATCH Zdenek Kabelac 1 participant 1 message Jul 10, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=d23a475c98fae1a24111a0b4667bdaf5166ccde2
Commit:        d23a475c98fae1a24111a0b4667bdaf5166ccde2
Parent:        dafeb0274acae432054faf729510133780db9439
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Sun Jul 9 15:55:10 2017 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Mon Jul 10 14:23:53 2017 +0200

tests: using prepare_vg

---
 test/shell/lvmetad-dump.sh |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
test/shell/lvmetad-dump.sh +4 -5
index 3260b73..8c9e74f 100644
@@ -16,12 +16,11 @@ SKIP_WITH_LVMPOLLD=1
 
 . lib/inittest
 
-aux prepare_pvs 2
-vgcreate $vg1 "$dev1" "$dev2"
-lvcreate -n bar -l 1 $vg1
+aux prepare_vg 2
+lvcreate -n bar -l 1 $vg
 
 aux lvmetad_dump | tee lvmetad.txt
 
-grep $vg1 lvmetad.txt
+grep $vg lvmetad.txt
 
-vgremove -ff $vg1
+vgremove -ff $vg