From nobody Mon Apr 01 23:13:02 2024 X-Original-To: dev-commits-src-main@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 4V7myQ4P14z5FMJn; Mon, 1 Apr 2024 23:13:02 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V7myQ3qnGz4Mbn; Mon, 1 Apr 2024 23:13:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712013182; 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=fn0jes5oNsc36PTvRX56OYop+sbXAMdw0MuNcQ/PphA=; b=dBSVLtWi7fZONOHMRP05WVFAwMt8WWqkPxVrumnOV7EyreT6I7FXGtIV8BRv6MxeFtcf8h qzZjK1gPQwomkO4FcbxWx0xv4JKhL/EoJy3nkYLABAVuodCjQ9KkFFmqjON4WN7mdwSl9D yQkNbBvN+jl+IziHgcie5X/wEh3qV6EXC8fIvvHkuWINhhW145ufT9/2PzwLixlUIOlsRC 2UMd6amCwIcnbI8Wiez3kDbH75Hkw26D3jGYPSr7lURPBrrxGUUdFJeg4Ukz/RepVrGw7P Q8XlzMo8MJ+1MdDztPUlx3POL9SJUhpnohGE6QVX54wylVc6gdkyGYB4zuZdCw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712013182; a=rsa-sha256; cv=none; b=XkVoroP2xiTrvisQdiz6G2i+9DZLpeU7DHJ5LsU+zhhXTjlp6Qovj4pMQw659X25og3c0N pT7+YDr4PFMSYruCNaTln2X97RDrD0rTafA2wtTszwkGqbipoImAq5U4dWEwJxpHF/c7XZ 7z7bs/R65DLVOnevMRQN7e9JZtA0hHlTHvJNolkUcbR2Oz27mXMzKLgvtx+Nn0kYodoY1s g2aIh+J+HxL+pBW/QRpdrmlPN4eWCQz7CrH1ZDCxyCJ1pMvQ+vWcmCAEOXYJM62YiTkn/a hKEmCsIHBn5M3Afsk4b+sP1yn+b4rAy2zyu57ZlcLl/vKv3Mb/a6H1QX1+o8Ug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712013182; 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=fn0jes5oNsc36PTvRX56OYop+sbXAMdw0MuNcQ/PphA=; b=v8mxjH6b04BxdV5LO5Ju8c9sRwLj3K3crtSQubByQYH6lEKbv8J7HtRKfLcrcLBRBdpcA2 f67iwMaUfLiT6LSMi6ocN4nENOlD9nxRhpolRNT4nOqdIkJlWIZCZKCS+jXCC0gEuHCmZD 5hpBSJl4rSiRlr4oGbN3iqzdgnWEGiY8PYUbSVS+oPYLmkkL31C9/XVHVN0ajzHnAWWFfh 4SlQK+LZFAxzx586VlDUlbjJKn0IMbGRqqw8qSxCF9DaBmVBjnZfPWwNAJeP0JW4IGSs0w 6efMilGkr7TOpFuylP2LAx37IHdGuoB3JiulWfwPvNoeHpQeCp7UWcjGmS4qzA== 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 4V7myQ3N4nzQB6; Mon, 1 Apr 2024 23:13:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 431ND28B032869; Mon, 1 Apr 2024 23:13:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 431ND25Y032866; Mon, 1 Apr 2024 23:13:02 GMT (envelope-from git) Date: Mon, 1 Apr 2024 23:13:02 GMT Message-Id: <202404012313.431ND25Y032866@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 77c3e564b4b6 - main - ptrace tests: Fix a signed/unsigned integer comparison List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 77c3e564b4b65443a9d3298e0aec4c1387acd55e Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=77c3e564b4b65443a9d3298e0aec4c1387acd55e commit 77c3e564b4b65443a9d3298e0aec4c1387acd55e Author: Mark Johnston AuthorDate: 2024-04-01 23:10:36 +0000 Commit: Mark Johnston CommitDate: 2024-04-01 23:12:50 +0000 ptrace tests: Fix a signed/unsigned integer comparison Reported by: Jenkins Fixes: 43b4da44118e ("ptrace tests: Add a test using PROC_REAP_KILL to kill a traced debuggee") --- tests/sys/kern/ptrace_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sys/kern/ptrace_test.c b/tests/sys/kern/ptrace_test.c index b65c84144ad0..675d90e144ae 100644 --- a/tests/sys/kern/ptrace_test.c +++ b/tests/sys/kern/ptrace_test.c @@ -4410,7 +4410,7 @@ ATF_TC_BODY(ptrace__reap_kill_stopped, tc) prk.rk_sig = SIGTERM; error = procctl(P_PID, getpid(), PROC_REAP_KILL, &prk); REQUIRE_EQ(error, 0); - REQUIRE_EQ(1, prk.rk_killed); + REQUIRE_EQ(1u, prk.rk_killed); REQUIRE_EQ(-1, prk.rk_fpid); }