!19 [sync] PR-18: enabled DT testcases

From: @openeuler-sync-bot 
Reviewed-by: @yanan-rock 
Signed-off-by: @yanan-rock
This commit is contained in:
openeuler-ci-bot 2023-01-12 07:15:51 +00:00 committed by Gitee
commit bf8ff030c2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,7 @@
#needsrootforbuild
Name: conntrack-tools
Version: 1.4.6
Release: 4
Release: 5
Summary: Userspace tools for interacting with the Connection Tracking System
License: GPLv2
URL: http://conntrack-tools.netfilter.org/
@ -43,6 +44,15 @@ sed -i "s/DEFAULT_INCLUDES = -I./DEFAULT_INCLUDES = -I. -I\/usr\/include\/tirpc/
CFLAGS="${CFLAGS} -Wl,-z,lazy"
CXXFLAGS="${CXXFLAGS} -Wl,-z,lazy"
%check
cd tests/conntrack
sh run-test.sh
cp ../../src/nfct /usr/sbin/
cd ../nfct
sh run-test.sh
rm -f /usr/sbin/nfct
cd ../../
%make_build
rm -f doc/sync/notrack/conntrackd.conf.orig doc/sync/alarm/conntrackd.conf.orig doc/helper/conntrackd.conf.orig
chmod 644 doc/sync/primary-backup.sh
@ -78,6 +88,12 @@ install -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/conntrackd/
%{_mandir}/man8/*
%changelog
* Mon Jan 09 2023 zhanghao <zhanghao383@huawei.com> - 1.4.6-5
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:enabled DT testcases
* Mon Oct 31 2022 yanglu <yanglu72@h-partners.com> - 1.4.6-4
- Type:bugfix
- ID:NA