From nobody Thu Oct 9 12:21:32 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 4cj8B50QVgz6BqNp; Thu, 09 Oct 2025 12:21:33 +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 4cj8B44y8bz3Qnd; Thu, 09 Oct 2025 12:21:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760012492; 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=hnZ303jCx3dhWmBLC7XUcbySFdUo7BIlpmMkQNoSyWA=; b=ljLms7Si4TCxOIVTahE2lc6MxwbrwxubV7zYHDC6KBI44PtB4DjiERKu2v7CnPZcg2OT2e JHd/YOhiLh24CVZeuyjk0drU9o7WWBw1g87jnGMIgCoGKHpXAlVskq1pNRvxRAFQALuatW RZu/wVvnqfTjCiSJkF8DIT0zY4rDslf43rZ2dD8s9PCcYmA8sRiJyKNevoprc4cb6dLzNH YS4WaM+Ge3yG7gwdpcMkvAQYjIxCchnoYfR0VppeDi6uRuhoPKt3d1/BInIpotH/Ty9T3V wxgtZJ7kSxbCWNWich48j1lSTOocKYoTBtvAW68C52ck3U25fj2dG19JNK8/hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760012492; 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=hnZ303jCx3dhWmBLC7XUcbySFdUo7BIlpmMkQNoSyWA=; b=nb2kk1EdirNVbI0wMwtha+0fY1L1eocn1CSrHOynLChTJj8WyknU+k3+zRfFXyqQ6bCCAd wbifbJK9hLtScwLNfthuRLxdAF0CFda0jE5QldSHUBiu+/AN1BCKeWXMw/ctcsFVYCNDYL PZD9Sngs0eJyo0aZOcJzRWA87ptLDqZoI47eHilb4vCA1ypLMYG5tGfRwXgw3nT4W+0+hX HxJz+IKdeSViZ9HDjqIvmeuZ97cyy50IEr8TfKSDsewy31F+/5mRwMBu2+h+hHhgvfRY8l kD7Ke3A+HesPi87JaA+GQOK9CA2CYyT6b7qgpH8iqxO17uegay3iiV61QZw4vA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1760012492; a=rsa-sha256; cv=none; b=iVTaWD/c1VsuuEjcG2CNNfha2AGCbfd4CxjxqjpUaQN/xz0BkP0dy5iyOc1+DDQBKKu4LY IbrJtXhaaeyYVmIGnZlbHycKDyGK2CKnCVpwkFbksP1sw3XeVb+HIcC6KD6STfbPggFPFu FJ2v67o0efKKv8iBf3dqdt1G2Erh2AGUw074Yf6sm+LhFYsVI5zEQrjM4gBBp3jgrY4WGX hIM6FgAtll+zH2UTz2dvYo6JxzxztVJWCfMOpobRksh8viyX2x+9bvQktTGvHO7/MoRSLY Cdco+Dg1BtjS2ietJRae6bevGXWdTrv2rI9I4eUistO+td53I7J2fDcUhXqn9A== 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 4cj8B44NWjz2DF; Thu, 09 Oct 2025 12:21:32 +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 599CLWPD046891; Thu, 9 Oct 2025 12:21:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 599CLWEI046888; Thu, 9 Oct 2025 12:21:32 GMT (envelope-from git) Date: Thu, 9 Oct 2025 12:21:32 GMT Message-Id: <202510091221.599CLWEI046888@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?= Subject: git: ce6061658f84 - stable/13 - tail: Tweak follow_rename test case 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: des X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: ce6061658f8492ad3e6d0ced1dd01e9cf5f80c12 Auto-Submitted: auto-generated The branch stable/13 has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=ce6061658f8492ad3e6d0ced1dd01e9cf5f80c12 commit ce6061658f8492ad3e6d0ced1dd01e9cf5f80c12 Author: Dag-Erling Smørgrav AuthorDate: 2025-10-07 16:23:18 +0000 Commit: Dag-Erling Smørgrav CommitDate: 2025-10-08 11:44:34 +0000 tail: Tweak follow_rename test case Add a brief sleep to give tail time to start following the file before we rename it. PR: 289902 MFC after: 1 week Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D52887 (cherry picked from commit a9c72543d287afa8dd30bec0f49873e88057c192) --- usr.bin/tail/tests/tail_test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr.bin/tail/tests/tail_test.sh b/usr.bin/tail/tests/tail_test.sh index 9c941f8a2c2f..8f1b6c7107be 100755 --- a/usr.bin/tail/tests/tail_test.sh +++ b/usr.bin/tail/tests/tail_test.sh @@ -341,6 +341,7 @@ follow_create_body() rm -f infile tail -F infile > outfile & pid=$! + sleep 0.1 seq 1 5 >infile sleep 2 atf_check cmp infile outfile @@ -360,6 +361,7 @@ follow_rename_body() seq 1 3 > infile tail -F infile > outfile & pid=$! + sleep 0.1 seq 4 5 > infile_new atf_check mv infile infile_old atf_check mv infile_new infile