HomeFreeBSD

pf tests: ensure that $nr expansion is correct

Description

pf tests: ensure that $nr expansion is correct

Test the $nr expansion in labels is correct, even if the optimiser
reduces the rule count.

MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D32489

(cherry picked from commit 914ec9c78dcd5d8f77552fb93d3bc15efe9c0f40)

Details

Provenance
kpAuthored on Oct 3 2021, 4:07 PM
Differential Revision
D32489: pf tests: ensure that $nr expansion is correct
Parents
rG35237559a6a0: pfctl: delay label macro expansion until after rule optimisation
Branches
Unknown
Tags
Unknown