From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1616063-garchives=archives.gentoo.org@lists.gentoo.org>
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 C7BD8158041
	for <garchives@archives.gentoo.org>; Sat, 30 Mar 2024 21:52:36 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id CE8B9E2A11;
	Sat, 30 Mar 2024 21:52:35 +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) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id AABFFE2A11
	for <gentoo-commits@lists.gentoo.org>; Sat, 30 Mar 2024 21:52:35 +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 9A5FE34315C
	for <gentoo-commits@lists.gentoo.org>; Sat, 30 Mar 2024 21:52:34 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id E7B2215E6
	for <gentoo-commits@lists.gentoo.org>; Sat, 30 Mar 2024 21:52:32 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
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" <sam@gentoo.org>
Message-ID: <1711835512.efe06b01128ce829eb4e4c6a5ed5f52a342ecbc0.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/xz-utils/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-arch/xz-utils/xz-utils-9999.ebuild
X-VCS-Directories: app-arch/xz-utils/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: efe06b01128ce829eb4e4c6a5ed5f52a342ecbc0
X-VCS-Branch: master
Date: Sat, 30 Mar 2024 21:52:32 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 7a01e62d-76c4-4ff0-8acf-05d62c282a41
X-Archives-Hash: 353275f3305d9109a8e03ed7511a23b7

commit:     efe06b01128ce829eb4e4c6a5ed5f52a342ecbc0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 30 21:51:33 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 30 21:51:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efe06b01

app-arch/xz-utils: delete known-bad test files in 9999

As I promised to do in 29d5f89b75c1ab37b3346ac41840cf8fa4b3d3a8 a moment
ago. I really doubt many people are rocking 9999 and there's nothing known-bad
in the git repo *that can use these* but the test files are dangerous anyway
so let's just do it for completeness.

Bug: https://bugs.gentoo.org/928134
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-arch/xz-utils/xz-utils-9999.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app-arch/xz-utils/xz-utils-9999.ebuild b/app-arch/xz-utils/xz-utils-9999.ebuild
index fbf94a267df6..7c68d671d406 100644
--- a/app-arch/xz-utils/xz-utils-9999.ebuild
+++ b/app-arch/xz-utils/xz-utils-9999.ebuild
@@ -56,6 +56,9 @@ fi
 src_prepare() {
 	default
 
+	# Delete known-compromised test data (bug #928134)
+	rm tests/files/bad-3-corrupt_lzma2.xz tests/files/good-large_compressed.lzma || die
+
 	if [[ ${PV} == 9999 ]] ; then
 		eautopoint
 		eautoreconf