summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/tests/bin/setup_env.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage/tests/bin/setup_env.py b/pym/portage/tests/bin/setup_env.py
index e07643de5..3942718ad 100644
--- a/pym/portage/tests/bin/setup_env.py
+++ b/pym/portage/tests/bin/setup_env.py
@@ -37,6 +37,9 @@ def binTestsInit():
env["PATH"] = bindir + ":" + env["PATH"]
env["PORTAGE_BIN_PATH"] = bindir
env["PORTAGE_PYM_PATH"] = pymdir
+ env["PORTAGE_INST_UID"] = str(os.getuid())
+ env["PORTAGE_INST_GID"] = str(os.getgid())
+ env["DESTTREE"] = "/usr"
os.mkdir(env["D"])
os.mkdir(env["T"])
os.mkdir(env["S"])