git: cf4a4e4fab6b - main - pf tests: Add Scapy as a required program
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Feb 2025 19:58:29 UTC
The branch main has been updated by jlduran:
URL: https://cgit.FreeBSD.org/src/commit/?id=cf4a4e4fab6b3b1197f5ebf9e168935b0919f3ef
commit cf4a4e4fab6b3b1197f5ebf9e168935b0919f3ef
Author: Jose Luis Duran <jlduran@FreeBSD.org>
AuthorDate: 2025-02-17 19:50:03 +0000
Commit: Jose Luis Duran <jlduran@FreeBSD.org>
CommitDate: 2025-02-17 19:56:47 +0000
pf tests: Add Scapy as a required program
The utils.subr file includes a couple of subroutines
(ping_dummy_check_request and ping_server_check_reply) that require
Scapy.
Add this requirement in the header of each test that makes use of them.
Reported by: Jenkins
Reviewed by: kp
Approved by: emaste (mentor)
Fixes: 07e070ef0869 ("pf: Add support for multiple source node types")
Differential Revision: https://reviews.freebsd.org/D49004
---
tests/sys/netpfil/pf/src_track.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/sys/netpfil/pf/src_track.sh b/tests/sys/netpfil/pf/src_track.sh
index e79183fd9f72..a9d723bb68a5 100755
--- a/tests/sys/netpfil/pf/src_track.sh
+++ b/tests/sys/netpfil/pf/src_track.sh
@@ -261,6 +261,7 @@ max_src_states_global_head()
{
atf_set descr 'Max states per source global'
atf_set require.user root
+ atf_set require.progs scapy
}
max_src_states_global_body()
@@ -310,6 +311,7 @@ route_to_head()
{
atf_set descr 'Max states per source per rule with route-to'
atf_set require.user root
+ atf_set require.progs scapy
}
route_to_body()