master - tests: use more SKIP
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=4159680a0ee7eceb4d5124c1e4e78b418b12f357 Commit: 4159680a0ee7eceb4d5124c1e4e78b418b12f357 Parent: 76cff10a734a7c1e26b3835ff967dac0b7e46bcb Author: Zdenek Kabelac <[email protected]> AuthorDate: Tue Oct 27 15:10:06 2015 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Tue Oct 27 16:00:09 2015 +0100
tests: use more SKIP
Speed-up check_lvmpolld.
--- test/api/lvtest.sh | 2 ++ test/api/pe_start.sh | 2 ++ test/api/percent.sh | 2 ++ test/api/pytest.sh | 10 +++++----- test/api/thin_percent.sh | 2 ++ test/api/vglist.sh | 2 ++ test/shell/000-basic.sh | 4 ++-- test/shell/covercmd.sh | 4 ++-- test/shell/discards-thin.sh | 4 ++-- test/shell/dmeventd-restart.sh | 4 ++-- test/shell/dumpconfig.sh | 4 ++-- test/shell/error-usage.sh | 4 ++-- test/shell/fsadm.sh | 3 +-- test/shell/inconsistent-metadata.sh | 4 ++-- test/shell/listings.sh | 4 ++-- test/shell/lock-blocking.sh | 5 ++--- test/shell/lock-parallel.sh | 4 ++-- test/shell/lvchange-cache.sh | 4 ++-- test/shell/lvchange-mirror.sh | 9 ++++----- test/shell/lvchange-partial-raid10.sh | 4 ++-- test/shell/lvchange-partial.sh | 4 ++-- test/shell/lvchange-raid.sh | 2 ++ test/shell/lvchange-raid10.sh | 2 -- test/shell/lvchange-raid456.sh | 2 -- test/shell/lvchange-syncaction-raid.sh | 4 ++-- test/shell/lvchange-thin.sh | 4 ++-- test/shell/lvconvert-cache-raid.sh | 4 ++-- test/shell/lvconvert-cache-smq.sh | 4 ++-- test/shell/lvconvert-cache-thin.sh | 4 ++-- test/shell/lvconvert-cache.sh | 4 ++-- test/shell/lvconvert-raid-allocation.sh | 4 ++-- test/shell/lvconvert-raid.sh | 5 +++-- test/shell/lvconvert-raid10.sh | 4 ++-- test/shell/lvconvert-raid456.sh | 4 ++-- test/shell/lvconvert-repair-dmeventd.sh | 4 ++-- test/shell/lvconvert-repair-raid-dmeventd.sh | 4 ++-- test/shell/lvconvert-repair-raid.sh | 4 ++-- test/shell/lvconvert-repair-snapshot.sh | 4 ++-- test/shell/lvconvert-repair-thin-raid.sh | 3 ++- test/shell/lvconvert-repair-thin.sh | 4 ++-- test/shell/lvconvert-repair-transient-dmeventd.sh | 4 ++-- test/shell/lvconvert-repair-transient.sh | 4 ++-- test/shell/lvconvert-snapshot.sh | 4 ++-- test/shell/lvconvert-thin-external.sh | 4 ++-- test/shell/lvconvert-thin-raid.sh | 4 ++-- test/shell/lvconvert-thin.sh | 4 ++-- test/shell/lvcreate-cache-raid.sh | 4 ++-- test/shell/lvcreate-cache.sh | 4 ++-- test/shell/lvcreate-large-raid.sh | 4 ++-- test/shell/lvcreate-large-raid10.sh | 5 ++--- test/shell/lvcreate-large.sh | 4 ++-- test/shell/lvcreate-mirror.sh | 4 ++-- test/shell/lvcreate-missing.sh | 4 ++-- test/shell/lvcreate-operation.sh | 4 ++-- test/shell/lvcreate-pvtags.sh | 4 ++-- test/shell/lvcreate-raid.sh | 4 ++-- test/shell/lvcreate-raid10.sh | 4 ++-- test/shell/lvcreate-repair.sh | 4 ++-- test/shell/lvcreate-signature-wiping.sh | 4 ++-- test/shell/lvcreate-small-snap.sh | 4 ++-- test/shell/lvcreate-striped-mirror.sh | 4 ++-- test/shell/lvcreate-thin-big.sh | 4 ++-- test/shell/lvcreate-thin-external-size.sh | 4 ++-- test/shell/lvcreate-thin-external.sh | 4 ++-- test/shell/lvcreate-thin-power2.sh | 4 ++-- test/shell/lvcreate-thin-snap.sh | 4 ++-- test/shell/lvcreate-thin.sh | 4 ++-- test/shell/lvextend-percent-extents.sh | 4 ++-- test/shell/lvextend-snapshot-dmeventd.sh | 4 ++-- test/shell/lvextend-snapshot-policy.sh | 4 ++-- test/shell/lvextend-thin-full.sh | 4 ++-- test/shell/lvextend-thin-metadata-dmeventd.sh | 4 ++-- test/shell/lvextend-thin.sh | 4 ++-- test/shell/lvm-init.sh | 4 ++-- test/shell/lvmcache-exercise.sh | 4 ++-- test/shell/lvmetad-no-cluster.sh | 3 --- test/shell/lvresize-mirror.sh | 4 ++-- test/shell/lvresize-raid.sh | 4 ++-- test/shell/lvresize-raid10.sh | 4 ++-- test/shell/lvresize-rounding.sh | 4 ++-- test/shell/lvresize-thin-external-origin.sh | 4 ++-- test/shell/lvresize-thin-metadata.sh | 4 ++-- test/shell/lvresize-usage.sh | 4 ++-- test/shell/lvs-cache.sh | 4 ++-- test/shell/mda-rollback.sh | 4 ++-- test/shell/mdata-strings.sh | 4 ++-- test/shell/metadata-balance.sh | 4 ++-- test/shell/metadata-dirs.sh | 4 ++-- test/shell/metadata.sh | 4 ++-- test/shell/mirror-vgreduce-removemissing.sh | 3 +-- test/shell/name-mangling.sh | 10 +++++----- test/shell/nomda-missing.sh | 4 ++-- test/shell/nomda-restoremissing.sh | 4 ++-- test/shell/orphan-ondisk.sh | 4 ++-- test/shell/pool-labels.sh | 8 ++++---- test/shell/process-each-duplicate-vgnames.sh | 3 +-- test/shell/process-each-lv.sh | 1 + test/shell/process-each-pv-nomda-all.sh | 1 + test/shell/process-each-pv-nomda.sh | 1 + test/shell/process-each-pv.sh | 1 + test/shell/process-each-pvresize.sh | 3 +-- test/shell/profiles-thin.sh | 4 ++-- test/shell/profiles.sh | 4 ++-- test/shell/pv-duplicate-uuid.sh | 4 ++-- test/shell/pv-duplicate.sh | 4 ++-- test/shell/pv-min-size.sh | 4 ++-- test/shell/pvchange-usage.sh | 4 ++-- test/shell/pvcreate-bootloaderarea.sh | 3 +-- test/shell/pvcreate-ff.sh | 4 ++-- test/shell/pvcreate-metadata0.sh | 4 ++-- test/shell/pvcreate-operation-md.sh | 4 ++-- test/shell/pvcreate-operation.sh | 4 ++-- test/shell/pvcreate-usage.sh | 3 +-- test/shell/pvmove-cache-segtypes.sh | 2 +- test/shell/pvmove-raid-segtypes.sh | 2 +- test/shell/pvmove-resume-1.sh | 4 ++-- test/shell/pvmove-resume-2.sh | 4 ++-- test/shell/pvmove-resume-multiseg.sh | 4 ++-- test/shell/pvmove-thin-segtypes.sh | 3 ++- test/shell/pvremove-thin.sh | 4 ++-- test/shell/pvremove-usage.sh | 4 ++-- test/shell/pvremove-warnings.sh | 4 ++-- test/shell/read-ahead.sh | 3 +-- test/shell/select-report.sh | 4 ++-- test/shell/select-tools-thin.sh | 4 ++-- test/shell/select-tools.sh | 4 ++-- test/shell/snapshot-autoumount-dmeventd.sh | 4 ++-- test/shell/snapshot-cluster.sh | 4 ++-- test/shell/snapshot-lvm1.sh | 4 ++-- test/shell/snapshot-maxsize.sh | 4 ++-- test/shell/snapshot-reactivate.sh | 5 +++-- test/shell/snapshot-remove-dmsetup.sh | 8 ++++---- test/shell/snapshot-rename.sh | 4 ++-- test/shell/snapshot-usage-exa.sh | 4 ++-- test/shell/snapshot-usage.sh | 4 ++-- test/shell/stray-device-node.sh | 4 ++-- test/shell/system_id.sh | 3 +-- test/shell/tags.sh | 4 ++-- test/shell/test-partition.sh | 4 ++-- test/shell/thin-autoumount-dmeventd.sh | 4 ++-- test/shell/thin-defaults.sh | 4 ++-- test/shell/thin-restore.sh | 4 ++-- test/shell/thin-volume-list.sh | 4 ++-- test/shell/topology-support.sh | 4 ++-- test/shell/unknown-segment.sh | 4 ++-- test/shell/unlost-pv.sh | 4 ++-- test/shell/vg-name-from-env.sh | 3 +-- test/shell/vgcfgbackup-usage.sh | 4 ++-- test/shell/vgchange-many.sh | 4 ++-- test/shell/vgchange-maxlv.sh | 4 ++-- test/shell/vgchange-partial.sh | 4 ++-- test/shell/vgchange-sysinit.sh | 6 +++--- test/shell/vgchange-usage.sh | 3 +-- test/shell/vgck.sh | 4 ++-- test/shell/vgcreate-many-pvs.sh | 4 ++-- test/shell/vgcreate-usage.sh | 3 +-- test/shell/vgextend-restoremissing.sh | 4 ++-- test/shell/vgextend-usage.sh | 4 ++-- test/shell/vgimportclone.sh | 4 ++-- test/shell/vgmerge-operation.sh | 3 +-- test/shell/vgmerge-usage.sh | 3 +-- test/shell/vgreduce-removemissing-snapshot.sh | 7 ++++--- test/shell/vgreduce-usage.sh | 4 ++-- test/shell/vgremove-corrupt-vg.sh | 4 ++-- test/shell/vgrename-usage.sh | 4 ++-- test/shell/vgsplit-operation.sh | 4 ++-- test/shell/vgsplit-raid.sh | 3 +-- test/shell/vgsplit-stacked.sh | 4 ++-- test/shell/vgsplit-thin.sh | 4 ++-- test/shell/vgsplit-usage.sh | 4 ++-- test/shell/zero-usage.sh | 4 ++-- 171 files changed, 333 insertions(+), 336 deletions(-)
test/api/lvtest.sh +2 -0
@@ -11,6 +11,8 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +SKIP_WITH_LVMPOLLD=1 + . lib/inittest aux prepare_vg 1
test/api/pe_start.sh +2 -0
@@ -11,6 +11,8 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +SKIP_WITH_LVMPOLLD=1 + . lib/inittest aux prepare_devs 2
test/api/percent.sh +2 -0
@@ -11,6 +11,8 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +SKIP_WITH_LVMPOLLD=1 + . lib/inittest aux kernel_at_least 2 6 33 || skip
test/api/pytest.sh +5 -5
@@ -11,8 +11,13 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +SKIP_WITH_LVMETAD=1 +SKIP_WITH_CLVMD=1 + . lib/inittest +aux prepare_dmeventd + # # TODO: # lvm2app is not yet capable to respect many lvm.conf options
@@ -29,11 +34,6 @@ python_lib=$(find $abs_top_builddir -name lvm.so) # Unable to test python bindings if library not available test -n "$python_lib" || skip -test -e LOCAL_CLVMD && skip -test -e LOCAL_LVMETAD && skip - -aux prepare_dmeventd - #If you change this change the unit test case too. aux prepare_pvs 6
test/api/thin_percent.sh +2 -0
@@ -11,6 +11,8 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +SKIP_WITH_LVMPOLLD=1 + export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false} . lib/inittest
test/api/vglist.sh +2 -0
@@ -9,6 +9,8 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +SKIP_WITH_LVMPOLLD=1 + . lib/inittest aux prepare_vg 2
test/shell/000-basic.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest lvm version
test/shell/covercmd.sh +2 -2
@@ -14,9 +14,9 @@ # to improve code coverage # -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_pvs 5 get_devs
test/shell/discards-thin.sh +2 -2
@@ -13,12 +13,12 @@ # test support of thin discards # +SKIP_WITH_LVMPOLLD=1 + export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false} . lib/inittest -test -e LOCAL_LVMPOLLD && skip - # # Main #
test/shell/dmeventd-restart.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_dmeventd
test/shell/dumpconfig.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest flatten() { cat > flatten.config
test/shell/error-usage.sh +2 -2
@@ -11,9 +11,9 @@ # Basic usage of zero target -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest which md5sum || skip
test/shell/fsadm.sh +1 -2
@@ -10,11 +10,10 @@ # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA test_description='Exercise fsadm filesystem resize' +SKIP_WITH_LVMPOLLD=1 . lib/inittest -test -e LOCAL_LVMPOLLD && skip - aux prepare_vg 1 100 # set to "skip" to avoid testing given fs and test warning result
test/shell/inconsistent-metadata.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_vg 3 12
test/shell/listings.sh +2 -2
@@ -13,9 +13,9 @@ # tests functionality of lvs, pvs, vgs, *display tools # -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_devs 5 get_devs
test/shell/lock-blocking.sh +2 -3
@@ -10,12 +10,11 @@ # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA test_description='test some blocking / non-blocking multi-vg operations' +SKIP_WITH_CLVMD=1 +SKIP_WITH_LVMPOLLD=1 . lib/inittest -test -e LOCAL_LVMPOLLD && skip -test -e LOCAL_CLVMD && skip - aux prepare_devs 3 pvcreate "$dev1" "$dev2" vgcreate $vg "$dev1" "$dev2"
test/shell/lock-parallel.sh +2 -2
@@ -12,9 +12,9 @@ # Test parallel use of lvm commands and check locks aren't dropped # RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1049296 -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest which mkfs.ext3 || skip which fsck || skip
test/shell/lvchange-cache.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux have_cache 1 3 0 || skip aux prepare_vg 3
test/shell/lvchange-mirror.sh +4 -5
@@ -9,13 +9,12 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest - -test -e LOCAL_LVMPOLLD && skip - # FIXME RESYNC doesn't work in cluster with exclusive activation # seriously broken! -test -e LOCAL_CLVMD && skip +SKIP_WITH_CLVMD=1 +SKIP_WITH_LVMPOLLD=1 + +. lib/inittest aux prepare_dmeventd aux prepare_vg 3
test/shell/lvchange-partial-raid10.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux have_raid 1 3 2 || skip
test/shell/lvchange-partial.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_vg 4
test/shell/lvchange-raid.sh +2 -0
@@ -9,6 +9,8 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +SKIP_WITH_LVMPOLLD=1 + . lib/inittest # Writemostly has been in every version since the begining
test/shell/lvchange-raid10.sh +0 -2
@@ -13,8 +13,6 @@ TEST_RAID=raid10 . shell/lvchange-raid.sh -test -e LOCAL_LVMPOLLD && skip - aux have_raid 1 5 2 || skip run_types raid10 -m 1 -i 2 "$dev1" "$dev2" "$dev3" "$dev4"
test/shell/lvchange-raid456.sh +0 -2
@@ -13,8 +13,6 @@ TEST_RAID=raid456 . shell/lvchange-raid.sh -test -e LOCAL_LVMPOLLD && skip - aux raid456_replace_works || skip aux have_raid 1 5 2 || skip
test/shell/lvchange-syncaction-raid.sh +2 -2
@@ -11,9 +11,9 @@ # test activation race for raid's --syncaction check -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest # Proper mismatch count 1.5.2+ upstream, 1.3.5 < x < 1.4.0 in RHEL6 aux have_raid 1 3 5 &&
test/shell/lvchange-thin.sh +2 -2
@@ -9,12 +9,12 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +SKIP_WITH_LVMPOLLD=1 + export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false} . lib/inittest -test -e LOCAL_LVMPOLLD && skip - aux have_thin 1 0 0 || skip aux prepare_pvs 3
test/shell/lvconvert-cache-raid.sh +2 -2
@@ -11,9 +11,9 @@ # Exercise usage of stacked cache volume using raid volume -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux have_cache 1 3 0 || skip aux have_raid 1 0 0 || skip
test/shell/lvconvert-cache-smq.sh +2 -2
@@ -11,9 +11,9 @@ # Exercise conversion of cache and cache pool -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux have_cache 1 8 0 || skip
test/shell/lvconvert-cache-thin.sh +2 -2
@@ -11,9 +11,9 @@ # Exercise usage of stacked cache volume used in thin pool volumes -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux have_cache 1 3 0 || skip aux have_thin 1 0 0 || skip
test/shell/lvconvert-cache.sh +2 -2
@@ -11,9 +11,9 @@ # Exercise conversion of cache and cache pool -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux have_cache 1 3 0 || skip
test/shell/lvconvert-raid-allocation.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux have_raid 1 3 0 || skip
test/shell/lvconvert-raid.sh +3 -2
@@ -10,12 +10,13 @@ # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # disable lvmetad logging as it bogs down test systems + +SKIP_WITH_LVMPOLLD=1 + export LVM_TEST_LVMETAD_DEBUG_OPTS=${LVM_TEST_LVMETAD_DEBUG_OPTS-} . lib/inittest -test -e LOCAL_LVMPOLLD && skip - get_image_pvs() { local d local images
test/shell/lvconvert-raid10.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest get_image_pvs() { local d
test/shell/lvconvert-raid456.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest get_image_pvs() { local d
test/shell/lvconvert-repair-dmeventd.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest which mkfs.ext2 || skip aux mirror_recovery_works || skip
test/shell/lvconvert-repair-raid-dmeventd.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest which mkfs.ext3 || skip aux have_raid 1 3 0 || skip
test/shell/lvconvert-repair-raid.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux have_raid 1 3 0 || skip aux raid456_replace_works || skip
test/shell/lvconvert-repair-snapshot.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_vg 5 aux lvmconf 'allocation/maximise_cling = 0' \
test/shell/lvconvert-repair-thin-raid.sh +2 -1
@@ -12,9 +12,10 @@ # Test repairing of broken thin pool on raid +SKIP_WITH_LVMPOLLD=1 + . lib/inittest -test -e LOCAL_LVMPOLLD && skip aux have_thin 1 0 0 || skip aux have_raid 1 4 0 || skip
test/shell/lvconvert-repair-thin.sh +2 -2
@@ -12,9 +12,9 @@ # Test repairing of broken thin pool metadata -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest which mkfs.ext2 || skip
test/shell/lvconvert-repair-transient-dmeventd.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_dmeventd aux mirror_recovery_works || skip
test/shell/lvconvert-repair-transient.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux mirror_recovery_works || skip aux prepare_vg 5
test/shell/lvconvert-snapshot.sh +2 -2
@@ -12,9 +12,9 @@ # Test various supported conversion of snapshot -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_pvs 1
test/shell/lvconvert-thin-external.sh +2 -2
@@ -12,12 +12,12 @@ # Test conversion to thin external origin +SKIP_WITH_LVMPOLLD=1 + export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false} . lib/inittest -test -e LOCAL_LVMPOLLD && skip - which mkfs.ext2 || skip which fsck || skip
test/shell/lvconvert-thin-raid.sh +2 -2
@@ -10,12 +10,12 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +SKIP_WITH_LVMPOLLD=1 + export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false} . lib/inittest -test -e LOCAL_LVMPOLLD && skip - aux have_thin 1 0 0 || skip aux have_raid 1 4 0 || skip
test/shell/lvconvert-thin.sh +2 -2
@@ -10,12 +10,12 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +SKIP_WITH_LVMPOLLD=1 + export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false} . lib/inittest -test -e LOCAL_LVMPOLLD && skip - prepare_lvs() { lvremove -f $vg lvcreate -L10M -n $lv1 $vg
test/shell/lvcreate-cache-raid.sh +2 -2
@@ -11,9 +11,9 @@ # Exercise creation of cache and raids -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux have_cache 1 3 0 || skip aux have_raid 1 0 0 || skip
test/shell/lvcreate-cache.sh +2 -2
@@ -14,9 +14,9 @@ # Full CLI uses --type # Shorthand CLI uses -H | --cache -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux have_cache 1 3 0 || skip
test/shell/lvcreate-large-raid.sh +2 -2
@@ -11,9 +11,9 @@ # 'Exercise some lvcreate diagnostics' -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest # FIXME update test to make something useful on <16T aux can_use_16T || skip
test/shell/lvcreate-large-raid10.sh +2 -3
@@ -11,13 +11,12 @@ # 'Exercise some lvcreate diagnostics' -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest # FIXME update test to make something useful on <16T aux can_use_16T || skip - aux have_raid 1 3 0 || skip aux prepare_vg 5
test/shell/lvcreate-large.sh +2 -2
@@ -11,9 +11,9 @@ # 'Exercise some lvcreate diagnostics' -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest # FIXME update test to make something useful on <16T aux can_use_16T || skip
test/shell/lvcreate-mirror.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_vg 5 80 aux lvmconf 'allocation/maximise_cling = 0' \
test/shell/lvcreate-missing.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_vg 2
test/shell/lvcreate-operation.sh +2 -2
@@ -11,9 +11,9 @@ # 'Exercise some lvcreate diagnostics' -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest cleanup_lvs() { lvremove -ff $vg
test/shell/lvcreate-pvtags.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_pvs 3 aux lvmconf 'allocation/maximise_cling = 0' \
test/shell/lvcreate-raid.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest lv_devices() { test $3 -eq $(get lv_devices $1/$2 | wc -w)
test/shell/lvcreate-raid10.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest lv_devices() { test $3 -eq $(get lv_devices $1/$2 | wc -w)
test/shell/lvcreate-repair.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_vg 3
test/shell/lvcreate-signature-wiping.sh +2 -2
@@ -11,9 +11,9 @@ # 'Exercise signature wiping during lvcreate' -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest init_lv_() { mkswap "$DM_DEV_DIR/$vg/$lv1"
test/shell/lvcreate-small-snap.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_pvs
test/shell/lvcreate-striped-mirror.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_vg 9
test/shell/lvcreate-thin-big.sh +2 -2
@@ -13,12 +13,12 @@ # test currently needs to drop # 'return NULL' in _lv_create_an_lv after log_error("Can't create %s without using " +SKIP_WITH_LVMPOLLD=1 + export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false} . lib/inittest -test -e LOCAL_LVMPOLLD && skip - aux have_thin 1 0 0 || skip # Test --poolmetadatasize range
test/shell/lvcreate-thin-external-size.sh +2 -2
@@ -12,12 +12,12 @@ # Test unaligned size of external origin and thin pool chunk size +SKIP_WITH_LVMPOLLD=1 + export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false} . lib/inittest -test -e LOCAL_LVMPOLLD && skip - which cmp || skip #
test/shell/lvcreate-thin-external.sh +2 -2
@@ -12,12 +12,12 @@ # Test creation of thin snapshots using external origin +SKIP_WITH_LVMPOLLD=1 + export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false} . lib/inittest -test -e LOCAL_LVMPOLLD && skip - which mkfs.ext2 || skip which fsck || skip
test/shell/lvcreate-thin-power2.sh +2 -2
@@ -13,12 +13,12 @@ # test support for non-power-of-2 thin chunk size # +SKIP_WITH_LVMPOLLD=1 + export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false} . lib/inittest -test -e LOCAL_LVMPOLLD && skip - # # Main #
test/shell/lvcreate-thin-snap.sh +2 -2
@@ -10,12 +10,12 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +SKIP_WITH_LVMPOLLD=1 + export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false} . lib/inittest -test -e LOCAL_LVMPOLLD && skip - check_lv_field_modules_() { mod=$1
test/shell/lvcreate-thin.sh +2 -2
@@ -13,12 +13,12 @@ # test currently needs to drop # 'return NULL' in _lv_create_an_lv after log_error("Can't create %s without using " +SKIP_WITH_LVMPOLLD=1 + export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false} . lib/inittest -test -e LOCAL_LVMPOLLD && skip - check_lv_field_modules_() { mod=$1
test/shell/lvextend-percent-extents.sh +2 -2
@@ -11,9 +11,9 @@ # 'Check extents percentage arguments' -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_pvs 2 128 vgcreate $vg $(cat DEVICES)
test/shell/lvextend-snapshot-dmeventd.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest extend() { lvextend --use-policies --config "activation { snapshot_autoextend_threshold = $1 }" $vg/snap
test/shell/lvextend-snapshot-policy.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest which mkfs.ext2 || skip
test/shell/lvextend-thin-full.sh +2 -2
@@ -13,12 +13,12 @@ # play with thin-pool resize in corner cases # +SKIP_WITH_LVMPOLLD=1 + export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false} . lib/inittest -test -e LOCAL_LVMPOLLD && skip - aux have_thin 1 0 0 || skip test -n "$LVM_TEST_THIN_RESTORE_CMD" || LVM_TEST_THIN_RESTORE_CMD=$(which thin_restore) || skip
test/shell/lvextend-thin-metadata-dmeventd.sh +2 -2
@@ -11,12 +11,12 @@ # Test autoextension of thin metadata volume +SKIP_WITH_LVMPOLLD=1 + export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false} . lib/inittest -test -e LOCAL_LVMPOLLD && skip - meta_percent_() { get lv_field $vg/pool metadata_percent | cut -d. -f1 }
test/shell/lvextend-thin.sh +2 -2
@@ -9,12 +9,12 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +SKIP_WITH_LVMPOLLD=1 + export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false} . lib/inittest -test -e LOCAL_LVMPOLLD && skip - aux have_thin 1 0 0 || skip aux prepare_vg 3
test/shell/lvm-init.sh +2 -2
@@ -13,9 +13,9 @@ # tests lvm initialization, and especially negative tests of error paths # -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_devs 5
test/shell/lvmcache-exercise.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_pvs 5
test/shell/lvmetad-no-cluster.sh +0 -3
@@ -14,9 +14,6 @@ SKIP_WITH_LVMPOLLD=1 . lib/inittest -test -e LOCAL_CLVMD || skip -test -e LOCAL_LVMPOLLD && skip - aux prepare_vg 2 aux prepare_lvmetad vgs -vv 2> errs
test/shell/lvresize-mirror.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_vg 5
test/shell/lvresize-raid.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux have_raid 1 3 0 || skip
test/shell/lvresize-raid10.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux have_raid 1 3 0 || skip
test/shell/lvresize-rounding.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_pvs 3 22
test/shell/lvresize-thin-external-origin.sh +2 -2
@@ -11,12 +11,12 @@ # Test resize of thin volume with external origin +SKIP_WITH_LVMPOLLD=1 + export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false} . lib/inittest -test -e LOCAL_LVMPOLLD && skip - aux have_thin 1 2 0 || skip # Pretend we miss the external_origin_extend feature
test/shell/lvresize-thin-metadata.sh +2 -2
@@ -9,12 +9,12 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +SKIP_WITH_LVMPOLLD=1 + export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false} . lib/inittest -test -e LOCAL_LVMPOLLD && skip - aux have_thin 1 10 0 || skip aux prepare_pvs 3 1256
test/shell/lvresize-usage.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_vg 2 80
test/shell/lvs-cache.sh +2 -2
@@ -14,9 +14,9 @@ # Full CLI uses --type # Shorthand CLI uses -H | --cache -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux have_cache 1 3 0 || skip aux prepare_vg 5 8000
test/shell/mda-rollback.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_devs 3
test/shell/mdata-strings.sh +2 -2
@@ -11,9 +11,9 @@ # 'Test for proper escaping of strings in metadata (bz431474)' -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest # For udev impossible to create test "$LVM_TEST_DEVDIR" = "/dev" && skip
test/shell/metadata-balance.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_devs 6
test/shell/metadata-dirs.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_devs 3
test/shell/metadata.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_devs 5
test/shell/mirror-vgreduce-removemissing.sh +1 -2
@@ -11,14 +11,13 @@ # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA test_description="ensure that 'vgreduce --removemissing' works on mirrored LV" +SKIP_WITH_LVMPOLLD=1 # disable lvmetad logging as it bogs down test systems export LVM_TEST_LVMETAD_DEBUG_OPTS=${LVM_TEST_LVMETAD_DEBUG_OPTS-} . lib/inittest -test -e LOCAL_LVMPOLLD && skip - lv_is_on_ () { local lv=$vg/$1
test/shell/name-mangling.sh +5 -5
@@ -9,13 +9,13 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest - # This test is not using any lvm command # so skip duplicate CLMVD and lvmetad test -test -e LOCAL_CLVMD && skip -test -e LOCAL_LVMETAD && skip -test -e LOCAL_LVMPOLLD && skip +SKIP_WITH_CLVMD=1 +SKIP_WITH_LVMETAD=1 +SKIP_WITH_LVMPOLLD=1 + +. lib/inittest CHARACTER_WHITELIST="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789#+-.:=@_" FAIL_MIXED_STR="contains mixed mangled and unmangled characters"
test/shell/nomda-missing.sh +2 -2
@@ -10,9 +10,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_devs 4 pvcreate "$dev1" "$dev2"
test/shell/nomda-restoremissing.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_vg 3
test/shell/orphan-ondisk.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_vg 2 vgreduce $vg "$dev1" 2>&1 | not grep -i 'parse error'
test/shell/pool-labels.sh +4 -4
@@ -9,11 +9,11 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest - # lvmetad does not handle pool labels so skip test. -test ! -e LOCAL_LVMETAD || skip -test -e LOCAL_LVMPOLLD && skip +SKIP_WITH_LVMETAD=1 +SKIP_WITH_LVMPOLLD=1 + +. lib/inittest env printf "" || skip # skip if printf is not available
test/shell/process-each-duplicate-vgnames.sh +1 -2
@@ -6,11 +6,10 @@ # of the GNU General Public License v.2. test_description='Test vgs with duplicate vg names' +SKIP_WITH_LVMPOLLD=1 . lib/inittest -test -e LOCAL_LVMPOLLD && skip - aux prepare_devs 2 pvcreate "$dev1"
test/shell/process-each-lv.sh +1 -0
@@ -10,6 +10,7 @@ # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA test_description='Exercise toollib process_each_lv' +SKIP_WITH_LVMPOLLD=1 # disable lvmetad logging as it bogs down test systems export LVM_TEST_LVMETAD_DEBUG_OPTS=${LVM_TEST_LVMETAD_DEBUG_OPTS-}
test/shell/process-each-pv-nomda-all.sh +1 -0
@@ -10,6 +10,7 @@ # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA test_description='Test process_each_pv with zero mda' +SKIP_WITH_LVMPOLLD=1 . lib/inittest
test/shell/process-each-pv-nomda.sh +1 -0
@@ -10,6 +10,7 @@ # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA test_description='Test process_each_pv with zero mda' +SKIP_WITH_LVMPOLLD=1 . lib/inittest
test/shell/process-each-pv.sh +1 -0
@@ -10,6 +10,7 @@ # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA test_description='Exercise toollib process_each_pv' +SKIP_WITH_LVMPOLLD=1 . lib/inittest
test/shell/process-each-pvresize.sh +1 -2
@@ -10,11 +10,10 @@ # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA test_description='Exercise toollib process_each_pv' +SKIP_WITH_LVMPOLLD=1 . lib/inittest -test -e LOCAL_LVMPOLLD && skip - aux prepare_devs 14 #
test/shell/profiles-thin.sh +2 -2
@@ -13,12 +13,12 @@ # test thin profile functionality # +SKIP_WITH_LVMPOLLD=1 + export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false} . lib/inittest -test -e LOCAL_LVMPOLLD && skip - DEV_SIZE=32 # check we have thinp support compiled in
test/shell/profiles.sh +2 -2
@@ -13,9 +13,9 @@ # test basic profile functionality # -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest MSG_FAILED_TO_APPLY_CMD_PROFILE="Failed to apply command profile" MSG_IGNORING_INVALID_CMD_PROFILE="Ignoring invalid command profile"
test/shell/pv-duplicate-uuid.sh +2 -2
@@ -10,9 +10,9 @@ # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # Test 'Found duplicate' is shown -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_devs 3
test/shell/pv-duplicate.sh +2 -2
@@ -11,9 +11,9 @@ # 'Exercise duplicate metadata diagnostics' -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_devs 3
test/shell/pv-min-size.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest # use small default size - 512KB aux lvmconf 'devices/pv_min_size = 512'
test/shell/pvchange-usage.sh +2 -2
@@ -11,9 +11,9 @@ # 'Test pvchange option values' -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest check_changed_uuid_() { test "$1" != "$(get pv_field "$2" uuid)" || die "UUID has not changed!"
test/shell/pvcreate-bootloaderarea.sh +1 -2
@@ -10,11 +10,10 @@ # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA test_description='Test pvcreate bootloader area support' +SKIP_WITH_LVMPOLLD=1 . lib/inittest -test -e LOCAL_LVMPOLLD && skip - aux prepare_devs 1 aux lvmconf 'global/suffix=0' 'global/units="b"'
test/shell/pvcreate-ff.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_devs 2 pvcreate "$dev1"
test/shell/pvcreate-metadata0.sh +2 -2
@@ -15,9 +15,9 @@ # # 'Test pvcreate without metadata on all pvs' -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_devs 2 128
test/shell/pvcreate-operation-md.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest # skip this test if mdadm or sfdisk (or others) aren't available which sfdisk || skip
test/shell/pvcreate-operation.sh +2 -2
@@ -8,9 +8,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux lvmconf 'devices/md_component_detection = 1'
test/shell/pvcreate-usage.sh +1 -2
@@ -10,12 +10,11 @@ # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA test_description='Test pvcreate option values' +SKIP_WITH_LVMPOLLD=1 PAGESIZE=$(getconf PAGESIZE) . lib/inittest -test -e LOCAL_LVMPOLLD && skip - aux prepare_devs 4 #COMM 'pvcreate rejects negative setphysicalvolumesize'
test/shell/pvmove-cache-segtypes.sh +1 -1
@@ -10,6 +10,7 @@ # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA test_description="ensure pvmove works with the cache segment types" +SKIP_WITH_CLVMD=1 . lib/inittest
@@ -19,7 +20,6 @@ test_description="ensure pvmove works with the cache segment types" # This allows us to ensure that it is disallowed even when there are # stacking complications to consider. -test -e LOCAL_CLVMD && skip which md5sum || skip aux have_cache 1 3 0 || skip
test/shell/pvmove-raid-segtypes.sh +1 -1
@@ -10,10 +10,10 @@ # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA test_description="ensure pvmove works with raid segment types" +SKIP_WITH_CLVMD=1 . lib/inittest -test -e LOCAL_CLVMD && skip which md5sum || skip aux have_raid 1 3 5 || skip
test/shell/pvmove-resume-1.sh +2 -2
@@ -14,6 +14,8 @@ # 2 pvmove LVs in 2 VGs (1 per VG) +SKIP_WITH_CLVMD=1 + . lib/inittest aux prepare_pvs 4 30
@@ -245,8 +247,6 @@ pvmove_bg_single() { LVM_TEST_TAG="kill_me_$PREFIX" pvmove -b "$dev2" } -test -e LOCAL_CLVMD && skip - test_pvmove_resume lvchange_single test_pvmove_resume lvchange_all test_pvmove_resume vgchange_single
test/shell/pvmove-resume-2.sh +2 -2
@@ -14,6 +14,8 @@ # Moving 2 LVs in VG variant +SKIP_WITH_CLVMD=1 + . lib/inittest aux prepare_pvs 2 30
@@ -189,8 +191,6 @@ pvmove_bg_single() { LVM_TEST_TAG="kill_me_$PREFIX" pvmove -b "$dev1" } -test -e LOCAL_CLVMD && skip - test_pvmove_resume lvchange_single test_pvmove_resume lvchange_all test_pvmove_resume vgchange_single
test/shell/pvmove-resume-multiseg.sh +2 -2
@@ -14,6 +14,8 @@ # Multisegment variant w/ 2 pvmoves LVs per VG +SKIP_WITH_CLVMD=1 + . lib/inittest aux prepare_pvs 5 30
@@ -219,8 +221,6 @@ pvmove_bg_single() { LVM_TEST_TAG="kill_me_$PREFIX" pvmove -b "$dev3" } -test -e LOCAL_CLVMD && skip - test_pvmove_resume lvchange_single test_pvmove_resume lvchange_all test_pvmove_resume vgchange_single
test/shell/pvmove-thin-segtypes.sh +2 -1
@@ -10,9 +10,10 @@ # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA test_description="ensure pvmove works with thin segment types" +SKIP_WITH_CLVMD=1 . lib/inittest -test -e LOCAL_CLVMD && skip + which md5sum || skip aux have_thin 1 8 0 || skip
test/shell/pvremove-thin.sh +2 -2
@@ -12,9 +12,9 @@ # Checks we are not reading our own devices # https://bugzilla.redhat.com/show_bug.cgi?id=1064374 -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_vg
test/shell/pvremove-usage.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_devs 3 pvcreate "$dev1"
test/shell/pvremove-warnings.sh +2 -2
@@ -8,9 +8,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_devs 2 pvcreate "$dev1" "$dev2"
test/shell/read-ahead.sh +1 -2
@@ -14,11 +14,10 @@ # test_description='Test read-ahead functionality' +SKIP_WITH_LVMPOLLD=1 . lib/inittest -test -e LOCAL_LVMPOLLD && skip - aux prepare_vg 5 #COMM "test various read ahead settings (bz450922)"
test/shell/select-report.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_pvs 6 16
test/shell/select-tools-thin.sh +2 -2
@@ -9,12 +9,12 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +SKIP_WITH_LVMPOLLD=1 + export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false} . lib/inittest -test -e LOCAL_LVMPOLLD && skip - aux have_thin 1 0 0 || skip aux prepare_pvs 1 16
test/shell/select-tools.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_pvs 4 12
test/shell/snapshot-autoumount-dmeventd.sh +2 -2
@@ -11,9 +11,9 @@ # no automatic extensions please -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest which mkfs.ext2 || skip
test/shell/snapshot-cluster.sh +2 -2
@@ -12,9 +12,9 @@ # Testing renaming snapshots in cluster # https://bugzilla.redhat.com/show_bug.cgi?id=1136925 -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_vg 1
test/shell/snapshot-lvm1.sh +2 -2
@@ -12,9 +12,9 @@ # regression test for lvmetad reporting error: # Internal error: LV snap_with_lvm1_meta (00000000000000000000000000000001) missing from preload metadata -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_devs 2
test/shell/snapshot-maxsize.sh +2 -2
@@ -12,9 +12,9 @@ # Testing calculation of snapshot space # https://bugzilla.redhat.com/show_bug.cgi?id=1035871 -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_pvs 1
test/shell/snapshot-reactivate.sh +3 -2
@@ -15,9 +15,10 @@ # is triggered by kernel 3.14-rc[1..5] # http://www.redhat.com/archives/dm-devel/2014-March/msg00005.html # -. lib/inittest -test -e LOCAL_LVMPOLLD && skip +SKIP_WITH_LVMPOLLD=1 + +. lib/inittest # Snapshot should remain unmodified check_s_() {
test/shell/snapshot-remove-dmsetup.sh +4 -4
@@ -11,14 +11,14 @@ # check if 'dmsetup --noflush' will work properly for mounted snapshot +SKIP_WITH_CLVMD=1 +SKIP_WITH_LVMETAD=1 +SKIP_WITH_LVMPOLLD=1 + . lib/inittest which mkfs.ext2 || skip -test -e LOCAL_LVMETAD && skip -test -e LOCAL_LVMPOLLD && skip -test -e LOCAL_CLVMD && skip - aux prepare_vg 5 # Create stacked device
test/shell/snapshot-rename.sh +2 -2
@@ -12,9 +12,9 @@ # Testing renaming snapshots (had problem in cluster) # https://bugzilla.redhat.com/show_bug.cgi?id=1136925 -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_vg 1
test/shell/snapshot-usage-exa.sh +2 -2
@@ -12,9 +12,9 @@ # Check very large device size (upto 15Exa bytes) # this needs 64bit arch -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux can_use_16T || skip
test/shell/snapshot-usage.sh +2 -2
@@ -11,9 +11,9 @@ # no automatic extensions please -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest MKFS=mkfs.ext2 which $MKFS || skip
test/shell/stray-device-node.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_devs 3 cp -r "$dev1" "$DM_DEV_DIR/stray"
test/shell/system_id.sh +1 -2
@@ -10,11 +10,10 @@ # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA test_description='Test system_id' +SKIP_WITH_LVMPOLLD=1 . lib/inittest -test -e LOCAL_LVMPOLLD && skip - aux prepare_devs 1 # with clvm enabled, vgcreate with no -c option creates a clustered vg,
test/shell/tags.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_pvs 4
test/shell/test-partition.sh +2 -2
@@ -15,12 +15,12 @@ # +SKIP_WITH_LVMPOLLD=1 + LVM_TEST_CONFIG_DEVICES="types = [\"device-mapper\", 142]" . lib/inittest -test -e LOCAL_LVMPOLLD && skip - which sfdisk || skip aux prepare_pvs 1 30
test/shell/thin-autoumount-dmeventd.sh +2 -2
@@ -11,6 +11,8 @@ # no automatic extensions, just umount +SKIP_WITH_LVMPOLLD=1 + export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false} is_dir_mounted_()
@@ -20,8 +22,6 @@ is_dir_mounted_() . lib/inittest -test -e LOCAL_LVMPOLLD && skip - # # Main #
test/shell/thin-defaults.sh +2 -2
@@ -11,12 +11,12 @@ # test defaults entered through lvm.conf +SKIP_WITH_LVMPOLLD=1 + export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false} . lib/inittest -test -e LOCAL_LVMPOLLD && skip - # # Main #
test/shell/thin-restore.sh +2 -2
@@ -11,12 +11,12 @@ # test restore operation of thin pool metadata +SKIP_WITH_LVMPOLLD=1 + export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false} . lib/inittest -test -e LOCAL_LVMPOLLD && skip - # # Main #
test/shell/thin-volume-list.sh +2 -2
@@ -11,12 +11,12 @@ # test pool behaviour when volume_list masks activation +SKIP_WITH_LVMPOLLD=1 + export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false} . lib/inittest -test -e LOCAL_LVMPOLLD && skip - # # Main #
test/shell/topology-support.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest which mkfs.ext3 || skip
test/shell/unknown-segment.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_vg 4
test/shell/unlost-pv.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest check_() { # vgscan needs --cache option for direct scan if lvmetad is used
test/shell/vg-name-from-env.sh +1 -2
@@ -6,11 +6,10 @@ # of the GNU General Public License v.2. test_description='Test the vg name for an lv from env var' +SKIP_WITH_LVMPOLLD=1 . lib/inittest -test -e LOCAL_LVMPOLLD && skip - aux prepare_devs 2 pvcreate "$dev1"
test/shell/vgcfgbackup-usage.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_pvs 4
test/shell/vgchange-many.sh +2 -2
@@ -10,9 +10,9 @@ # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # Check perfomance of activation and deactivation -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest # FIXME: lvmetad fails with i.e. 1500 device on memory failure...
test/shell/vgchange-maxlv.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_dmeventd aux prepare_pvs 3
test/shell/vgchange-partial.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_vg 2
test/shell/vgchange-sysinit.sh +3 -3
@@ -9,10 +9,10 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_CLVMD=1 +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_CLVMD && skip -test -e LOCAL_LVMPOLLD && skip +. lib/inittest which mkfs.ext3 || skip
test/shell/vgchange-usage.sh +1 -2
@@ -10,11 +10,10 @@ # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA test_description='Exercise some vgchange diagnostics' +SKIP_WITH_LVMPOLLD=1 . lib/inittest -test -e LOCAL_LVMPOLLD && skip - aux prepare_pvs 4 pvcreate --metadatacopies 0 "$dev1"
test/shell/vgck.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_vg 3 lvcreate -n blabla -L 1 $vg
test/shell/vgcreate-many-pvs.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest # # Test to exercise larger number of PVs in a VG
test/shell/vgcreate-usage.sh +1 -2
@@ -10,11 +10,10 @@ # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA test_description='Exercise some vgcreate diagnostics' +SKIP_WITH_LVMPOLLD=1 . lib/inittest -test -e LOCAL_LVMPOLLD && skip - aux prepare_devs 3 pvcreate "$dev1" "$dev2" pvcreate --metadatacopies 0 "$dev3"
test/shell/vgextend-restoremissing.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_vg 3
test/shell/vgextend-usage.sh +2 -2
@@ -13,9 +13,9 @@ # Exercise various vgextend commands # -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_devs 5
test/shell/vgimportclone.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_devs 2
test/shell/vgmerge-operation.sh +1 -2
@@ -10,11 +10,10 @@ # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA test_description='Test vgmerge operation' +SKIP_WITH_LVMPOLLD=1 . lib/inittest -test -e LOCAL_LVMPOLLD && skip - aux prepare_pvs 4 64 # 'vgmerge succeeds with single linear LV in source VG'
test/shell/vgmerge-usage.sh +1 -2
@@ -10,11 +10,10 @@ # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # 'Test vgmerge command options for validity' +SKIP_WITH_LVMPOLLD=1 . lib/inittest -test -e LOCAL_LVMPOLLD && skip - aux prepare_pvs 4 # 'vgmerge normal operation'
test/shell/vgreduce-removemissing-snapshot.sh +4 -3
@@ -9,9 +9,10 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_CLVMD=1 +SKIP_WITH_LVMPOLLD=1 -exit 0 +. lib/inittest # # Snapshots of 'mirrors' are not supported. They can no longer be created.
@@ -21,7 +22,7 @@ exit 0 aux prepare_vg 5 -lvcreate --type mirror -m 3 --ig -L 2M -n 4way $vg "$dev1" "$dev2" "$dev3" "$dev4" "$dev5":0 +lvcreate --type mirror -m 3 -L 2M -n 4way $vg "$dev1" "$dev2" "$dev3" "$dev4" "$dev5":0 lvcreate -s $vg/4way -L 2M -n snap lvcreate -i 2 -L 2M $vg "$dev1" "$dev2" -n stripe
test/shell/vgreduce-usage.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_devs 4
test/shell/vgremove-corrupt-vg.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_vg 3 lvcreate -n blabla -L 1 $vg -an --zero n
test/shell/vgrename-usage.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_devs 4 pvcreate "$dev1" "$dev2"
test/shell/vgsplit-operation.sh +2 -2
@@ -12,12 +12,12 @@ # Test vgsplit operation, including different LV types # disable lvmetad logging as it bogs down test systems +SKIP_WITH_LVMPOLLD=1 + export LVM_TEST_LVMETAD_DEBUG_OPTS=${LVM_TEST_LVMETAD_DEBUG_OPTS-} . lib/inittest -test -e LOCAL_LVMPOLLD && skip - COMM() { LAST_TEST="$@" }
test/shell/vgsplit-raid.sh +1 -2
@@ -10,11 +10,10 @@ # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # Test vgsplit operation, including different LV types +SKIP_WITH_LVMPOLLD=1 . lib/inittest -test -e LOCAL_LVMPOLLD && skip - COMM() { LAST_TEST="$@" }
test/shell/vgsplit-stacked.sh +2 -2
@@ -9,9 +9,9 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux extend_filter_LVMTEST aux prepare_pvs 3
test/shell/vgsplit-thin.sh +2 -2
@@ -11,12 +11,12 @@ # Test vgsplit command options for validity +SKIP_WITH_LVMPOLLD=1 + export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false} . lib/inittest -test -e LOCAL_LVMPOLLD && skip - aux have_thin 1 0 0 || skip aux prepare_devs 5
test/shell/vgsplit-usage.sh +2 -2
@@ -11,9 +11,9 @@ # Test vgsplit command options for validity -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest aux prepare_devs 5
test/shell/zero-usage.sh +2 -2
@@ -11,9 +11,9 @@ # Basic usage of zero target -. lib/inittest +SKIP_WITH_LVMPOLLD=1 -test -e LOCAL_LVMPOLLD && skip +. lib/inittest which md5sum || skip