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
F132351579: D34133.id102405.diff
Thu, Oct 16, 3:57 AM
Unknown Object (File)
Wed, Oct 15, 3:59 PM
Unknown Object (File)
Mon, Oct 13, 1:51 AM
Unknown Object (File)
Sun, Oct 12, 3:02 AM
Unknown Object (File)
Sun, Oct 12, 3:02 AM
Unknown Object (File)
Sat, Oct 11, 5:13 PM
Unknown Object (File)
Thu, Sep 18, 2:49 AM
Unknown Object (File)
Aug 26 2025, 4:19 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