3 . $(atf_get_srcdir)/utils.subr
5 atf_test_case "pr183198" "cleanup"
8 atf_set descr 'Test tables referenced by rules in anchors'
9 atf_set require.user root
17 vnet_mkjail alcatraz ${epair}b
18 jexec alcatraz pfctl -e
20 # Forward with pf enabled
21 pft_set_rules alcatraz \
22 "table <test> { 10.0.0.1, 10.0.0.2, 10.0.0.3 }" \
24 "anchor \"epair\" on ${epair}b { \n\
25 pass in from <test> \n\
28 atf_check -s exit:0 -o ignore jexec alcatraz pfctl -sr -a '*'
29 atf_check -s exit:0 -o ignore jexec alcatraz pfctl -t test -T show
39 atf_add_test_case "pr183198"