!33 enable make check

From: @hubin95 
Reviewed-by: @xiezhipeng1 
Signed-off-by: @xiezhipeng1
This commit is contained in:
openeuler-ci-bot 2023-02-16 03:59:00 +00:00 committed by Gitee
commit d71ba7b6ea
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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