MFC r339627:pf tests: Fix incorrect test for PR 231323Fix r339466. The test result file did not list the rdr rule.Additionally, the route-to rule needs a redirection address.PR: 233739
MFC r339466:pfctl tests: Basic test case for PR 231323PR: 231323
Convert bsd.files.mk to support DIRS and simplify by only having one installtarget.Also update the pfctl tests Makefile to work with this change.Approved by: bapt (mentor)Differential Revision:
Convert bsd.files.mk to support DIRS and simplify by only having one installtarget.Also update the pfctl tests Makefile to work with this change.Approved by: bapt (mentor)Differential Revision: https://reviews.freebsd.org/D16430
show more ...
Skip the pftcl(8) tests if pf isn't loaded.Previously, they would simply fail.MFC after: 2 weeks
DIRDEPS_BUILD: Connect new directories.Sponsored by: Dell EMC Isilon
pfctl parser testsCopy the most important test cases from OpenBSD's correspondingsrc/regress/sbin/pfctl, those that run pfctl on a test input file and checkcorrectness of its output. We have also
pfctl parser testsCopy the most important test cases from OpenBSD's correspondingsrc/regress/sbin/pfctl, those that run pfctl on a test input file and checkcorrectness of its output. We have also added some new tests using the sameformat.The tests consist of a collection of input files (pf*.in) andcorresponding output files (pf*.ok). We run pfctl -nv on the inputfiles and check that the output matches the output files. If anydiscrepancy is discovered during future development in the sourcetree, we know that a regression bug has been introduced into the tree.Submitted by: paggasSponsored by: Google, Inc (GSoC 2017)Differential Revision: https://reviews.freebsd.org/D11322