Skip to content

Commit

Permalink
pf tests: fix sctp:timeout test
Browse files Browse the repository at this point in the history
The test body somehow wound up in the cleanup function.

MFC after:	1 week
Sponsored by:	Rubicon Communications, LLC ("Netgate")
  • Loading branch information
kprovost committed Jul 17, 2024
1 parent 271f146 commit fe0c82a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/sys/netpfil/pf/sctp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -666,11 +666,6 @@ timeout_head()
timeout_body()
{
sctp_init
}

timeout_cleanup()
{
pft_cleanup

vnet_mkjail timeout

Expand All @@ -687,6 +682,11 @@ timeout_cleanup()
jexec timeout pfctl -st
}

timeout_cleanup()
{
pft_cleanup
}

atf_init_test_cases()
{
atf_add_test_case "basic_v4"
Expand Down

0 comments on commit fe0c82a

Please sign in to comment.