mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user