From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 6341515808A for ; Mon, 04 Aug 2025 19:19:30 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 4A668340CC4 for ; Mon, 04 Aug 2025 19:19:30 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 3402A1104A0; Mon, 04 Aug 2025 19:19:26 +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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 294DA11036D for ; Mon, 04 Aug 2025 19:19:26 +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 B485133BF29 for ; Mon, 04 Aug 2025 19:19:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 229892889 for ; Mon, 04 Aug 2025 19:19:24 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1754335149.3c6009e3d48bcc80cfc714e4365ae24856114c5f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/tests/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/tests/dot-a.sh X-VCS-Directories: eclass/tests/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 3c6009e3d48bcc80cfc714e4365ae24856114c5f X-VCS-Branch: master Date: Mon, 04 Aug 2025 19:19:24 +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: 6a397eea-ceeb-42c9-ab49-42cd8b5b73ac X-Archives-Hash: 2ab8b047e6ad3e311da9a411ceb0761e commit: 3c6009e3d48bcc80cfc714e4365ae24856114c5f Author: Sam James gentoo org> AuthorDate: Mon Aug 4 19:17:59 2025 +0000 Commit: Sam James gentoo org> CommitDate: Mon Aug 4 19:19:09 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c6009e3 eclass/tests: dot-a: use strip -p to avoid spurious differences within archive Like in https://sourceware.org/bugzilla/show_bug.cgi?id=33246#c21, but it showed up in our tests too. Signed-off-by: Sam James gentoo.org> eclass/tests/dot-a.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eclass/tests/dot-a.sh b/eclass/tests/dot-a.sh index dd68bc00eeaf..982e02c28e62 100755 --- a/eclass/tests/dot-a.sh +++ b/eclass/tests/dot-a.sh @@ -428,7 +428,7 @@ test_strip_lto() { $(tc-getCC) a.c -o a.o -c -flto -ggdb3 || return 1 $(tc-getAR) q foo.a a.o 2>/dev/null || return 1 cp foo.a foo.a.bak || return 1 - $(tc-getSTRIP) -d foo.a || return 1 + $(tc-getSTRIP) -p -d foo.a || return 1 # They should NOT differ after stripping because it # can't be safely stripped without special arguments. @@ -447,7 +447,7 @@ test_strip_lto() { $(tc-getCC) a.c -o a.o -c -flto -ffat-lto-objects -ggdb3 || return 1 $(tc-getAR) q foo.a a.o 2>/dev/null || return 1 cp foo.a foo.a.bak || return 1 - $(tc-getSTRIP) -d foo.a || return 1 + $(tc-getSTRIP) -p -d foo.a || return 1 # They should NOT differ after stripping because it # can't be safely stripped without special arguments. @@ -525,7 +525,7 @@ test_strip_nolto() { $(tc-getCC) a.c -o a.o -c -ggdb3 || return 1 $(tc-getAR) q foo.a a.o 2>/dev/null || return 1 cp foo.a foo.a.bak || return 1 - $(tc-getSTRIP) -d foo.a || return 1 + $(tc-getSTRIP) -p -d foo.a || return 1 # They should differ after stripping. cmp -s foo.a foo.a.bak && return 1 @@ -549,7 +549,7 @@ test_strip_nolto() { $(tc-getCC) a.c -o a.o -c -ggdb3 || return 1 $(tc-getAR) q foo.a a.o 2>/dev/null || return 1 cp foo.a foo.a.bak || return 1 - $(tc-getSTRIP) -d foo.a || return 1 + $(tc-getSTRIP) -p -d foo.a || return 1 # They should differ after stripping. cmp -s foo.a foo.a.bak && return 1