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:
parent
427e8ba3e3
commit
7f56908c2b
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -19,6 +19,8 @@ SKIP_WITH_LVMPOLLD=1
|
||||
|
||||
. lib/inittest
|
||||
|
||||
aux lvmconf 'devices/scan_lvs = 1'
|
||||
|
||||
which mkfs.ext2 || skip
|
||||
|
||||
aux prepare_vg 5
|
||||
|
@ -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
|
||||
|
@ -17,6 +17,8 @@ SKIP_WITH_LVMPOLLD=1
|
||||
|
||||
. lib/inittest
|
||||
|
||||
aux lvmconf 'devices/scan_lvs = 1'
|
||||
|
||||
MKFS=mkfs.ext2
|
||||
which $MKFS || skip
|
||||
|
||||
|
@ -15,6 +15,8 @@ SKIP_WITH_LVMPOLLD=1
|
||||
|
||||
. lib/inittest
|
||||
|
||||
aux lvmconf 'devices/scan_lvs = 1'
|
||||
|
||||
aux extend_filter_LVMTEST
|
||||
aux prepare_pvs 3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user