1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/test/lib
Leo Yan e75bd71aae tests: multi-hosts: Add VG testing
This patch is to add VG testing on multi hosts.  There have two scripts,
the script multi_hosts_vg_hosta.sh is used to create VGs on one host,
and the second script multi_hosts_vg_hostb.sh afterwards will acquire
global lock and VG lock, and remove VGs.  The testing flow verifies the
locking operations between two hosts with lvmlockd and the backend
locking manager.

  On the host A:
    make check_lvmlockd_idm \
      LVM_TEST_BACKING_DEVICE=/dev/sdj3,/dev/sdk3,/dev/sdl3 \
      LVM_TEST_MULTI_HOST=1 T=multi_hosts_vg_hosta.sh

  On the host B:
    make check_lvmlockd_idm \
      LVM_TEST_BACKING_DEVICE=/dev/sdj3,/dev/sdk3,/dev/sdl3 \
      LVM_TEST_MULTI_HOST=1 T=multi_hosts_vg_hostb.sh

Signed-off-by: Leo Yan <leo.yan@linaro.org>
2021-06-03 09:39:32 -05:00
..
aux.sh tests: Cleanup idm context when prepare devices 2021-06-03 09:39:32 -05:00
brick-shelltest.h tests: don't change real test output 2019-09-12 14:45:13 -05:00
check.sh tests: Add checking for lvmlockd log 2021-06-03 09:39:32 -05:00
dmsecuretest.c test: fix missing waiting on udev 2019-12-10 15:44:16 +01:00
flavour-ndev-cluster-lvmpolld.sh lvmpolld: Add standalone polldaemon. 2015-05-09 00:59:18 +01:00
flavour-ndev-cluster.sh disable LVM1 tests 2018-04-20 11:22:46 -05:00
flavour-ndev-devicesfile.sh tests: check_devicesfile 2021-03-08 17:19:26 -06:00
flavour-ndev-lvmpolld.sh lvmpolld: Add standalone polldaemon. 2015-05-09 00:59:18 +01:00
flavour-ndev-vanilla.sh disable LVM1 tests 2018-04-20 11:22:46 -05:00
flavour-udev-cluster-lvmpolld.sh lvmpolld: Add standalone polldaemon. 2015-05-09 00:59:18 +01:00
flavour-udev-cluster.sh disable LVM1 tests 2018-04-20 11:22:46 -05:00
flavour-udev-lvmlockd-dlm.sh tests: separate lvmlockd tests with or without lvmetad 2018-05-30 09:25:45 -05:00
flavour-udev-lvmlockd-idm.sh tests: Enable the testing for IDM locking scheme 2021-06-03 09:39:32 -05:00
flavour-udev-lvmlockd-sanlock.sh tests: separate lvmlockd tests with or without lvmetad 2018-05-30 09:25:45 -05:00
flavour-udev-lvmlockd-test.sh tests: separate lvmlockd tests with or without lvmetad 2018-05-30 09:25:45 -05:00
flavour-udev-lvmpolld.sh lvmpolld: Add standalone polldaemon. 2015-05-09 00:59:18 +01:00
flavour-udev-vanilla.sh disable LVM1 tests 2018-04-20 11:22:46 -05:00
get.sh tests: correct usage of pipe 2018-02-19 16:45:10 +01:00
harness.c configure: avoid repeative inclusion of configure.h 2018-12-21 19:19:50 +01:00
idm_inject_failure.c tests: Support idm failure injection 2021-06-03 09:39:32 -05:00
inittest.sh tests: multi-hosts: Add VG testing 2021-06-03 09:39:32 -05:00
lvm-wrapper.sh tests: scripts double quote 2017-07-10 14:23:53 +02:00
mke2fs.conf tests: add mke2fs.conf 2016-07-04 17:40:25 +02:00
not.c tests: Revert "tests: not redirect strderr to stdout" 2016-09-13 13:23:47 +02:00
runner.cpp tests: capture and print thrown errors 2015-03-11 21:17:23 +01:00
test-corosync-conf fix corosync.conf: no interface error 2020-01-15 09:46:54 -06: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 shellcheck: updates 2021-04-23 23:00:55 +02:00