summaryrefslogtreecommitdiff
path: root/test/shell/vgreduce-usage.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/shell/vgreduce-usage.sh')
-rw-r--r--test/shell/vgreduce-usage.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/shell/vgreduce-usage.sh b/test/shell/vgreduce-usage.sh
index 7feed2dce..37a27a085 100644
--- a/test/shell/vgreduce-usage.sh
+++ b/test/shell/vgreduce-usage.sh
@@ -16,7 +16,13 @@ SKIP_WITH_LVMPOLLD=1
aux prepare_devs 4
-for mdatype in 1 2
+if test -n "$LVM_TEST_LVM1" ; then
+mdatypes='1 2'
+else
+mdatypes='2'
+fi
+
+for mdatype in $mdatypes
do
# setup PVs
pvcreate -M$mdatype "$dev1" "$dev2"