aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2024-07-17 13:56:49 +0000
committerKristof Provost <kp@FreeBSD.org>2024-07-25 08:23:38 +0000
commit35bde8969eb6e63c9ca6ebdd4245588b4b8cb6c2 (patch)
treeb78aee5ad5f2f839cc61ff497dc043ee18dfd01f
parent193455c91b9065beef2b4a86956713f633041340 (diff)
downloadsrc-35bde8969eb6e63c9ca6ebdd4245588b4b8cb6c2.tar.gz
src-35bde8969eb6e63c9ca6ebdd4245588b4b8cb6c2.zip
pf tests: fix sctp:timeout test
The test body somehow wound up in the cleanup function. MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate") (cherry picked from commit fe0c82a603ce069786ee81604315f499fd965546)
-rw-r--r--tests/sys/netpfil/pf/sctp.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/sys/netpfil/pf/sctp.sh b/tests/sys/netpfil/pf/sctp.sh
index c3e1301238b0..d07d1122048b 100644
--- a/tests/sys/netpfil/pf/sctp.sh
+++ b/tests/sys/netpfil/pf/sctp.sh
@@ -666,11 +666,6 @@ timeout_head()
timeout_body()
{
sctp_init
-}
-
-timeout_cleanup()
-{
- pft_cleanup
vnet_mkjail timeout
@@ -687,6 +682,11 @@ timeout_cleanup()
jexec timeout pfctl -st
}
+timeout_cleanup()
+{
+ pft_cleanup
+}
+
atf_init_test_cases()
{
atf_add_test_case "basic_v4"