diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-06-03 11:39:32 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-06-03 11:39:32 -0400 |
commit | 4aff1f7cb3d81e05a780b7d2b3e2cb5b4e0d8109 (patch) | |
tree | ff38629bb870783f2c1df0c9b7c2ba9d34700196 | |
parent | tweak s390/sh ARCH defaults (diff) | |
download | portage-utils-4aff1f7c.tar.gz portage-utils-4aff1f7c.tar.bz2 portage-utils-4aff1f7c.zip |
tests: avoid reading host config settings
Make sure the host's settings don't get loaded by accident as they
might cause misbehavior in the tests. We want these to be hermetic.
-rw-r--r-- | tests/init.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/init.sh b/tests/init.sh index e2c3562..b3f634e 100644 --- a/tests/init.sh +++ b/tests/init.sh @@ -31,6 +31,8 @@ setup_env # clean any random vars from the host system unset ROOT PORTAGE_CONFIGROOT PORTAGE_QUIET +# but make sure we don't implicitly rely on user's setup +export PORTAGE_CONFIGROOT="${ab}/not/a/real/path" q -i -q |