git: 11703705c2f7 - main - pf tests: route_to:icmp_nat_head requires scapy
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 03 Nov 2021 09:49:17 UTC
The branch main has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=11703705c2f77498246b9523aae44040bd346c00
commit 11703705c2f77498246b9523aae44040bd346c00
Author: Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2021-11-03 09:34:20 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
CommitDate: 2021-11-03 09:35:09 +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")
---
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 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()