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)
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
Unknown Object (File)
Sep 1 2024, 4:04 AM
Unknown Object (File)
Aug 19 2024, 7:48 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