Changeset View
Changeset View
Standalone View
Standalone View
tests/sys/netpfil/pf/killstate.sh
| Show First 20 Lines • Show All 104 Lines • ▼ Show 20 Lines | v4_cleanup() | ||||
| pft_cleanup | pft_cleanup | ||||
| } | } | ||||
| atf_test_case "src_dst" "cleanup" | atf_test_case "src_dst" "cleanup" | ||||
| src_dst_head() | src_dst_head() | ||||
| { | { | ||||
| atf_set descr 'Test killing a state with source and destination specified' | atf_set descr 'Test killing a state with source and destination specified' | ||||
| atf_set require.user root | atf_set require.user root | ||||
| atf_set require.progs python3 scapy | |||||
| } | } | ||||
| src_dst_body() | src_dst_body() | ||||
| { | { | ||||
| pft_init | pft_init | ||||
| epair=$(vnet_mkepair) | epair=$(vnet_mkepair) | ||||
| ifconfig ${epair}a 192.0.2.1/24 up | ifconfig ${epair}a 192.0.2.1/24 up | ||||
| ▲ Show 20 Lines • Show All 655 Lines • Show Last 20 Lines | |||||