1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-25 01:34:38 +03:00

tests: set scan_lvs=1 in tests that stack PVs on LVs

This commit is contained in:
David Teigland 2019-02-20 13:31:30 -06:00
parent 427e8ba3e3
commit 7f56908c2b
10 changed files with 19 additions and 0 deletions

View File

@ -25,6 +25,8 @@ export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}
#
aux have_thin 1 1 0 || skip
aux lvmconf 'devices/scan_lvs = 1'
aux prepare_vg 2 64
get_devs

View File

@ -17,6 +17,8 @@ export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}
. lib/inittest
aux lvmconf 'devices/scan_lvs = 1'
prepare_lvs() {
lvremove -f $vg
lvcreate -L10M -n $lv1 $vg

View File

@ -20,6 +20,7 @@ SKIP_WITH_LVMPOLLD=1
# FIXME update test to make something useful on <16T
aux can_use_16T || skip
aux have_raid 1 3 0 || skip
aux lvmconf 'devices/scan_lvs = 1'
aux prepare_vg 5

View File

@ -17,6 +17,8 @@ SKIP_WITH_LVMPOLLD=1
. lib/inittest
aux lvmconf 'devices/scan_lvs = 1'
# FIXME update test to make something useful on <16T
aux can_use_16T || skip

View File

@ -15,6 +15,8 @@ SKIP_WITH_LVMPOLLD=1
. lib/inittest
aux lvmconf 'devices/scan_lvs = 1'
aux prepare_vg 4
lvcreate --type snapshot -s -L10 -n $lv1 $vg --virtualsize 2T

View File

@ -18,6 +18,8 @@ SKIP_WITH_LVMPOLLD=1
. lib/inittest
aux lvmconf 'devices/scan_lvs = 1'
aux prepare_vg
aux have_thin 1 8 0 || skip

View File

@ -19,6 +19,8 @@ SKIP_WITH_LVMPOLLD=1
. lib/inittest
aux lvmconf 'devices/scan_lvs = 1'
which mkfs.ext2 || skip
aux prepare_vg 5

View File

@ -18,6 +18,8 @@ SKIP_WITH_LVMPOLLD=1
. lib/inittest
aux lvmconf 'devices/scan_lvs = 1'
aux can_use_16T || skip
aux prepare_pvs 1

View File

@ -17,6 +17,8 @@ SKIP_WITH_LVMPOLLD=1
. lib/inittest
aux lvmconf 'devices/scan_lvs = 1'
MKFS=mkfs.ext2
which $MKFS || skip

View File

@ -15,6 +15,8 @@ SKIP_WITH_LVMPOLLD=1
. lib/inittest
aux lvmconf 'devices/scan_lvs = 1'
aux extend_filter_LVMTEST
aux prepare_pvs 3