1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/test
Jim Meyering 6c1d30b737 Run tests with LVM_SYSTEM_DIR pointing to private root and /dev dirs.
This makes the tests more reproducible and helps isolate
them from any existing LVM set-up.
* test/Makefile.in (abs_builddir): Define.
(init.sh): Emit definition of abs_builddir.
* test/lvm-utils.sh (unsafe_losetup_): Keep only the portable,
iterative approach.
(dmsetup_has_dm_devdir_support_): New function.
(init_root_dir_): New function.
Invoke init_root_dir_ for all but the first test.
* test/test-lib.sh (this_test_): Adapt to test-name change.
Invoke lvm-utils.sh much later (after tmpdir creation), and
only if the current test is not being skipped.
Remove useless abs_top_srcdir definition.
Rename t0->test_dir_rand_.
* test/t-lvcreate-pvtags.sh: Skip this test if the available
version of dmsetup is not new enough.
Use global, $G_dev_, rather than hard-coded "/dev".
* test/t-lvcreate-usage.sh: Make --verbose output more useful.


Author: Jim Meyering <jim@meyering.net>
Committer: Jim Meyering <meyering@redhat.com>
2007-10-09 13:13:06 +00:00
..
.gitignore Add testing framework, along with first few tests. 2007-09-18 14:00:42 +00:00
lvm-utils.sh Run tests with LVM_SYSTEM_DIR pointing to private root and /dev dirs. 2007-10-09 13:13:06 +00:00
Makefile.in Run tests with LVM_SYSTEM_DIR pointing to private root and /dev dirs. 2007-10-09 13:13:06 +00:00
mkdtemp Clean-up and wording changes; add copyright notices. 2007-09-18 14:02:22 +00:00
t-000-basic.sh Rename test scripts not to include the 4-digit number. 2007-09-21 17:12:13 +00:00
t-lvcreate-pvtags.sh Run tests with LVM_SYSTEM_DIR pointing to private root and /dev dirs. 2007-10-09 13:13:06 +00:00
t-lvcreate-usage.sh Run tests with LVM_SYSTEM_DIR pointing to private root and /dev dirs. 2007-10-09 13:13:06 +00:00
t-lvextend-percent-extents.sh Avoid over-quoting in shell scripts. 2007-09-24 19:19:18 +00:00
t-pv-range-overflow.sh Avoid over-quoting in shell scripts. 2007-09-24 19:19:18 +00:00
test-lib.sh Run tests with LVM_SYSTEM_DIR pointing to private root and /dev dirs. 2007-10-09 13:13:06 +00:00