HomeFreeBSD

pf tests: fix test skipping when pf is not loaded

Description

pf tests: fix test skipping when pf is not loaded

Two test cases in table.sh didn't call pft_init and thus didn't skip if pf is
not loaded.
The fragmentation_pass:v6_route_to test had the test body in the cleanup
function, so got run even when pf was not loaded.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
kpAuthored on Wed, Feb 12, 5:38 PM
Parents
rGd11a19654aab: pf tests: verify that table counters work on match rules
Branches
Unknown
Tags
Unknown