dev-vcs/rcs: addpredict / for tests

Closes: https://bugs.gentoo.org/840173
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
Mike Gilbert
2022-04-22 17:47:10 -04:00
parent a5ea541b58
commit 1b90705e46
2 changed files with 17 additions and 1 deletions

View File

@@ -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
@@ -41,6 +41,14 @@ src_test() {
emake check
}
src_test() {
# Tests attempt to call rcs commands on /dev/null and /tmp.
# https://bugs.gentoo.org/840173
local -x SANDBOX_PREDICT=${SANDBOX_PREDICT}
addpredict /
default
}
src_install() {
emake DESTDIR="${D}" install

View File

@@ -32,6 +32,14 @@ src_configure() {
econf
}
src_test() {
# Tests attempt to call rcs commands on /dev/null and /tmp.
# https://bugs.gentoo.org/840173
local -x SANDBOX_PREDICT=${SANDBOX_PREDICT}
addpredict /
default
}
src_install() {
emake DESTDIR="${D}" install