Page MenuHomeFreeBSD

pf tests: Only do post-test logging when specifically enabled
ClosedPublic

Authored by kp on Feb 1 2022, 5:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Aug 13, 5:52 PM
Unknown Object (File)
Wed, Aug 12, 5:04 PM
Unknown Object (File)
Sat, Aug 8, 12:08 PM
Unknown Object (File)
Sat, Aug 8, 11:15 AM
Unknown Object (File)
Sat, Aug 8, 9:26 AM
Unknown Object (File)
Sat, Aug 8, 5:48 AM
Unknown Object (File)
Jul 19 2026, 7:39 PM
Unknown Object (File)
Jun 25 2026, 8:02 AM

Details

Summary

The pf tests have the ability to log state information (pf rules, pf
states, interfaces, ...) on exit (i.e. on success or on error).
This is useful, but only in specific cases. When it's not needed it may
get in the way of clear output.

Test scripts can add 'debug' to the pft_init call to enable this for the
specified test.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable