summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny (tastytea) Gutbrod <gentoo@tastytea.de>2022-04-24 12:41:18 +0200
committerJoonas Niilola <juippis@gentoo.org>2022-04-27 16:18:56 +0300
commit4cca1e667154408161a63371d25eb6d3d24b6379 (patch)
tree340cc62ade81ca5a56bd821eb7ed3009efe3bb23 /app-misc/rdfind
parentnet-im/telegram-desktop-bin: bump version to 3.7.3 (diff)
downloadgentoo-4cca1e667154408161a63371d25eb6d3d24b6379.tar.gz
gentoo-4cca1e667154408161a63371d25eb6d3d24b6379.tar.bz2
gentoo-4cca1e667154408161a63371d25eb6d3d24b6379.zip
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@tastytea.de> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-misc/rdfind')
-rw-r--r--app-misc/rdfind/rdfind-1.5.0.ebuild9
1 files changed, 8 insertions, 1 deletions
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
+}