Lines Matching full:states
48 atf_set descr 'Test killing states by IPv4 address'
111 atf_set descr 'Test killing states by IPv6 address'
178 atf_set descr 'Test killing states by label'
242 atf_set descr 'Test killing states with multiple labels by label'
322 atf_set descr 'Test killing states by route-to/reply-to address'
364 # Killing states with the relevant gateway does terminate our state
380 atf_set descr 'Test killing matching states'
425 # Expect two states
426 states=$(jexec alcatraz pfctl -s s | grep 192.0.2.1 | wc -l)
427 if [ $states -ne 2 ] ;
429 atf_fail "Expected two states, found $states"
434 states=$(jexec alcatraz pfctl -s s | grep 192.0.2.1 | wc -l)
435 if [ $states -ne 1 ] ;
437 atf_fail "Expected one states, found $states"
441 jexec alcatraz pfctl -F states
446 # Kill matching states, expect all of them to be gone
448 states=$(jexec alcatraz pfctl -s s | grep 192.0.2.1 | wc -l)
449 if [ $states -ne 0 ] ;
451 atf_fail "Expected zero states, found $states"
463 atf_set descr 'Test killing states based on interface'
496 # Flushing states on a different interface doesn't affect our state
503 # Flushing on the correct interface does (even with floating states)
519 atf_set descr 'Test killing states by id'
580 atf_set descr 'Test killing states by their NAT-ed IP address'