1 |
commit: e49772302478a05a2df6f8fa6d2086cf7ccd2bc7 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 29 18:24:15 2011 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 29 18:25:01 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=e4977230 |
7 |
|
8 |
Fix PORTDIR in emerge tests. |
9 |
|
10 |
--- |
11 |
pym/portage/tests/emerge/test_simple.py | 2 ++ |
12 |
1 files changed, 2 insertions(+), 0 deletions(-) |
13 |
|
14 |
diff --git a/pym/portage/tests/emerge/test_simple.py b/pym/portage/tests/emerge/test_simple.py |
15 |
index 2aca3e3..09972ba 100644 |
16 |
--- a/pym/portage/tests/emerge/test_simple.py |
17 |
+++ b/pym/portage/tests/emerge/test_simple.py |
18 |
@@ -72,6 +72,7 @@ class SimpleEmergeTestCase(TestCase): |
19 |
distdir = os.path.join(eprefix, "distdir") |
20 |
fake_bin = os.path.join(eprefix, "bin") |
21 |
portage_tmpdir = os.path.join(eprefix, "var", "tmp", "portage") |
22 |
+ portdir = settings["PORTDIR"] |
23 |
profile_path = settings.profile_path |
24 |
var_cache_edb = os.path.join(eprefix, "var", "cache", "edb") |
25 |
|
26 |
@@ -106,6 +107,7 @@ class SimpleEmergeTestCase(TestCase): |
27 |
"PORTAGE_GRPNAME" : os.environ["PORTAGE_GRPNAME"], |
28 |
"PORTAGE_TMPDIR" : portage_tmpdir, |
29 |
"PORTAGE_USERNAME" : os.environ["PORTAGE_USERNAME"], |
30 |
+ "PORTDIR" : portdir, |
31 |
"PYTHONPATH" : pythonpath, |
32 |
} |