Skip to contentSkip to conversation

master - test: vgsplit-usage if LVM1 tests

PATCH David Teigland 1 participant 1 message Apr 23, 2018

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=ae093df3f15f6d125bf85ed921e5a971b170dc23
Commit:        ae093df3f15f6d125bf85ed921e5a971b170dc23
Parent:        d75aa557845e37f5c4b90ca43c81943bd9b90094
Author:        David Teigland <[email protected]>
AuthorDate:    Thu Feb 15 10:00:07 2018 -0600
Committer:     David Teigland <[email protected]>
CommitterDate: Fri Apr 20 11:22:46 2018 -0500

test: vgsplit-usage if LVM1 tests

---
 test/shell/vgsplit-usage.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
test/shell/vgsplit-usage.sh +2 -0
index 98818ab..a112e86 100644
@@ -184,6 +184,7 @@ check pvlv_counts $vg1 2 1 0
 vgremove -f $vg1
 
 # vgsplit rejects split because metadata types differ
+if test -n "$LVM_TEST_LVM1" ; then
 pvcreate -ff -M1 "$dev3" "$dev4"
 pvcreate -ff "$dev1" "$dev2"
 vgcreate -M1 $vg1 "$dev3" "$dev4"
@@ -192,3 +193,4 @@ not vgsplit $vg1 $vg2 "$dev3" 2>err;
 grep "Metadata types differ" err
 vgremove -f $vg1 $vg2
 fi
+fi