From e49772302478a05a2df6f8fa6d2086cf7ccd2bc7 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 29 Aug 2011 11:24:15 -0700 Subject: [PATCH] Fix PORTDIR in emerge tests. --- pym/portage/tests/emerge/test_simple.py | 2 ++ 1 file changed, 2 insertions(+) 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, } -- 2.26.2