From cddc328ac3860de0918c7331681e707f2e344a5b Mon Sep 17 00:00:00 2001 From: "renmingshuai@huawei.com" Date: Mon, 9 Jan 2023 20:12:27 +0800 Subject: [PATCH] enabled DT testcases (cherry picked from commit 56897baee4d2fe763f061a2fce03ef37a9f574c4) --- conntrack-tools.spec | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/conntrack-tools.spec b/conntrack-tools.spec index e8cf717..c601082 100644 --- a/conntrack-tools.spec +++ b/conntrack-tools.spec @@ -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 - 1.4.6-5 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:enabled DT testcases + * Mon Oct 31 2022 yanglu - 1.4.6-4 - Type:bugfix - ID:NA