aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-03-12 08:46:04 -0400
committerMike Frysinger <vapier@gentoo.org>2009-03-12 09:00:00 -0400
commit03fd3b504458cee4da623c5ec56b73e7385514dc (patch)
tree09298a11b106816ba1e7879591195b0883500b54 /tests
parentlibsandbox: handle unreadable dirs better as non-root (diff)
downloadsandbox-03fd3b504458cee4da623c5ec56b73e7385514dc.tar.gz
sandbox-03fd3b504458cee4da623c5ec56b73e7385514dc.tar.bz2
sandbox-03fd3b504458cee4da623c5ec56b73e7385514dc.zip
tests: filter SANDBOX_PREDICT
Portage sometimes sets up a predict for / when running tests. Filter that out since we don't need that kind of helping hand, and we want to test the exact behavior of sandbox. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/atlocal.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/atlocal.in b/tests/atlocal.in
index 3577e75..11a984b 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -10,3 +10,7 @@ if ! ${at_clean} ; then
fi
export at_xfail
+
+# portage likes to do `addpredict /` ... we dont need/want
+# that garbage messing up our env
+export SANDBOX_PREDICT=${SANDBOX_PREDICT%:/}