aboutsummaryrefslogtreecommitdiff
path: root/tests/sys/netpfil/pf/Makefile
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2017-10-06 20:51:32 +0000
committerKristof Provost <kp@FreeBSD.org>2017-10-06 20:51:32 +0000
commitc0b63519b0309515445f4a973f4a727bf9ba077a (patch)
tree9e97643e0db5322f4677c25734c8bc5c7f4b41ed /tests/sys/netpfil/pf/Makefile
parent1d6f5f214a6ee80570ad56583cb58acfc6cf84d2 (diff)
downloadsrc-c0b63519b0309515445f4a973f4a727bf9ba077a.tar.gz
src-c0b63519b0309515445f4a973f4a727bf9ba077a.zip
pf: Very basic forwarding test
This test illustrates the use of scapy to test pf. Differential Revision: https://reviews.freebsd.org/D12581
Notes
Notes: svn path=/head/; revision=324376
Diffstat (limited to 'tests/sys/netpfil/pf/Makefile')
-rw-r--r--tests/sys/netpfil/pf/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/sys/netpfil/pf/Makefile b/tests/sys/netpfil/pf/Makefile
index 72e373db3310..fe0080d76c5d 100644
--- a/tests/sys/netpfil/pf/Makefile
+++ b/tests/sys/netpfil/pf/Makefile
@@ -4,8 +4,12 @@ PACKAGE= tests
TESTSDIR= ${TESTSBASE}/sys/netpfil/pf
-ATF_TESTS_SH+= pass_block
+ATF_TESTS_SH+= pass_block \
+ forward
-${PACKAGE}FILES+= utils.subr
+${PACKAGE}FILES+= utils.subr \
+ pft_ping.py
+
+${PACKAGE}FILESMODE_pft_ping.py= 0555
.include <bsd.test.mk>