stable-2.02 - tests: set scan_lvs=1 in tests that stack PVs on LVs
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=7f56908c2beb6161256af4ccdbeaf86309a9b6cf Commit: 7f56908c2beb6161256af4ccdbeaf86309a9b6cf Parent: 427e8ba3e3186e291ff26f014003d149da6ec2a8 Author: David Teigland <[email protected]> AuthorDate: Wed Feb 20 13:31:30 2019 -0600 Committer: David Teigland <[email protected]> CommitterDate: Wed Feb 20 14:32:01 2019 -0600
tests: set scan_lvs=1 in tests that stack PVs on LVs
--- test/shell/discards-thin.sh | 2 ++ test/shell/lvconvert-thin.sh | 2 ++ test/shell/lvcreate-large-raid10.sh | 1 + test/shell/lvcreate-large.sh | 2 ++ test/shell/pvcreate-restore.sh | 2 ++ test/shell/pvremove-thin.sh | 2 ++ test/shell/snapshot-remove-dmsetup.sh | 2 ++ test/shell/snapshot-usage-exa.sh | 2 ++ test/shell/snapshot-usage.sh | 2 ++ test/shell/vgsplit-stacked.sh | 2 ++ 10 files changed, 19 insertions(+), 0 deletions(-)
test/shell/discards-thin.sh +2 -0
@@ -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
test/shell/lvconvert-thin.sh +2 -0
@@ -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
test/shell/lvcreate-large-raid10.sh +1 -0
@@ -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
test/shell/lvcreate-large.sh +2 -0
@@ -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
test/shell/pvcreate-restore.sh +2 -0
@@ -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
test/shell/pvremove-thin.sh +2 -0
@@ -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
test/shell/snapshot-remove-dmsetup.sh +2 -0
@@ -19,6 +19,8 @@ SKIP_WITH_LVMPOLLD=1 . lib/inittest +aux lvmconf 'devices/scan_lvs = 1' + which mkfs.ext2 || skip aux prepare_vg 5
test/shell/snapshot-usage-exa.sh +2 -0
@@ -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
test/shell/snapshot-usage.sh +2 -0
@@ -17,6 +17,8 @@ SKIP_WITH_LVMPOLLD=1 . lib/inittest +aux lvmconf 'devices/scan_lvs = 1' + MKFS=mkfs.ext2 which $MKFS || skip
test/shell/vgsplit-stacked.sh +2 -0
@@ -15,6 +15,8 @@ SKIP_WITH_LVMPOLLD=1 . lib/inittest +aux lvmconf 'devices/scan_lvs = 1' + aux extend_filter_LVMTEST aux prepare_pvs 3