!30 [sync] PR-26: enabled DT testcases

From: @openeuler-sync-bot 
Reviewed-by: @robertxw 
Signed-off-by: @robertxw
This commit is contained in:
openeuler-ci-bot 2023-12-26 11:31:03 +00:00 committed by Gitee
commit 4805519cad
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: OpenIPMI Name: OpenIPMI
Version: 2.0.32 Version: 2.0.32
Release: 2 Release: 3
Summary: IPMI (Intelligent Platform Management Interface) library and tools Summary: IPMI (Intelligent Platform Management Interface) library and tools
License: LGPLv2+ and GPLv2+ or BSD License: LGPLv2+ and GPLv2+ or BSD
URL: https://sourceforge.net/projects/openipmi/ URL: https://sourceforge.net/projects/openipmi/
@ -92,6 +92,12 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1
%delete_la %delete_la
%check
#Ensure that the library file in the corresponding directory can be obtained during testcase execution
sed -i 's#-lgdbm#-lgdbm -Wl,--rpath=\\$progdir:\\$progdir/../../utils/.libs#g' unix/test_handlers
sed -i 's#-lpthread#-lpthread -Wl,--rpath=\\$progdir:\\$progdir/../../utils/.libs:\\$progdir/../../unix/.libs#g' lanserv/ipmi_sim
make check
%post %post
%systemd_post ipmi.service %systemd_post ipmi.service
@ -142,6 +148,12 @@ echo ".so man1/openipmish.1" > %{buildroot}%{_mandir}/man1/ipmish.1
%exclude %{_mandir}/man1/openipmigui.1 %exclude %{_mandir}/man1/openipmigui.1
%changelog %changelog
* Tue Nov 21 2023 yanglu <yanglu72@h-partners.com> - 2.0.32-3
- Type:enhancement
- CVE:NA
- SUG:NA
- DESC:enable test
* Sat Apr 01 2023 yanglu <yanglu72@h-partners.com> - 2.0.32-2 * Sat Apr 01 2023 yanglu <yanglu72@h-partners.com> - 2.0.32-2
- Type:bugfix - Type:bugfix
- CVE:NA - CVE:NA