commit:     61cd0e6ba6bbbc7fb022cf06f8e5d8b4459a6122
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 23 02:14:59 2022 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Apr 23 02:14:59 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61cd0e6b

sys-apps/findutils: addpredict / for tests

Closes: https://bugs.gentoo.org/839813
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 sys-apps/findutils/findutils-4.8.0-r1.ebuild | 6 ++++++
 sys-apps/findutils/findutils-4.9.0.ebuild    | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/sys-apps/findutils/findutils-4.8.0-r1.ebuild 
b/sys-apps/findutils/findutils-4.8.0-r1.ebuild
index 6d35f0a1ca08..0edfed04e0ee 100644
--- a/sys-apps/findutils/findutils-4.8.0-r1.ebuild
+++ b/sys-apps/findutils/findutils-4.8.0-r1.ebuild
@@ -67,6 +67,12 @@ src_configure() {
        econf "${myeconfargs[@]}"
 }
 
+src_test() {
+       local -x SANDBOX_PREDICT=${SANDBOX_PREDICT}
+       addpredict /
+       default
+}
+
 src_compile() {
        # We don't build locate, but the docs want a file in there.
        emake -C locate dblocation.texi

diff --git a/sys-apps/findutils/findutils-4.9.0.ebuild 
b/sys-apps/findutils/findutils-4.9.0.ebuild
index d973a4fbd790..7be12fa94c90 100644
--- a/sys-apps/findutils/findutils-4.9.0.ebuild
+++ b/sys-apps/findutils/findutils-4.9.0.ebuild
@@ -63,6 +63,12 @@ src_configure() {
        econf "${myeconfargs[@]}"
 }
 
+src_test() {
+       local -x SANDBOX_PREDICT=${SANDBOX_PREDICT}
+       addpredict /
+       default
+}
+
 src_compile() {
        # We don't build locate, but the docs want a file in there.
        emake -C locate dblocation.texi

Reply via email to