The branch main has been updated by mhorne:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=80dadb9c1acf406ec25c6db0d0f8551406ae8920

commit 80dadb9c1acf406ec25c6db0d0f8551406ae8920
Author:     Mitchell Horne <[email protected]>
AuthorDate: 2022-09-15 13:57:07 +0000
Commit:     Mitchell Horne <[email protected]>
CommitDate: 2022-09-15 13:58:42 +0000

    pf tests: require scapy for ether:short_pkt
    
    The pft_ether.py script requires both python and scapy to be installed.
    Check for this so we properly skip the test when it is unavailable.
    
    Reviewed by:    kp
    Fixes:  07ffa50ba075d ("pf tests: test short packets")
    Differential Revision:  https://reviews.freebsd.org/D36561
---
 tests/sys/netpfil/pf/ether.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/sys/netpfil/pf/ether.sh b/tests/sys/netpfil/pf/ether.sh
index 0fe5069cf74c..63ca9080cbd2 100644
--- a/tests/sys/netpfil/pf/ether.sh
+++ b/tests/sys/netpfil/pf/ether.sh
@@ -642,6 +642,7 @@ short_pkt_head()
 {
        atf_set descr 'Test overly short Ethernet packets'
        atf_set require.user root
+       atf_set require.progs scapy
 }
 
 short_pkt_body()

Reply via email to