summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2022-04-22 22:14:59 -0400
committerMike Gilbert <floppym@gentoo.org>2022-04-22 22:14:59 -0400
commit61cd0e6ba6bbbc7fb022cf06f8e5d8b4459a6122 (patch)
tree4ed7ce7dbff4edf3736b1f69bf542ef700c22b1f /sys-apps/findutils
parentsys-apps/miscfiles: update EAPI 6 -> 7 (diff)
downloadgentoo-61cd0e6ba6bbbc7fb022cf06f8e5d8b4459a6122.tar.gz
gentoo-61cd0e6ba6bbbc7fb022cf06f8e5d8b4459a6122.tar.bz2
gentoo-61cd0e6ba6bbbc7fb022cf06f8e5d8b4459a6122.zip
sys-apps/findutils: addpredict / for tests
Closes: https://bugs.gentoo.org/839813 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-apps/findutils')
-rw-r--r--sys-apps/findutils/findutils-4.8.0-r1.ebuild6
-rw-r--r--sys-apps/findutils/findutils-4.9.0.ebuild6
2 files changed, 12 insertions, 0 deletions
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