From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1719585-garchives=archives.gentoo.org@lists.gentoo.org> 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 9EFE91582EF for <garchives@archives.gentoo.org>; Wed, 19 Feb 2025 22:21:23 +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 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 82A64343188 for <garchives@archives.gentoo.org>; Wed, 19 Feb 2025 22:21:23 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 4777C110470; Wed, 19 Feb 2025 22:21:19 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 3A70C110470 for <gentoo-commits@lists.gentoo.org>; Wed, 19 Feb 2025 22:21:19 +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 E68593430DD for <gentoo-commits@lists.gentoo.org>; Wed, 19 Feb 2025 22:21:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 28FDF175A for <gentoo-commits@lists.gentoo.org>; Wed, 19 Feb 2025 22:21:17 +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: <1740003646.0cd5a5e1775f7009802a197eddaba624c44661cc.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-forensics/volatility3/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-forensics/volatility3/volatility3-2.11.0.ebuild X-VCS-Directories: app-forensics/volatility3/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 0cd5a5e1775f7009802a197eddaba624c44661cc X-VCS-Branch: master Date: Wed, 19 Feb 2025 22:21:17 +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: 1ecccb62-d947-49c8-b532-c0960cd81499 X-Archives-Hash: 774e48a7ffab161fbe4bd5f7c6b3fe56 commit: 0cd5a5e1775f7009802a197eddaba624c44661cc Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de> AuthorDate: Wed Feb 19 21:51:01 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Feb 19 22:20:46 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cd5a5e1 app-forensics/volatility3: access test files only when performing tests Closes: https://bugs.gentoo.org/949971 Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de> Signed-off-by: Sam James <sam <AT> gentoo.org> app-forensics/volatility3/volatility3-2.11.0.ebuild | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app-forensics/volatility3/volatility3-2.11.0.ebuild b/app-forensics/volatility3/volatility3-2.11.0.ebuild index 3403877a224b..3788ddc6a8c5 100644 --- a/app-forensics/volatility3/volatility3-2.11.0.ebuild +++ b/app-forensics/volatility3/volatility3-2.11.0.ebuild @@ -55,10 +55,12 @@ RESTRICT="!test? ( test )" src_prepare() { default - # tests want the images in a common directory - mkdir "${T}/test_images" || die - mv "${WORKDIR}/${PN}-win-xp-laptop-2005-06-25.img" "${T}/test_images" || die - mv "${WORKDIR}/${PN}-linux-sample-1.bin" "${T}/test_images" || die + if use test; then + # tests want the images in a common directory + mkdir "${T}/test_images" || die + mv "${WORKDIR}/${PN}-win-xp-laptop-2005-06-25.img" "${T}/test_images" || die + mv "${WORKDIR}/${PN}-linux-sample-1.bin" "${T}/test_images" || die + fi } python_test() {