Skip to contentSkip to conversation

main - tests: use prefix for VG name

PATCH Zdenek Kabelac 1 participant 1 message Mar 23, 2021

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=d0644fb2c346414ae138369557bbd898d5feac6f
Commit:        d0644fb2c346414ae138369557bbd898d5feac6f
Parent:        712f7dfb4cdb729609de230e41255c5af0526860
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Tue Mar 23 14:38:54 2021 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Tue Mar 23 14:38:54 2021 +0100

tests: use prefix for VG name

---
 test/shell/losetup-partscan.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
test/shell/losetup-partscan.sh +2 -2
index 98b2677f8..aa752064c 100644
@@ -37,7 +37,7 @@ aux extend_filter "a|$LOOP|"
 
 # creation should fail for 'partitioned' loop device
 not pvcreate -y "$LOOP"
-not vgcreate $SHARED vg "$LOOP"
+not vgcreate $SHARED ${PREFIX}vg "$LOOP"
 
 aux teardown_devs
 
@@ -61,4 +61,4 @@ aux extend_filter "a|$LOOP|"
 # creation should pass for 'non-partitioned' loop device
 pvcreate -y "$LOOP"
 
-vgcreate $SHARED vg "$LOOP"
+vgcreate $SHARED ${PREFIX}vg "$LOOP"