1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/test
Dave Wysochanski 0ddb66efba Add --pvmetadatacopies as a synonym for --metadatacopies in various commands.
Going forward, we would like to allow users to specify the total
number of metadatacopies in a VG rather than on a per-PV basis.  In
order to facilitate that, introduce --pvmetadatacopes to replace
--metadatacopies everywhere.  We still allow --metadatacopies for
pv commands, but require --pvmetadatacopies for vg commands.
Eventually we will introduce --vgmetadatacopies.  Once we do that,
we should either deprecate --metadatacopies or make it a synonym based
on the command (pvmetadatacopies for pv commands, and vgmetadatacopies
for vg commands).  The latter option would likely just require a simple
'strncpy' check against cmd->command->name to qualify the merge_synonym
call.

Update nightly tests to cover the pvmetadatacopies synonym.

Note that this patch is the result of an eariler review comment for
the implicit pvcreate patches.  Should apply cleanly on top of the
implicit pvcreate patches (I applied after patch 10/10 in that series).

NOTE: This patch will require --pvmetadatacopies for vgconvert as
--metadatacopies is no longer accepted.
2009-10-05 20:55:56 +00:00
..
api Allow for a build directory separate from the source. 2009-10-02 19:10:31 +00:00
.gitignore Add testing framework, along with first few tests. 2007-09-18 14:00:42 +00:00
harness.c Change exit() to _exit() in the child process. exit flushes stdio file buffers, 2009-07-13 21:26:41 +00:00
harness.sh Also report the tests that have been skipped, at the end of harness.sh. 2008-11-04 14:37:51 +00:00
lvm2app.sh Fix path to test/api/vgtest in nightly testsuite. 2009-09-04 14:26:16 +00:00
lvm-utils.sh Add tests to check pv_mda_size and vg_mda_size. 2009-05-08 06:10:45 +00:00
Makefile.in Fix lvm2app test to run under test/api subdirectory only when configured. 2009-09-15 19:59:04 +00:00
mkdtemp Clean-up and wording changes; add copyright notices. 2007-09-18 14:02:22 +00:00
not.c In testsuite's not.c, print a notice when program dies of a fatal signal. 2009-02-17 19:37:28 +00:00
t-000-basic.sh Get rid of the mdadm presence check in t-000-basic: no actual test uses 2009-07-13 12:42:26 +00:00
t-covercmd.sh Continue to make --units and --size consistent (in code and man pages): 2009-07-07 19:28:57 +00:00
t-fsadm.sh Add skeleton of fsadm nightly test but skip (doesn't work yet). 2009-01-15 17:14:38 +00:00
t-inconsistent-metadata.sh Fix t-inconsistent-metadata.sh. 2009-07-01 17:06:04 +00:00
t-listings.sh Fix pvseg report for orphan PVs and other devices. 2009-04-21 12:59:18 +00:00
t-lvconvert-repair.sh Use lvconvert --repair instead of vgreduce in mirror dmeventd DSO (mornfall) 2009-06-04 12:01:15 +00:00
t-lvcreate-operation.sh Import a bunch of new tests by jstava. Mostly everything pass, they however 2008-11-11 15:29:24 +00:00
t-lvcreate-pvtags.sh Minor code and documentation cleanups and changes by jstava. 2008-11-10 12:43:35 +00:00
t-lvcreate-usage.sh Update nightly tests to deal with unit changes. 2009-09-30 16:13:53 +00:00
t-lvextend-percent-extents.sh Update nightly tests to deal with unit changes. 2009-09-30 16:13:53 +00:00
t-lvm-init.sh Add t-lvm-init.sh - test lvm init routines and error paths. 2009-07-08 18:14:47 +00:00
t-lvmcache-exercise.sh Update a bunch of tests to use functionality from test-utils.sh. 2008-09-29 16:02:50 +00:00
t-lvresize-usage.sh Update a bunch of tests to use functionality from test-utils.sh. 2008-09-29 16:02:50 +00:00
t-mdata-strings.sh Fix whitespace in t-mdata-strings.sh 2009-04-03 14:23:17 +00:00
t-metadata.sh Add a bunch of sub-tests aimed at testing various bugzillas, by jstava. 2008-11-11 15:46:15 +00:00
t-mirror-basic.sh bz429342 lvcreate --nosync 2008-11-10 12:37:53 +00:00
t-mirror-lvconvert-usage.sh Import a bunch of new tests by jstava. Mostly everything pass, they however 2008-11-11 15:29:24 +00:00
t-mirror-lvconvert.sh Make lvconvert honour log mirror options combined with downconversion. 2009-08-02 21:59:21 +00:00
t-mirror-names.sh add bz264241 check 2008-11-10 12:41:52 +00:00
t-mirror-vgreduce-removemissing.sh Explicitly check after lvremove -ff vg that it did its job. By jstava. 2008-11-10 12:32:00 +00:00
t-partial-activate.sh Refuse to open VG with MISSING_PVs for update unless handles_missing_pvs is set. 2009-07-15 05:47:55 +00:00
t-pool-labels.sh Fix t-pool-labels to pass again after the vgdisplay error return fix from 2008-11-10 13:44:01 +00:00
t-pv-range-overflow.sh More test conversions by jstava. Make check still passes. 2008-10-06 16:47:07 +00:00
t-pvchange-usage.sh More test conversions by jstava. Make check still passes. 2008-10-06 16:47:07 +00:00
t-pvcreate-metadata0.sh More test conversions by jstava. Make check still passes. 2008-10-06 16:47:07 +00:00
t-pvcreate-operation-md.sh Update nightly tests to deal with unit changes. 2009-09-30 16:13:53 +00:00
t-pvcreate-operation.sh Fix various problems in tests 2009-06-06 16:40:39 +00:00
t-pvcreate-usage.sh Add --pvmetadatacopies as a synonym for --metadatacopies in various commands. 2009-10-05 20:55:56 +00:00
t-pvmove-basic.sh If pvmove fails activating mirror volume, try restore to previous state. 2009-05-19 09:51:02 +00:00
t-pvremove-usage.sh Fix pvremove test breakage. 2009-07-14 19:59:41 +00:00
t-read-ahead.sh Update nightly tests to deal with unit changes. 2009-09-30 16:13:53 +00:00
t-unlost-pv.sh Allow metadata correction even when PVs are missing. 2009-06-10 20:17:32 +00:00
t-vgcfgbackup-usage.sh Use PV UUID in hash for device name when exporting metadata. 2009-05-19 09:48:32 +00:00
t-vgchange-usage.sh Import a bunch of new tests by jstava. Mostly everything pass, they however 2008-11-11 15:29:24 +00:00
t-vgcreate-usage.sh Add --pvmetadatacopies as a synonym for --metadatacopies in various commands. 2009-10-05 20:55:56 +00:00
t-vgextend-usage.sh Add --pvmetadatacopies as a synonym for --metadatacopies in various commands. 2009-10-05 20:55:56 +00:00
t-vgmerge-operation.sh add bz264241 check 2008-11-10 12:41:52 +00:00
t-vgmerge-usage.sh Add alphabetical vgname ordering tests for vgsplit, vgmerge, vgrename. 2009-09-02 18:31:11 +00:00
t-vgreduce-usage.sh Minor code and documentation cleanups and changes by jstava. 2008-11-10 12:43:35 +00:00
t-vgrename-usage.sh Add alphabetical vgname ordering tests for vgsplit, vgmerge, vgrename. 2009-09-02 18:31:11 +00:00
t-vgsplit-operation.sh Fix [ a = b ] usage in t-vgsplit-operation: string comparison is '=', not '=='. 2008-09-30 18:29:10 +00:00
t-vgsplit-stacked.sh Add test for RHBZ 481793 (passing, thanks to vg_read changes checked in 2009-08-02 21:45:45 +00:00
t-vgsplit-usage.sh Fix vgsplit test to require -M on ordering of vgnames. 2009-09-02 19:38:53 +00:00
test-lib.sh Export testlib_cleanup_ from test-lib.sh, which is needed for test-utils.sh to 2008-09-29 16:00:53 +00:00
test-utils.sh Add test for RHBZ 481793 (passing, thanks to vg_read changes checked in 2009-08-02 21:45:45 +00:00