1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/test/lib
David Teigland ad9cbe2714 tests: direct control of lvm1 usage in tests
Using lvm1 metadata with lvmetad is not generally allowed,
but nothing has prevented creating new lvm1 metadata with
lvmetad (missing error checking in pvcreate/vgcreate.)
Various tests are using lvm1 with lvmetad and happen to
work because of the missing error checks.

This commit fixes the tests so they won't fail when the
lvm1/lvmetad error checking is fixed.  A new variable
LVM_TEST_LVM1 is defined and is used in the scripts to
decide if lvm1 metadata should be tested.  LVM_TEST_LVM1
is not defined when lvmetad is being tested, and the
combination of LVM_TEST_LVM1 and LVM_TEST_LVMETAD can
be used to verify the desired lvmetad+lvm1 behavior.
2016-03-03 14:43:19 -06:00
..
aux.sh tests: add driver_at_least() to aux.sh 2016-02-25 16:40:58 +00:00
brick-shelltest.h tests: add missing --skip option and S env.variable 2015-11-19 12:00:59 +01:00
check.sh tests: add "get lvh_field" for "lvs -H" 2016-03-03 13:50:59 +01:00
flavour-ndev-cluster-lvmpolld.sh lvmpolld: Add standalone polldaemon. 2015-05-09 00:59:18 +01:00
flavour-ndev-cluster.sh tests: direct control of lvm1 usage in tests 2016-03-03 14:43:19 -06:00
flavour-ndev-lvmetad-lvmpolld.sh lvmpolld: Add standalone polldaemon. 2015-05-09 00:59:18 +01:00
flavour-ndev-lvmetad.sh tests: export shell vars 2015-03-19 11:23:44 +01:00
flavour-ndev-lvmpolld.sh lvmpolld: Add standalone polldaemon. 2015-05-09 00:59:18 +01:00
flavour-ndev-vanilla.sh tests: direct control of lvm1 usage in tests 2016-03-03 14:43:19 -06:00
flavour-udev-cluster-lvmpolld.sh lvmpolld: Add standalone polldaemon. 2015-05-09 00:59:18 +01:00
flavour-udev-cluster.sh tests: direct control of lvm1 usage in tests 2016-03-03 14:43:19 -06:00
flavour-udev-lvmetad-lvmpolld.sh lvmpolld: Add standalone polldaemon. 2015-05-09 00:59:18 +01:00
flavour-udev-lvmetad.sh tests: export shell vars 2015-03-19 11:23:44 +01:00
flavour-udev-lvmlockd-dlm.sh Add lvmlockd 2015-07-02 15:42:26 -05:00
flavour-udev-lvmlockd-sanlock.sh Add lvmlockd 2015-07-02 15:42:26 -05:00
flavour-udev-lvmlockd-test.sh test: add make check_lvmlockd_test 2016-02-22 09:36:35 -06:00
flavour-udev-lvmpolld.sh lvmpolld: Add standalone polldaemon. 2015-05-09 00:59:18 +01:00
flavour-udev-vanilla.sh tests: direct control of lvm1 usage in tests 2016-03-03 14:43:19 -06:00
get.sh tests: add "get lvh_field" for "lvs -H" 2016-03-03 13:50:59 +01:00
harness.c doc: change fsf address 2016-01-21 12:11:37 +01:00
inittest.sh tests: updates for check_lvmlockd 2016-02-23 14:00:28 -06:00
lvm-wrapper.sh doc: change fsf address 2016-01-21 12:11:37 +01:00
not.c doc: change fsf address 2016-01-21 12:11:37 +01:00
runner.cpp tests: capture and print thrown errors 2015-03-11 21:17:23 +01:00
test-corosync-conf Add lvmlockd 2015-07-02 15:42:26 -05:00
test-dlm-conf Add lvmlockd 2015-07-02 15:42:26 -05:00
test-sanlock-conf test: add make check_lvmlockd_test 2016-02-22 09:36:35 -06:00
utils.sh doc: change fsf address 2016-01-21 12:11:37 +01:00