9b722c3a2d
- Update to LVM2.2.02.180 - Drop the upstream patches - fate-323203_lvmlockd-add-lockopt-values-for-skipping-selected-lo.patch - lvm2-69-dm-lvm-metad.rules-explicit-pvscan-rule.patch - lvm2-69-dm-lvm-metad.rules-set-systemd-vars-on-chang.patch - bug-1095960_dev_io-no-discard-in-testmode.patch - Refresh patches + bsc1080299-detect-clvm-properly.patch + bug-950089_test-fix-lvm2-testsuite-build-error.patch - Fix cmirrord LV creation/activation failure (bsc#1091863) - Fix that pvmove does not work (bsc#1080299) - Fix package name for modprobe during build (bsc#1102668) - Fix building error due to the script interpreter + tests-specify-python3-as-the-script-interpreter.patch - Update to LVM2.2.02.180 - Drop the upstream patches - fate-323203_lvmlockd-add-lockopt-values-for-skipping-selected-lo.patch - lvm2-69-dm-lvm-metad.rules-explicit-pvscan-rule.patch - lvm2-69-dm-lvm-metad.rules-set-systemd-vars-on-chang.patch - bug-1095960_dev_io-no-discard-in-testmode.patch - Refresh patches + bsc1080299-detect-clvm-properly.patch + bug-950089_test-fix-lvm2-testsuite-build-error.patch - Fix cmirrord LV creation/activation failure (bsc#1091863) - Fix that pvmove does not work (bsc#1080299) - Fix package name for modprobe during build (bsc#1102668) - Fix building error due to the script interpreter + tests-specify-python3-as-the-script-interpreter.patch - Update to LVM2.2.02.180 - Drop the upstream patches - fate-323203_lvmlockd-add-lockopt-values-for-skipping-selected-lo.patch - lvm2-69-dm-lvm-metad.rules-explicit-pvscan-rule.patch - lvm2-69-dm-lvm-metad.rules-set-systemd-vars-on-chang.patch - bug-1095960_dev_io-no-discard-in-testmode.patch - Refresh patches + bsc1080299-detect-clvm-properly.patch + bug-950089_test-fix-lvm2-testsuite-build-error.patch - Fix cmirrord LV creation/activation failure (bsc#1091863) - Fix that pvmove does not work (bsc#1080299) - Fix package name for modprobe during build (bsc#1102668) - Fix building error due to the script interpreter + tests-specify-python3-as-the-script-interpreter.patch OBS-URL: https://build.opensuse.org/request/show/630677 OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=227
45 lines
1.4 KiB
Diff
45 lines
1.4 KiB
Diff
commit 0402acbbb9f8f6066a3f7899e8cc3ae72b84ee20
|
|
Author: Zhilong Liu <zlliu@suse.com>
|
|
Date: Wed Dec 7 02:43:10 2016 -0500
|
|
|
|
add a new test package named lvm2-testsuite(bnc#950089)
|
|
+ lvm2-testsuite.patch
|
|
Currently this new package is not enabled by default.
|
|
Please set enable_testsuite to 1 to turn it on in the
|
|
spec file.
|
|
|
|
Eric:
|
|
|
|
This patch is to solve the following obs building error:
|
|
|
|
"""
|
|
E: arch-dependent-file-in-usr-share (Badness: 590) /usr/share/lvm2-testsuite/api/lvtest.t
|
|
...
|
|
"""
|
|
|
|
So, move the *.t binary into /usr/lib/lvm2-testsuite/.
|
|
|
|
Signed-off-by: Zhilong Liu <zlliu@suse.com>
|
|
|
|
diff --git a/test/Makefile.in b/test/Makefile.in
|
|
index f152868..f0845d7 100644
|
|
--- a/test/Makefile.in
|
|
+++ b/test/Makefile.in
|
|
@@ -224,7 +224,7 @@ install: .tests-stamp lib/paths-installed
|
|
$(INSTALL_DATA) api/*.sh $(DATADIR)/api
|
|
$(INSTALL_DATA) unit/*.sh $(DATADIR)/unit
|
|
$(INSTALL_DATA) lib/mke2fs.conf $(DATADIR)/lib
|
|
- $(INSTALL_PROGRAM) api/*.{t,py} $(DATADIR)/api
|
|
+ $(INSTALL_PROGRAM) api/*.py $(DATADIR)/api/
|
|
$(INSTALL_PROGRAM) unit/unit-test $(DATADIR)/unit
|
|
$(INSTALL_PROGRAM) dbus/*.py $(DATADIR)/dbus/
|
|
$(INSTALL_DATA) lib/paths-installed $(DATADIR)/lib/paths
|
|
@@ -244,6 +244,7 @@ install: .tests-stamp lib/paths-installed
|
|
@cd $(EXECDIR) && for i in $(LIB_LINK_NOT); do \
|
|
echo "$(LN_S) -f not $$i"; \
|
|
$(LN_S) -f not $$i; done
|
|
+ $(INSTALL_PROGRAM) api/*.t $(EXECDIR)
|
|
$(INSTALL_PROGRAM) -D lib/runner $(bindir)/lvm2-testsuite
|
|
|
|
lib/should: lib/not
|