path: root/targets
diff options
authorKristof Provost <kp@FreeBSD.org>2017-07-15 19:22:01 +0000
committerKristof Provost <kp@FreeBSD.org>2017-07-15 19:22:01 +0000
commit4d7709ddf6d02189ea57ec409ee00d0a6fecf757 (patch)
treefa79ce9cff8b278b2f21d8ab54c5789d75551f86 /targets
parent4718651cb308596a5899ee9a0b6ff9f9cf7ca55f (diff)
pfctl parser tests
Copy the most important test cases from OpenBSD's corresponding src/regress/sbin/pfctl, those that run pfctl on a test input file and check correctness of its output. We have also added some new tests using the same format. The tests consist of a collection of input files (pf*.in) and corresponding output files (pf*.ok). We run pfctl -nv on the input files and check that the output matches the output files. If any discrepancy is discovered during future development in the source tree, we know that a regression bug has been introduced into the tree. Submitted by: paggas Sponsored by: Google, Inc (GSoC 2017) Differential Revision: https://reviews.freebsd.org/D11322
Notes: svn path=/head/; revision=321030
Diffstat (limited to 'targets')
1 files changed, 1 insertions, 0 deletions
diff --git a/targets/pseudo/tests/Makefile.depend b/targets/pseudo/tests/Makefile.depend
index 0ce21a9461b9..ba22364750fe 100644
--- a/targets/pseudo/tests/Makefile.depend
+++ b/targets/pseudo/tests/Makefile.depend
@@ -185,6 +185,7 @@ DIRDEPS= \
sbin/growfs/tests \
sbin/ifconfig/tests \
sbin/mdconfig/tests \
+ sbin/pfctl/tests \
sbin/tests \
secure/lib/tests \
secure/libexec/tests \