Lines Matching refs:states
35 atf_set descr 'Test killing states by IPv4 address'
107 atf_set descr 'Test killing states by IPv6 address'
179 atf_set descr 'Test killing states by label'
246 atf_set descr 'Test killing states with multiple labels by label'
324 atf_set descr 'Test killing states by route-to/reply-to address'
367 # Killing states with the relevant gateway does terminate our state
383 atf_set descr 'Test killing matching states'
428 # Expect two states
429 states=$(jexec alcatraz pfctl -s s | wc -l)
430 if [ $states -ne 2 ] ;
432 atf_fail "Expected two states, found $states"
437 states=$(jexec alcatraz pfctl -s s | wc -l)
438 if [ $states -ne 1 ] ;
440 atf_fail "Expected one states, found $states"
444 jexec alcatraz pfctl -F states
449 # Kill matching states, expect all of them to be gone
451 states=$(jexec alcatraz pfctl -s s | wc -l)
452 if [ $states -ne 0 ] ;
454 atf_fail "Expected zero states, found $states"
466 atf_set descr 'Test killing states based on interface'
502 # Flushing states on a different interface doesn't affect our state
509 # Flushing on the correct interface does (even with floating states)