From nobody Sat Oct 11 12:03:53 2025 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ckMhp26c4z6Bldl; Sat, 11 Oct 2025 12:03:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ckMhp0GK4z3r47; Sat, 11 Oct 2025 12:03:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760184234; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bEXDz4O7agBtainlSsKW5Z9XcslWghJ2aJeMka3VE/o=; b=S1XO6q2IQplWgjmyDbpDLWOpDTVSXVfyXu134Yc/r16ic+/VsGVYQnIjX+0GaJxz+gpZUB 5d0m9XWJKbDncCxePfEWgslTHKqoKNeu5nF4vYtSlot2HXol/p1Uh18CKmi+QyjonanRlb ABqgSNczkzWGucO0I9yIf/A63/W8RQ81WSRzpz6uXT8GVPjUbI1dbQCbbfzDVJ0UfEIDiz KhZ48hsBV59AQmOdTOFSMy6+wmyVZNvTFY2lxorp2O5wUuvqMMnotv7VaT4aj14ydJ/Jb6 K7XjlysxEnu/mAdnwypZaV/5CdjwpL/fx22PJUvsN+Z2EcMeRdu77Zk1/p+YpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760184234; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bEXDz4O7agBtainlSsKW5Z9XcslWghJ2aJeMka3VE/o=; b=m+Mh2zEMrg0362HpCrUe007IUXJWEpgCVkUQFlXWhcZ/pLPZqyNZZGGvQvDm9l1/CGyG+f Bl8v+rbWzpUO0dflbNpLH4HORBdHX6UMgNA7CM18kGYCdgXkEEj4eiDrNyR1z0C1bTg4wd o7YdKEdLrN6ZnGceMhofXFqxSPf7bG2gKQZtEoeXClfgsfopxOZctfEzn33sV9pqUkZ7bH u4mWP9NyvVlDjiPjRAga6rYXNW5b10vQ+Obk7HbFv3SwcwKGu/SjxPDoFZWWE5XiECT2l+ pZPFYzWqAvEQOh4bbTUZugwuzkvrC0VmvxDG6L4dh02fzts0SqLmLS1QFSYCwQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1760184234; a=rsa-sha256; cv=none; b=WOwv8P4kjQqH8nq6egCG4hikbfKbtn+L4k7r8mhHeLLCXZC1afi1DN9JvU0OGALvyAbYz2 6Wmy9Ieca52iVwn1IDIR0pBEF2rZzXp0EwzoiIJDZUHp9+yOUII3RUkkxkIBEcKMDr/C+G FHIgDl2xuyv3hIN2A5zemIHFQp60Wh0bQt0JT/sXRu7l0mwLuhkK1vMvgJmpHFeRRHRG7+ /IjI2SqD6Fn0bf30J2QYEf/7DqCCqdzQFZU9EUCwIymS7PMSMYFIf+riH/0loi4DaWtclI 6RVu34QDaUEV4y3m+DW3rIqw83uO+D3g1KOLMWZMWcbiBQ39ZaGykLhf9wy2nQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ckMhn706YzZVn; Sat, 11 Oct 2025 12:03:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 59BC3rWP039980; Sat, 11 Oct 2025 12:03:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59BC3rB9039977; Sat, 11 Oct 2025 12:03:53 GMT (envelope-from git) Date: Sat, 11 Oct 2025 12:03:53 GMT Message-Id: <202510111203.59BC3rB9039977@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kristof Provost Subject: git: c70039393428 - main - pf tests: give inetd some time to start List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c700393934285ea84696a17bd951b20e439edfc3 Auto-Submitted: auto-generated The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=c700393934285ea84696a17bd951b20e439edfc3 commit c700393934285ea84696a17bd951b20e439edfc3 Author: Kristof Provost AuthorDate: 2025-10-09 07:28:28 +0000 Commit: Kristof Provost CommitDate: 2025-10-11 11:24:24 +0000 pf tests: give inetd some time to start Give inetd time to start rather than immediately trying to connect to it. Make the tests a little more robust. Sponsored by: Rubicon Communications, LLC ("Netgate") --- tests/sys/netpfil/pf/ether.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/sys/netpfil/pf/ether.sh b/tests/sys/netpfil/pf/ether.sh index f0fdce50a7d3..f15dff06f9cd 100644 --- a/tests/sys/netpfil/pf/ether.sh +++ b/tests/sys/netpfil/pf/ether.sh @@ -287,6 +287,7 @@ captive_body() # Run the echo server only on the gw, so we know we've redirectly # correctly if we get an echo message. jexec gw /usr/sbin/inetd -p ${PWD}/echo_inetd.pid $(atf_get_srcdir)/echo_inetd.conf + sleep 1 # Confirm that we're getting redirected atf_check -s exit:0 -o match:"^foo$" -x "echo foo | nc -N 198.51.100.2 7" @@ -305,6 +306,7 @@ captive_body() # Start a server in srv jexec srv /usr/sbin/inetd -p ${PWD}/echo_inetd.pid $(atf_get_srcdir)/echo_inetd.conf + sleep 1 # And now we can talk to that one. atf_check -s exit:0 -o match:"^foo$" -x "echo foo | nc -N 198.51.100.2 7" @@ -364,6 +366,7 @@ captive_long_body() jexec gw /usr/sbin/inetd -p ${PWD}/gw.pid $(atf_get_srcdir)/echo_inetd.conf jexec srv /usr/sbin/inetd -p ${PWD}/srv.pid $(atf_get_srcdir)/daytime_inetd.conf + sleep p1 echo foo | nc -N 198.51.100.2 13