mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
6c1d30b737
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> |
||
---|---|---|
.. | ||
.gitignore | ||
lvm-utils.sh | ||
Makefile.in | ||
mkdtemp | ||
t-000-basic.sh | ||
t-lvcreate-pvtags.sh | ||
t-lvcreate-usage.sh | ||
t-lvextend-percent-extents.sh | ||
t-pv-range-overflow.sh | ||
test-lib.sh |