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-03 09:35:09 +0000
commit11703705c2f77498246b9523aae44040bd346c00 (patch)
tree5f36e2b14f2671d5ed3d6e07263c36c145d93d59
parente03813c3e1fd6aaac87eac3dd258cccb4238ed91 (diff)
downloadsrc-11703705c2f77498246b9523aae44040bd346c00.tar.gz
src-11703705c2f77498246b9523aae44040bd346c00.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")
-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()