1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/test
Dave Wysochanski 3332edacb9 Add device creation to basic nightly test.
Ensure we can create devices for use in tests before running the real
tests.  This may in various cases, and may involve machine configuration
rather than a failure in some specific test.
For example, if a test is run with LVM_TEST_DIR=/tmp, selinux is enabled,
and the default security context is set to "<<none>>" for /tmp, all the
tests will fail, unable to create devices, since dmsetup will fail, a
result of machpathcon() returning an error code.

Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
2010-04-20 15:19:36 +00:00
..
api Add missing readline linkage to lvm2app test. 2010-04-14 16:13:34 +00:00
.gitignore Add testing framework, along with first few tests. 2007-09-18 14:00:42 +00:00
check.sh More testsuite helpers for check.sh. 2010-04-12 19:33:58 +00:00
harness.c Fix a reversed exit status from test harness. 2010-04-13 07:34:19 +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 Refactor the test utilities, dropping the legacy test-lib.sh and curtailing 2010-04-07 14:46:26 +00:00
Makefile.in Add check_cluster and check_local targets in addition to just "check". 2010-04-13 13:28:52 +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 Add device creation to basic nightly test. 2010-04-20 15:19:36 +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 Refactor the test utilities, dropping the legacy test-lib.sh and curtailing 2010-04-07 14:46:26 +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-lvchange-mirror.sh Explode t-mirror-basic into a number of smaller tests. 2010-04-12 19:16:24 +00:00
t-lvconvert-mirror.sh Absorb t-mirror-lvconvert-usage into t-lvconvert-mirror. 2010-04-12 19:32:58 +00:00
t-lvconvert-repair-policy.sh Allow incomplete mirror restore in lvconvert --repair upon insufficient space. 2010-04-14 13:51:58 +00:00
t-lvconvert-repair-replace.sh Allow incomplete mirror restore in lvconvert --repair upon insufficient space. 2010-04-14 13:51:58 +00:00
t-lvconvert-repair.sh Allow incomplete mirror restore in lvconvert --repair upon insufficient space. 2010-04-14 13:51:58 +00:00
t-lvcreate-mirror.sh Explode t-mirror-basic into a number of smaller tests. 2010-04-12 19:16:24 +00:00
t-lvcreate-operation.sh Refactor the test utilities, dropping the legacy test-lib.sh and curtailing 2010-04-07 14:46:26 +00:00
t-lvcreate-pvtags.sh Refactor the test utilities, dropping the legacy test-lib.sh and curtailing 2010-04-07 14:46:26 +00:00
t-lvcreate-usage.sh Fix t-lvcreate-usage, as lvcreate ... -i1 no longer prints "Redundant stripes 2010-04-13 06:25:08 +00:00
t-lvextend-percent-extents.sh In testsuite, catch also failures that happen in the middle of a pipeline. 2010-02-17 15:41:28 +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-mirror.sh Explode t-mirror-basic into a number of smaller tests. 2010-04-12 19:16:24 +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-lvconvert.sh Avoid spurious skips in the testsuite due to obsoleted 2010-04-07 16:00:19 +00:00
t-mirror-names.sh Avoid spurious skips in the testsuite due to obsoleted 2010-04-07 16:00:19 +00:00
t-mirror-vgreduce-removemissing.sh Avoid spurious skips in the testsuite due to obsoleted 2010-04-07 16:00:19 +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 Add pvchange -u --all to testsuite. 2010-03-17 17:02:01 +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 Fix teardown in t-pvcreate-operation-md.sh nightly test. 2010-04-13 21:42:44 +00:00
t-pvcreate-operation.sh Refactor the test utilities, dropping the legacy test-lib.sh and curtailing 2010-04-07 14:46:26 +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 And another test that should have been failing - normal allocation policy 2010-04-08 01:58:06 +00:00
t-pvremove-usage.sh In testsuite, catch also failures that happen in the middle of a pipeline. 2010-02-17 15:41:28 +00:00
t-read-ahead.sh Refactor the test utilities, dropping the legacy test-lib.sh and curtailing 2010-04-07 14:46:26 +00:00
t-snapshot-merge.sh Add additional test to start the snapshot merge (which had just failed 2010-04-19 22:44:42 +00:00
t-snapshots-of-mirrors.sh Add ability to create mirrored logs for mirror LVs. 2010-03-26 22:15:43 +00:00
t-tags.sh Add nightly test to cover vg/lv tags add/delete. 2010-02-16 17:49:18 +00:00
t-topology-support.sh Refactor the test utilities, dropping the legacy test-lib.sh and curtailing 2010-04-07 14:46:26 +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 Do not pollute /tmp with testing byproducts. 2010-04-12 19:00:23 +00:00
t-vgchange-usage.sh Add get_{pv|vg|lv}_field() nightly test helper functions. 2010-02-16 17:48:46 +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 Enforce distinct-PV allocation of snapshot/origin pairs in vgsplit test. 2010-03-29 16:40:51 +00:00
t-vgsplit-stacked.sh Refactor the test utilities, dropping the legacy test-lib.sh and curtailing 2010-04-07 14:46:26 +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-utils.sh SIGTERM testing clvmd before SIGKILL-ing it. 2010-04-14 12:04:23 +00:00