From: Zac Medico Date: Mon, 29 Aug 2011 18:24:15 +0000 (-0700) Subject: Fix PORTDIR in emerge tests. X-Git-Tag: v2.2.0_alpha52~31 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e49772302478a05a2df6f8fa6d2086cf7ccd2bc7;p=portage.git Fix PORTDIR in emerge tests. --- diff --git a/pym/portage/tests/emerge/test_simple.py b/pym/portage/tests/emerge/test_simple.py index 2aca3e308..09972ba35 100644 --- a/pym/portage/tests/emerge/test_simple.py +++ b/pym/portage/tests/emerge/test_simple.py @@ -72,6 +72,7 @@ class SimpleEmergeTestCase(TestCase): distdir = os.path.join(eprefix, "distdir") fake_bin = os.path.join(eprefix, "bin") portage_tmpdir = os.path.join(eprefix, "var", "tmp", "portage") + portdir = settings["PORTDIR"] profile_path = settings.profile_path var_cache_edb = os.path.join(eprefix, "var", "cache", "edb") @@ -106,6 +107,7 @@ class SimpleEmergeTestCase(TestCase): "PORTAGE_GRPNAME" : os.environ["PORTAGE_GRPNAME"], "PORTAGE_TMPDIR" : portage_tmpdir, "PORTAGE_USERNAME" : os.environ["PORTAGE_USERNAME"], + "PORTDIR" : portdir, "PYTHONPATH" : pythonpath, }