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)
Sat, Apr 26, 3:20 PM
Unknown Object (File)
Mon, Apr 14, 12:36 PM
Unknown Object (File)
Sun, Apr 13, 12:22 PM
Unknown Object (File)
Sun, Apr 13, 8:13 AM
Unknown Object (File)
Sun, Apr 13, 4:58 AM
Unknown Object (File)
Mar 25 2025, 12:07 AM
Unknown Object (File)
Jan 27 2025, 5:00 PM
Unknown Object (File)
Jan 2 2025, 4:23 PM

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