path: root/tests/sys/netpfil/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* pf tests: Do not build or install if pf is not enabledKristof Provost2018-04-101-0/+4
| | | | | | | | | | Do not build or install pf tests if WITHOUT_PF is set. This fixes the build failure with WITHOUT_PF=yes. Reported by: Vladimir Zakharov <zakharov.vv@gmail.com> Notes: svn path=/head/; revision=332358
* pf: Basic automated test using VIMAGEKristof Provost2017-10-061-0/+7
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: svn path=/head/; revision=324375