enable make check

Signed-off-by: hubin <hubin73@huawei.com>
This commit is contained in:
hubin 2023-02-16 11:36:07 +08:00
parent 45b1203e19
commit d2b392ee32

View File

@ -1,6 +1,6 @@
Name: lsof
Version: 4.93.2
Release: 8
Release: 9
Summary: A tool for list open files
License: zlib and Sendmail and LGPLv2+
URL: https://people.freebsd.org/~abe/
@ -39,6 +39,13 @@ install -p -m 0755 lsof %{buildroot}/%{_bindir}
mkdir -p %{buildroot}/%{_mandir}/man1
install -p -m 0644 lsof.1 %{buildroot}/%{_mandir}/man1/lsof.1
%check
pushd tests
chmod u+w TestDB
./Add2TestDB
make test %{?_smp_mflags} DEBUG="%{optflags} -Wall -Wno-unused"
popd
%files
%doc 00CREDITS
%{_bindir}/%{name}
@ -48,6 +55,12 @@ install -p -m 0644 lsof.1 %{buildroot}/%{_mandir}/man1/lsof.1
%{_mandir}/man*/*
%changelog
* Thu Feb 16 2023 hubin <hubin73@huawei.com> - 4.93.2-9
- Type:testcode
- ID:NA
- SUG:NA
- DESC:enable make check
* Wed Nov 16 2022 dongyuzhen <dongyuzhen@h-partners.com> - 4.93.2-8
- Type:bugfix
- ID:NA