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, Apr 18, 8:12 AM
Unknown Object (File)
Thu, Apr 18, 7:37 AM
Unknown Object (File)
Tue, Apr 16, 5:03 PM
Unknown Object (File)
Jan 11 2024, 12:01 PM
Unknown Object (File)
Dec 23 2023, 12:18 AM
Unknown Object (File)
Dec 12 2023, 8:59 AM
Unknown Object (File)
Nov 21 2023, 10:11 AM
Unknown Object (File)
Nov 21 2023, 10:11 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