Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2025 19:58:29 GMT
From:      Jose Luis Duran <jlduran@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: cf4a4e4fab6b - main - pf tests: Add Scapy as a required program
Message-ID:  <202502171958.51HJwTYI059884@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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()



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502171958.51HJwTYI059884>