Changeset View
Changeset View
Standalone View
Standalone View
tests/sys/netpfil/pf/rules_counter.sh
| Show First 20 Lines • Show All 147 Lines • ▼ Show 20 Lines | atf_check -s exit:0 -e ignore \ | ||||
| jexec alcatraz pfctl -s r -v | jexec alcatraz pfctl -s r -v | ||||
| } | } | ||||
| atf_test_case "4G" "cleanup" | atf_test_case "4G" "cleanup" | ||||
| 4G_head() | 4G_head() | ||||
| { | { | ||||
| atf_set descr 'Test keepcounter for values above 32 bits' | atf_set descr 'Test keepcounter for values above 32 bits' | ||||
| atf_set require.user root | atf_set require.user root | ||||
| atf_set timeout 900 | atf_set timeout 1200 | ||||
| } | } | ||||
| 4G_body() | 4G_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 46 Lines • Show Last 20 Lines | |||||