aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2021-11-03 09:34:20 +0000
committerKristof Provost <kp@FreeBSD.org>2021-11-24 16:45:51 +0000
commit094b79ea7342c3c6e5b698816d9486bb80e9518b (patch)
treed932df15c82ccf7402c5eaac928ebabaf0b0035a
parent576d71e383f10cde0de14da16baf98835d51ecec (diff)
downloadsrc-094b79ea7342c3c6e5b698816d9486bb80e9518b.tar.gz
src-094b79ea7342c3c6e5b698816d9486bb80e9518b.zip
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)
-rw-r--r--tests/sys/netpfil/pf/route_to.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/sys/netpfil/pf/route_to.sh b/tests/sys/netpfil/pf/route_to.sh
index e7646a5fb7f7..570d1feb36ff 100644
--- 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()