aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-08-15 23:26:17 -0400
committerMike Frysinger <vapier@gentoo.org>2010-08-15 23:26:17 -0400
commit4c816beead15d42da3ba6d907a85ad45deb14bed (patch)
treec9945da2edc8d7ee845f507ad0043ed36538f6e9 /tests/local.at
parenttests: fix dist target for out-of-tree builds (diff)
downloadsandbox-4c816beead15d42da3ba6d907a85ad45deb14bed.tar.gz
sandbox-4c816beead15d42da3ba6d907a85ad45deb14bed.tar.bz2
sandbox-4c816beead15d42da3ba6d907a85ad45deb14bed.zip
tests: addpredict / by default to match portage
Portage by default will do `addpredict /` which can causes tests that expect certain behavior to fail, but only when testing under portage. So tweak the default environment to include this so that we are forced to tweak the tests so that they pass in and out of the portage env. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'tests/local.at')
-rw-r--r--tests/local.at3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/local.at b/tests/local.at
index f0f7894..b73f57a 100644
--- a/tests/local.at
+++ b/tests/local.at
@@ -8,7 +8,8 @@ m4_defun([SB_RUN],[\
SANDBOX_LOG="$PWD/sandbox.log" \
sandbox.sh \
set -x \; \
- addwrite "${PWD%/*}" \;\
+ addpredict / \; \
+ addwrite "${PWD%/*}" \; \
])
m4_defun([AT_SB_CHECK],[AT_CHECK([SB_RUN $1],[$2],[$3],[$4],[$5],[$6])])