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
F106386642: D34133.id102224.diff
Sun, Dec 29, 8:29 PM
Unknown Object (File)
Sun, Dec 29, 3:45 AM
Unknown Object (File)
Wed, Dec 4, 11:23 PM
Unknown Object (File)
Sep 18 2024, 1:00 PM
Unknown Object (File)
Sep 11 2024, 1:30 PM
Unknown Object (File)
Sep 5 2024, 8:19 PM
Unknown Object (File)
Sep 5 2024, 11:25 AM
Unknown Object (File)
Sep 2 2024, 10:22 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