git: b991674ba5af - stable/12 - pf tests: route_to:icmp_nat_head requires scapy

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Wed, 24 Nov 2021 16:58:47 UTC
The branch stable/12 has been updated by kp:

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

commit b991674ba5afeb11b7c4eb70028cce4a4e0ad41f
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2021-11-03 09:34:20 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2021-11-24 16:57:23 +0000

    pf tests: route_to:icmp_nat_head requires scapy
    
    Document the requirement so the test is skipped if scapy is not
    installed.
    
    MFC after:      3 weeks
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
    
    (cherry picked from commit 11703705c2f77498246b9523aae44040bd346c00)
---
 tests/sys/netpfil/pf/route_to.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/sys/netpfil/pf/route_to.sh b/tests/sys/netpfil/pf/route_to.sh
index e7646a5fb7f7..570d1feb36ff 100755
--- a/tests/sys/netpfil/pf/route_to.sh
+++ b/tests/sys/netpfil/pf/route_to.sh
@@ -257,6 +257,7 @@ icmp_nat_head()
 {
 	atf_set descr 'Test that ICMP packets are correct for route-to + NAT'
 	atf_set require.user root
+	atf_set require.progs scapy
 }
 
 icmp_nat_body()