]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf tests: Fail the test if we can't set the rules
authorkp <kp@FreeBSD.org>
Thu, 18 Apr 2019 10:54:08 +0000 (10:54 +0000)
committerkp <kp@FreeBSD.org>
Thu, 18 Apr 2019 10:54:08 +0000 (10:54 +0000)
commit61415306076f101e14071f1b5699d3a663f2e021
tree42939bfa3034dd34401aa0470cc00f603d617211
parent3fc25ab528d95d89515d22ec0a0fa41f819c899e
pf tests: Fail the test if we can't set the rules

The test should fail if pf rules can't be set. This is helpful both
while writing tests and to verify that pfctl works as expected.

MFC after: 1 week
Event: Aberdeen hackathon 2019
tests/sys/netpfil/pf/utils.subr