From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 04FD9158043 for ; Thu, 18 Apr 2024 15:19:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 40EB4E2A19; Thu, 18 Apr 2024 15:19:54 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 193C1E2A19 for ; Thu, 18 Apr 2024 15:19:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2006A3434C0 for ; Thu, 18 Apr 2024 15:19:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4F02116DC for ; Thu, 18 Apr 2024 15:19:51 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1713453478.08925ddd173f638b78303c4c958d4c98a41c60d6.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/systemd/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/systemd/files/systemd-test-process-util.patch X-VCS-Directories: sys-apps/systemd/files/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 08925ddd173f638b78303c4c958d4c98a41c60d6 X-VCS-Branch: master Date: Thu, 18 Apr 2024 15:19:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: aa8e7387-5cac-403c-a871-712fe3a80bb4 X-Archives-Hash: 485448b5b05b4fc89af37b3397006e4a commit: 08925ddd173f638b78303c4c958d4c98a41c60d6 Author: Mike Gilbert gentoo org> AuthorDate: Thu Apr 18 15:17:58 2024 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Thu Apr 18 15:17:58 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08925ddd sys-apps/systemd: update systemd-test-process-util.patch Insert empty lines to maintain line numbering for subsequent tests. Signed-off-by: Mike Gilbert gentoo.org> sys-apps/systemd/files/systemd-test-process-util.patch | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/sys-apps/systemd/files/systemd-test-process-util.patch b/sys-apps/systemd/files/systemd-test-process-util.patch index ec1a766764ee..92c7eaf29577 100644 --- a/sys-apps/systemd/files/systemd-test-process-util.patch +++ b/sys-apps/systemd/files/systemd-test-process-util.patch @@ -1,4 +1,4 @@ -From 1d3404701bf0c27600dd44b2814cd6caffca877a Mon Sep 17 00:00:00 2001 +From c3f91c76af292e3bd2c6e2b12e37de88cf5d7c72 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Thu, 18 Apr 2024 00:04:44 -0400 Subject: [PATCH] test-process-util: remove assert that fails under pid-sandbox @@ -8,23 +8,24 @@ Upstream refuses to fix this. Bug: https://bugs.gentoo.org/674458 Bug: https://github.com/systemd/systemd/issues/25015 --- - src/test/test-process-util.c | 3 --- - 1 file changed, 3 deletions(-) + src/test/test-process-util.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/test-process-util.c b/src/test/test-process-util.c -index c96bd4341b..4009cf96e2 100644 +index c96bd4341b..9ff1bdc082 100644 --- a/src/test/test-process-util.c +++ b/src/test/test-process-util.c -@@ -92,9 +92,6 @@ static void test_pid_get_comm_one(pid_t pid) { +@@ -92,8 +92,8 @@ static void test_pid_get_comm_one(pid_t pid) { assert_se(r >= 0 || r == -EACCES); log_info("PID"PID_FMT" strlen(environ): %zi", pid, env ? (ssize_t)strlen(env) : (ssize_t)-errno); - if (!detect_container()) - assert_se(get_ctty_devnr(pid, &h) == -ENXIO || pid != 1); -- ++ ++ + (void) getenv_for_pid(pid, "PATH", &i); log_info("PID"PID_FMT" $PATH: '%s'", pid, strna(i)); - } -- 2.44.0