summaryrefslogtreecommitdiffstats
path: root/pym/portage/tests/resolver
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-12-10 16:19:34 -0800
committerZac Medico <zmedico@gentoo.org>2011-12-10 16:19:34 -0800
commit2b51a74bc093e476ece19d0a2194104585e4c903 (patch)
treec756c268d6a72471292ace757d2a918a4af74f3a /pym/portage/tests/resolver
parent54e4ab36340f1ef3ffa250132bc5458e3d77ab6d (diff)
downloadportage-2b51a74bc093e476ece19d0a2194104585e4c903.tar.gz
portage-2b51a74bc093e476ece19d0a2194104585e4c903.tar.bz2
portage-2b51a74bc093e476ece19d0a2194104585e4c903.zip
ResolverPlayground: don't nest sandbox
Diffstat (limited to 'pym/portage/tests/resolver')
-rw-r--r--pym/portage/tests/resolver/ResolverPlayground.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/portage/tests/resolver/ResolverPlayground.py b/pym/portage/tests/resolver/ResolverPlayground.py
index a18585508..201c5c4af 100644
--- a/pym/portage/tests/resolver/ResolverPlayground.py
+++ b/pym/portage/tests/resolver/ResolverPlayground.py
@@ -483,6 +483,10 @@ class ResolverPlayground(object):
'PORTAGE_TMPDIR' : os.path.join(self.eroot, 'var/tmp'),
}
+ if os.environ.get("SANDBOX_ON") == "1":
+ # avoid problems from nested sandbox instances
+ env["FEATURES"] = "-sandbox"
+
# Pass along PORTAGE_USERNAME and PORTAGE_GRPNAME since they
# need to be inherited by ebuild subprocesses.
if 'PORTAGE_USERNAME' in os.environ: