diff options
author | Ondrej Kozina <okozina@redhat.com> | 2015-02-27 16:35:45 +0100 |
---|---|---|
committer | Ondrej Kozina <okozina@redhat.com> | 2015-04-01 11:01:22 +0200 |
commit | f1c027bfadb71061c793e49db810ce7c531ad8fc (patch) | |
tree | 28138638c2d7da4ff4714b23a1db80f18f4b1185 | |
parent | 15f7ff5c9deb42ed5501275702cdec2c98ab0c4d (diff) | |
download | lvm2-f1c027bfadb71061c793e49db810ce7c531ad8fc.tar.gz |
test: add basic lvmpolld flavour
-rw-r--r-- | test/Makefile.in | 10 | ||||
-rw-r--r-- | test/lib/flavour-udev-lvmpolld.sh | 3 |
2 files changed, 12 insertions, 1 deletions
diff --git a/test/Makefile.in b/test/Makefile.in index 0b21aecee..d1dc5ade3 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -132,11 +132,19 @@ check_lvmetad: .tests-stamp --flavours ndev-lvmetad --only $(T) --skip $(S) endif +ifeq ("@BUILD_LVMPOLLD@", "yes") +check_lvmpolld: .tests-stamp + VERBOSE=$(VERBOSE) ./lib/runner \ + --testdir . --outdir results \ + --flavours udev-lvmpolld --only $(T) --skip $(S) +endif + DATADIR = $(datadir)/lvm2-testsuite EXECDIR = $(libexecdir)/lvm2-testsuite LIB_FLAVOURS = lib/flavour-ndev-vanilla lib/flavour-ndev-cluster lib/flavour-ndev-lvmetad \ - lib/flavour-udev-vanilla lib/flavour-udev-cluster lib/flavour-udev-lvmetad + lib/flavour-udev-vanilla lib/flavour-udev-cluster lib/flavour-udev-lvmetad \ + lib/flavour-udev-lvmpolld LIB_LOCAL = lib/paths lib/runner LIB_EXEC = lib/not lib/invalid lib/fail lib/should diff --git a/test/lib/flavour-udev-lvmpolld.sh b/test/lib/flavour-udev-lvmpolld.sh new file mode 100644 index 000000000..e61c7b469 --- /dev/null +++ b/test/lib/flavour-udev-lvmpolld.sh @@ -0,0 +1,3 @@ +LVM_TEST_LOCKING=1 +LVM_TEST_LVMPOLLD=1 +LVM_TEST_DEVDIR=/dev |