From 97662635c21b666cd2d5686ae1c85314b5f42152 Mon Sep 17 00:00:00 2001 From: lixiaokeng Date: Sat, 20 Feb 2021 16:30:32 +0800 Subject: [PATCH] add make test --- multipath-tools.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/multipath-tools.spec b/multipath-tools.spec index e40d8ba..26ed923 100644 --- a/multipath-tools.spec +++ b/multipath-tools.spec @@ -1,6 +1,6 @@ Name: multipath-tools Version: 0.8.5 -Release: 1 +Release: 2 Summary: Tools to manage multipath devices with the device-mapper License: GPLv2-or-later and LGPLv2+ URL: http://christophe.varoqui.free.fr/ @@ -27,6 +27,7 @@ Patch16: 0016-bugfix-clear-mpp-path-reference-when-path-is-freed-otherwis.patch BuildRequires: gcc, libaio-devel, userspace-rcu-devel, device-mapper-devel >= 1.02.89 BuildRequires: libselinux-devel, libsepol-devel, readline-devel, ncurses-devel, git BuildRequires: systemd-units, systemd-devel, json-c-devel, perl-interpreter, pkgconfig +BuildRequires: libcmocka, libcmocka-devel Requires: userspace-rcu, json-c, device-mapper >= 1.02.96 Requires: kpartx = %{version}-%{release} Requires(post): systemd-units @@ -100,6 +101,9 @@ make install \ install -d %{buildroot}/etc/multipath rm -rf %{buildroot}/%{_initrddir} +%check +make test + %post /sbin/ldconfig @@ -163,6 +167,9 @@ fi %changelog +* Sat Feb 20 2020 lixiaokeng - 0.8.5-2 +- add make test + * Sat Jan 30 2020 lixiaokeng - 0.8.5-1 - update to 0.8.5 -- Gitee