diff options
author | Kristof Provost <kp@FreeBSD.org> | 2017-10-06 20:43:14 +0000 |
---|---|---|
committer | Kristof Provost <kp@FreeBSD.org> | 2017-10-06 20:43:14 +0000 |
commit | 1d6f5f214a6ee80570ad56583cb58acfc6cf84d2 (patch) | |
tree | a5ebb4acd7318b32d6d5ff146271ab4489d6278e /tests/sys/netpfil/Makefile | |
parent | e29c55e4bb38245e20b138dc833e20b141c2bcac (diff) | |
download | src-1d6f5f214a6ee80570ad56583cb58acfc6cf84d2.tar.gz src-1d6f5f214a6ee80570ad56583cb58acfc6cf84d2.zip |
pf: Basic automated test using VIMAGE
If VIMAGE is present we can start jails with their own pf instance. This
makes it fairly easy to run tests.
For example, this basic test verifies that drop/pass and icmp
classification works. It's a basic sanity test for pf, and hopefully an
example on how to write more pf tests.
The tests are skipped if VIMAGE is not enabled.
This work is inspired by the GSoC work of Panagiotes Mousikides.
Differential Revision: https://reviews.freebsd.org/D12580
Notes
Notes:
svn path=/head/; revision=324375
Diffstat (limited to 'tests/sys/netpfil/Makefile')
-rw-r--r-- | tests/sys/netpfil/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/sys/netpfil/Makefile b/tests/sys/netpfil/Makefile new file mode 100644 index 000000000000..f9719f6ce2b4 --- /dev/null +++ b/tests/sys/netpfil/Makefile @@ -0,0 +1,7 @@ +# $FreeBSD$ + +TESTSDIR= ${TESTSBASE}/sys/netpfil + +TESTS_SUBDIRS+= pf + +.include <bsd.test.mk> |