Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 2024 15:35:15 GMT
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: fe0c82a603ce - main - pf tests: fix sctp:timeout test
Message-ID:  <202407171535.46HFZFoC052762@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=fe0c82a603ce069786ee81604315f499fd965546

commit fe0c82a603ce069786ee81604315f499fd965546
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2024-07-17 13:56:49 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2024-07-17 14:01:24 +0000

    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")
---
 tests/sys/netpfil/pf/sctp.sh | 10 +++++-----
 1 file 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407171535.46HFZFoC052762>