aboutsummaryrefslogtreecommitdiff
path: root/ebuild/src_test.bash
diff options
context:
space:
mode:
Diffstat (limited to 'ebuild/src_test.bash')
-rw-r--r--ebuild/src_test.bash5
1 files changed, 5 insertions, 0 deletions
diff --git a/ebuild/src_test.bash b/ebuild/src_test.bash
index 1d28364..da4b2f9 100644
--- a/ebuild/src_test.bash
+++ b/ebuild/src_test.bash
@@ -41,6 +41,9 @@ src_test()
ebuild_f_test()
{
+ local old_sandbox_predict="${SANDBOX_PREDICT}"
+ SANDBOX_PREDICT="${SANDBOX_PREDICT+${SANDBOX_PREDICT}:}/"
+
if hasq "test" ${RESTRICT} ; then
ebuild_section "Skipping src_test (RESTRICT)"
elif hasq "test" ${SKIP_FUNCTIONS} ; then
@@ -50,5 +53,7 @@ ebuild_f_test()
src_test
ebuild_section "Done src_test"
fi
+
+ SANDBOX_PREDICT="${old_sandbox_predict}"
}