From 4cca1e667154408161a63371d25eb6d3d24b6379 Mon Sep 17 00:00:00 2001 From: "Ronny (tastytea) Gutbrod" Date: Sun, 24 Apr 2022 12:41:18 +0200 Subject: app-misc/rdfind: addpredict / for tests Tests are trying to modify $(which ls) and expect it to fail. Closes: https://bugs.gentoo.org/840544 Signed-off-by: Ronny (tastytea) Gutbrod Signed-off-by: Joonas Niilola --- app-misc/rdfind/rdfind-1.5.0.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app-misc/rdfind/rdfind-1.5.0.ebuild b/app-misc/rdfind/rdfind-1.5.0.ebuild index 6425d24842bd..e376f74993f8 100644 --- a/app-misc/rdfind/rdfind-1.5.0.ebuild +++ b/app-misc/rdfind/rdfind-1.5.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -24,3 +24,10 @@ src_prepare() { default eautoreconf } + +src_test() { + # Bug 840544 + local -x SANDBOX_PREDICT="${SANDBOX_PREDICT}" + addpredict / + default +} -- cgit v1.2.3-65-gdbad