From 4c258b6627cc1f8d773ac2dbc7f27e1e428a790e Mon Sep 17 00:00:00 2001 From: yangl777 Date: Mon, 13 Mar 2023 09:21:07 +0000 Subject: [PATCH] enabled DT testcases Signed-off-by: yangl777 --- conntrack-tools.spec | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/conntrack-tools.spec b/conntrack-tools.spec index eec61b5..9e75d26 100644 --- a/conntrack-tools.spec +++ b/conntrack-tools.spec @@ -1,6 +1,7 @@ +#needsrootforbuild Name: conntrack-tools Version: 1.4.6 -Release: 2 +Release: 3 Summary: Userspace tools for interacting with the Connection Tracking System License: GPLv2 URL: http://conntrack-tools.netfilter.org/ @@ -52,6 +53,14 @@ install -d 0755 %{buildroot}%{_unitdir} install -m644 %{SOURCE1} %{buildroot}%{_unitdir}/ install -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/conntrackd/ +%check +cd tests/conntrack +sh run-test.sh +cd ../nfct +sed -i "s/\/usr\/sbin/..\/..\/src/g" test.c +sh run-test.sh +cd ../../ + %post %systemd_post conntrackd.service @@ -75,6 +84,9 @@ install -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/conntrackd/ %{_mandir}/man8/* %changelog +* Thu Mar 09 2023 yanglu - 1.4.6-3 +- Enabled DT testcases + * Mon Nov 09 2020 huanghaitao - 1.4.6-2 - Make help package required by conntrack-tools -- Gitee