1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/test/shell
Peter Rajnoha 1c005b557a tests: select-tools.sh: pvchange now uses process_each_pv
pvchange now uses process_each_pv so uncomment parts of the test
which check proper functionality of intersection between selection
result and PVs or PV tags directly provided on command line. This
didn't work properly before when pvchange was not using process_each_pv.

For example:

  pvchange -u -S 'pv_name=/dev/sda' /dev/sdb

..changes nothing since clearly the intersection of /dev/sda and
/dev/sdb is empty set. The same applies for tags:

  pvchange -u -S 'pv_name=/dev/sda' @some_tag

..changes nothing if /dev/sda is not tagged with some_tag.
2015-02-13 11:27:09 +01:00
..
000-basic.sh test: Fix failures due to undefined abs_top_builddir. 2015-02-05 13:47:21 +01:00
activate-minor.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
activate-missing-segment.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
activate-missing.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
activate-partial.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
activation-skip.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
clvmd-restart.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
covercmd.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
discards-thin.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
dmeventd-restart.sh test: Fix failures due to undefined abs_top_builddir. 2015-02-05 13:47:21 +01:00
dumpconfig.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
error-usage.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
fsadm.sh tests: avoid hiding results in local 2014-07-02 10:45:43 +02:00
inconsistent-metadata.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
listings.sh toollib: fix regression in parsing /dev/mapper/vg-lv 2014-11-26 17:29:35 +01:00
lock-blocking.sh test: Avoid passing -c to flock. 2015-02-05 13:47:21 +01:00
lock-parallel.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvchange-cache.sh test: Also test repeated --cachesettings in lvchange-cache. 2014-11-20 16:51:07 +01:00
lvchange-mirror.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvchange-partial-raid10.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvchange-partial.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvchange-raid10.sh tests: add have_cache and have_raid 2014-05-20 21:50:30 +02:00
lvchange-raid456.sh tests: add have_cache and have_raid 2014-05-20 21:50:30 +02:00
lvchange-raid.sh tests: syncaction needs kernel fix 2014-10-24 16:39:32 +02:00
lvchange-syncaction-raid.sh tests: raid syncaction test 2014-10-30 23:58:49 +01:00
lvchange-thin.sh tests: fix volume list test 2014-08-26 14:13:07 +02:00
lvconvert-cache-raid.sh tests: explicit raid sync 2014-11-14 18:12:44 +01:00
lvconvert-cache-thin.sh tests: lvconvert cache usage of thin pool 2014-10-06 15:31:44 +02:00
lvconvert-cache.sh tests: cache snapshot 2014-11-10 22:05:49 +01:00
lvconvert-mirror-basic-0.sh tests: updates 2014-02-27 13:01:04 +01:00
lvconvert-mirror-basic-1.sh tests: updates 2014-02-27 13:01:04 +01:00
lvconvert-mirror-basic-2.sh tests: updates 2014-02-27 13:01:04 +01:00
lvconvert-mirror-basic-3.sh tests: updates 2014-02-27 13:01:04 +01:00
lvconvert-mirror-basic.sh test: Disable lvmetad logging in lvconvert-{mirror,raid}*. 2015-02-05 13:47:19 +01:00
lvconvert-mirror-updown.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-mirror.sh test: Disable lvmetad logging in lvconvert-{mirror,raid}*. 2015-02-05 13:47:19 +01:00
lvconvert-raid10.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-raid456.sh test: Test failing due to too few PVs 2014-07-10 18:53:46 -05:00
lvconvert-raid-allocation.sh test: Fix lvconvert-raid-allocation's use of lvconvert --repair. 2014-10-07 16:12:04 +02:00
lvconvert-raid.sh test: Disable lvmetad logging in lvconvert-{mirror,raid}*. 2015-02-05 13:47:19 +01:00
lvconvert-repair-dmeventd.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-repair-policy.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-repair-raid-dmeventd.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-repair-raid.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-repair-replace.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-repair-snapshot.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-repair-thin.sh thin: preserve chunksize with lvconvert 2015-01-28 15:15:52 +01:00
lvconvert-repair-transient-dmeventd.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-repair-transient.sh tests: ensure array is synchronized 2015-02-12 15:38:51 +01:00
lvconvert-repair.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvconvert-snapshot.sh tests: use snapshot targets 2014-11-19 23:24:18 +01:00
lvconvert-thin-external.sh tests: new lvconvert features 2014-07-22 22:41:41 +02:00
lvconvert-thin-raid.sh tests: test stacked raid 2015-01-30 12:33:52 +01:00
lvconvert-thin.sh lvconvert: earlier detection of conflicting names 2014-11-24 14:39:04 +01:00
lvconvert-twostep.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvcreate-cache.sh report: Add cache_policy and cache_settings (LV) segment fields. 2014-12-17 14:43:12 +01:00
lvcreate-large-raid10.sh tests: use old virt snaps in the test 2014-11-22 18:51:02 +01:00
lvcreate-large-raid.sh tests: use old virt snaps in the test 2014-11-22 18:51:02 +01:00
lvcreate-large.sh tests: use old virt snaps in the test 2014-11-22 18:51:02 +01:00
lvcreate-mirror.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvcreate-missing.sh tests: use aux func to disable device 2014-10-30 23:58:49 +01:00
lvcreate-operation.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvcreate-pvtags.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvcreate-raid10.sh test: Fix 100%FREE RAID tests since test device sizes changed slightly. 2015-02-05 13:47:20 +01:00
lvcreate-raid.sh test: Fix 100%FREE RAID tests since test device sizes changed slightly. 2015-02-05 13:47:20 +01:00
lvcreate-repair.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvcreate-signature-wiping.sh tests: avoid hiding results in local 2014-07-02 10:45:43 +02:00
lvcreate-small-snap.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvcreate-striped-mirror.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvcreate-thin-external.sh tests: lvcreate external origin 2014-10-06 15:31:33 +02:00
lvcreate-thin-power2.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvcreate-thin-snap.sh tests: new lvcreate functionality 2014-10-24 16:39:32 +02:00
lvcreate-thin.sh thin: add missing 64KB rounding 2014-11-26 09:29:25 +01:00
lvcreate-usage.sh tests: usage of -m0 -Mn 2014-11-03 14:19:34 +01:00
lvextend-percent-extents.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvextend-snapshot-dmeventd.sh test: Allow a longer timeout for lvextend-snapshot-dmeventd. 2015-02-05 13:51:06 +01:00
lvextend-snapshot-policy.sh tests: remove dmeventd usage 2014-06-19 12:48:21 +02:00
lvextend-thin-metadata-dmeventd.sh tests: detect version of thin_restore command 2014-06-17 13:43:05 +02:00
lvextend-thin.sh tests: put devs into "" 2014-10-07 10:19:33 +02:00
lvm-init.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvmcache-exercise.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvmetad-ambiguous.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvmetad-client-filter.sh lvmetad: Differentiate between filtered and truly missing devices. 2014-09-10 22:58:22 +01:00
lvmetad-disabled.sh tests: replace cat with $(< 2014-07-02 10:45:44 +02:00
lvmetad-dump.sh tests: put devs into "" 2014-10-07 10:19:33 +02:00
lvmetad-lvm1.sh tests: put devs into "" 2014-10-07 10:19:33 +02:00
lvmetad-lvscan-cache.sh tests: put devs into "" 2014-10-07 10:19:33 +02:00
lvmetad-no-cluster.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvmetad-override.sh tests: put devs into "" 2014-10-07 10:19:33 +02:00
lvmetad-pvs.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvmetad-pvscan-cache.sh tests: put devs into "" 2014-10-07 10:19:33 +02:00
lvmetad-pvscan-filter.sh tests: pvscan --cache DevicePath does not fail if the device is just filtered 2015-01-12 15:16:57 +01:00
lvmetad-pvscan-md.sh tests: pvscan --cache DevicePath does not fail if the device is just filtered 2015-01-12 15:16:57 +01:00
lvmetad-pvscan-nomda.sh tests: replace cat with $(< 2014-07-02 10:45:44 +02:00
lvmetad-restart.sh tests: replace cat with $(< 2014-07-02 10:45:44 +02:00
lvmetad-test.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvmetad-warning.sh tests: replace cat with $(< 2014-07-02 10:45:44 +02:00
lvresize-mirror.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvresize-raid10.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvresize-raid.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvresize-rounding.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvresize-thin-external-origin.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
lvresize-thin-metadata.sh tests: use full option name 2014-07-22 22:41:41 +02:00
lvresize-usage.sh tests: put devs into "" 2014-10-07 10:19:33 +02:00
lvs-cache.sh report: fix segfault on NULL value hit in cache_settings field 2014-12-18 17:26:12 +01:00
mda-rollback.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
mdata-strings.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
metadata-balance.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
metadata-dirs.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
metadata.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
mirror-names.sh tests: put devs into "" 2014-10-07 10:19:33 +02:00
mirror-vgreduce-removemissing.sh test: Disable lvmetad debug log on another bunch of tests. 2015-02-05 13:51:06 +01:00
name-mangling.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
nomda-missing.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
nomda-restoremissing.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
orphan-ondisk.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
pool-labels.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
process-each-duplicate-vgnames.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
process-each-lv.sh test: Disable lvmetad debug log on another bunch of tests. 2015-02-05 13:51:06 +01:00
process-each-pv-nomda-all.sh tests: put devs into "" 2014-10-07 10:19:33 +02:00
process-each-pv-nomda.sh tests: put devs into "" 2014-10-07 10:19:33 +02:00
process-each-pv.sh tests: put devs into "" 2014-10-07 10:19:33 +02:00
process-each-pvresize.sh tests: put devs into "" 2014-10-07 10:19:33 +02:00
process-each-vg.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
profiles-thin.sh tests: LV's zero field now reported as binary field 2014-07-10 15:30:28 +02:00
profiles.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
pv-duplicate-uuid.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
pv-duplicate.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
pv-min-size.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
pv-range-overflow.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
pvchange-usage.sh tests: put devs into "" 2014-10-07 10:19:33 +02:00
pvcreate-bootloaderarea.sh tests: put devs into "" 2014-10-07 10:19:33 +02:00
pvcreate-ff.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
pvcreate-metadata0.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
pvcreate-operation-md.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
pvcreate-operation.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
pvcreate-usage.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
pvmove-all-segtypes.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
pvmove-background.sh tests: put devs into "" 2014-10-07 10:19:33 +02:00
pvmove-basic.sh test: Disable lvmetad debug log on another bunch of tests. 2015-02-05 13:51:06 +01:00
pvmove-cache-segtypes.sh pool: fix removal of pool metadata spare 2014-11-13 13:09:07 +01:00
pvmove-raid-segtypes.sh pvmove: Enable all-or-nothing (atomic) pvmoves 2014-06-17 22:59:36 -05:00
pvmove-restart.sh test: Fix a typo in shell/pvmove-restart.sh. 2015-02-10 12:42:05 +01:00
pvmove-thin-segtypes.sh pvmove: Enable all-or-nothing (atomic) pvmoves 2014-06-17 22:59:36 -05:00
pvremove-thin.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
pvremove-usage.sh test: pvs bz1108394 2014-06-12 11:56:06 +02:00
pvremove-warnings.sh pvremove: Avoid metadata re-reads & related error messages. 2015-01-06 14:27:30 +01:00
read-ahead.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
select-report.sh tests: rename report-select.sh to select-report.sh 2015-02-11 16:17:05 +01:00
select-tools.sh tests: select-tools.sh: pvchange now uses process_each_pv 2015-02-13 11:27:09 +01:00
snapshot-autoumount-dmeventd.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
snapshot-cluster.sh tests: test for rename of snapshot 2014-09-09 20:17:47 +02:00
snapshot-lvm1.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
snapshot-maxsize.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
snapshot-merge.sh tests: avoid hiding results in local 2014-07-02 10:45:43 +02:00
snapshot-reactivate.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
snapshot-rename.sh tests: test for rename of snapshot 2014-09-10 22:59:13 +01:00
snapshot-usage.sh tests: use snapshot targets 2014-11-19 23:24:18 +01:00
snapshots-of-mirrors.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
stray-device-node.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
tags.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
test-partition.sh tests: add --force to sfdisk 2015-01-30 16:46:06 +01:00
thin-autoumount-dmeventd.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
thin-defaults.sh tests: LV's zero field now reported as binary field 2014-07-10 15:30:28 +02:00
thin-merge.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
thin-restore.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
thin-vglock.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
thin-volume-list.sh tests: duplicate update of config 2014-11-04 15:29:22 +01:00
topology-support.sh tests: avoid hiding results in local 2014-07-02 10:45:43 +02:00
unknown-segment.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
unlost-pv.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vg-name-from-env.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgcfgbackup-usage.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgchange-many.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgchange-maxlv.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgchange-partial.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgchange-sysinit.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgchange-usage.sh vgchange: support clustered conversion for active lv 2014-09-17 14:41:42 +02:00
vgck.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgcreate-usage.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgextend-restoremissing.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgextend-usage.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgimportclone.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgmerge-operation.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgmerge-usage.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgreduce-removemissing-snapshot.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgreduce-usage.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgremove-corrupt-vg.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgrename-usage.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgsplit-operation.sh test: Disable lvmetad debug log on another bunch of tests. 2015-02-05 13:51:06 +01:00
vgsplit-raid.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgsplit-stacked.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgsplit-thin.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
vgsplit-usage.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00
zero-usage.sh tests: rename test to inittest 2014-06-10 10:51:27 +02:00