From: Mike Frysinger Date: Sun, 9 Oct 2011 22:34:35 +0000 (-0400) Subject: tests: setup default bin env more X-Git-Tag: v2.2.0_alpha65~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f1aeebf2c45869fa4149dda9c57e4ac50c8c5a15;p=portage.git tests: setup default bin env more We want the default testing env to match default portage env. Signed-off-by: Mike Frysinger --- 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"])