1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/test
Mike Snitzer 43d99aab6c Default to checking LV's progress before waiting in _wait_for_single_lv.
Support "wait before testing" using '+' in pvmove and lvconvert
interval.  Doing so overrides the new default of sleeping after checking
the LV's progress.

Sleeping before checking progress can lead to extraneous polldaemons
being left running.  These polldaemons would have otherwise exited had
they checked before sleeping.  Checking progress before sleeping helps
workaround the subtly unreliable nature of "finished" state checking
in _percent_run.

Update test/t-mirror-names.sh to use '+' when providing its lvconvert
interval.
2010-01-22 21:59:42 +00:00
..
api Fix test/api to work with srcdir != builddir. 2009-11-30 15:12:34 +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 Enable udev_sync and udev_rules in lvm.conf by default while running tests. 2010-01-11 15:43:19 +00:00
Makefile.in Define {DM, LVM}_UDEV_DISABLE_CHECKING=1 env. variables for tests. 2010-01-11 15:48:49 +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-policy.sh In lvconvert --repair --use-policies, for the allocate policies, return success 2010-01-08 13:04:10 +00:00
t-lvconvert-repair.sh Explicitly use non-clustered vgcreate in test. 2009-12-28 18:33:04 +00:00
t-lvcreate-operation.sh Explicitly use non-clustered vgcreate in test. 2009-12-28 18:33:04 +00:00
t-lvcreate-pvtags.sh Explicitly use non-clustered vgcreate in test. 2009-12-28 18:33:04 +00:00
t-lvcreate-usage.sh Add tests to check for readahead value in lvcreate. 2009-12-03 01:48:05 +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 Explicitly use non-clustered vgcreate in test. 2009-12-28 18:33:04 +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 Testsuite updates and fixes for recently added features. 2010-01-11 21:20:19 +00:00
t-mirror-names.sh Default to checking LV's progress before waiting in _wait_for_single_lv. 2010-01-22 21:59:42 +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 test/t-pvcreate-operation-md.sh attempt loading raid0.ko if raid0 2010-01-19 15:59:34 +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 Explicitly use non-clustered vgcreate in test. 2009-12-28 18:33:04 +00:00
t-pvremove-usage.sh Fix pvremove test breakage. 2009-07-14 19:59:41 +00:00
t-read-ahead.sh Explicitly use non-clustered vgcreate in test. 2009-12-28 18:33:04 +00:00
t-snapshot-merge.sh add test/t-snapshot-merge.sh to provide coverage of snapshot-merge support 2010-01-19 22:55:00 +00:00
t-snapshots-of-mirrors.sh disable 'redundant' tests 2010-01-12 14:19:46 +00:00
t-topology-support.sh test/t-topology-support.sh requires scsi_debug from >= 2.6.31 2010-01-19 17:06:50 +00:00
t-unknown-segment.sh Handle metadata with unknown segment types more gracefully. 2009-10-16 17:41:49 +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 Explicitly use non-clustered vgcreate in test. 2009-12-28 18:33:04 +00:00
t-vgextend-usage.sh Add to vgcreate and vgextend nightly tests. 2009-10-31 16:43:07 +00:00
t-vgmerge-operation.sh Explicitly use non-clustered vgcreate in test. 2009-12-28 18:33:04 +00:00
t-vgmerge-usage.sh Explicitly use non-clustered vgcreate in test. 2009-12-28 18:33:04 +00:00
t-vgreduce-usage.sh Explicitly use non-clustered vgcreate in test. 2009-12-28 18:33:04 +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 Explicitly use non-clustered vgcreate in test. 2009-12-28 18:33:04 +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 a common way to establish a scsi_debug-based 4K drive for use by an 2010-01-19 16:44:57 +00:00