commit:     4cca1e667154408161a63371d25eb6d3d24b6379
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Sun Apr 24 10:41:18 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Apr 27 13:18:56 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cca1e66

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 <gentoo <AT> tastytea.de>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 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
+}

Reply via email to