From 2fe78d74faa5cfc3d6f551dcce8fdf6fdb1a65ef Mon Sep 17 00:00:00 2001 From: Kristof Provost Date: Fri, 20 Jun 2025 15:34:16 +0200 Subject: [PATCH] pf tests: do not shutdown the sctp server in sctp:related_icmp This caused intermittent test failures because we failed to actually send the large request (and thus failed to provoke ICMP packets). Sponsored by: Rubicon Communications, LLC ("Netgate") --- tests/sys/netpfil/pf/sctp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sys/netpfil/pf/sctp.sh b/tests/sys/netpfil/pf/sctp.sh index 14cd49dfb1f..57dcdad1d86 100644 --- a/tests/sys/netpfil/pf/sctp.sh +++ b/tests/sys/netpfil/pf/sctp.sh @@ -810,7 +810,7 @@ related_icmp_body() fi # Do we see ICMP traffic if we send overly large traffic? - echo "foo" | jexec srv nc --sctp -N -l 1234 >/dev/null & + echo "foo" | jexec srv nc --sctp -l 1234 >/dev/null & sleep 1 atf_check -s exit:0 -o not-match:".*destination unreachable:.*" \