From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/tests/bin/
Date: Mon, 10 Oct 2011 02:29:35 +0000 (UTC) [thread overview]
Message-ID: <f1aeebf2c45869fa4149dda9c57e4ac50c8c5a15.vapier@gentoo> (raw)
commit: f1aeebf2c45869fa4149dda9c57e4ac50c8c5a15
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 9 22:34:35 2011 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Mon Oct 10 02:27:58 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=f1aeebf2
tests: setup default bin env more
We want the default testing env to match default portage env.
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>
---
pym/portage/tests/bin/setup_env.py | 3 +++
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 e07643d..3942718 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"])
next reply other threads:[~2011-10-10 2:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-10 2:29 Mike Frysinger [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-02-21 23:36 [gentoo-commits] proj/portage:master commit in: pym/portage/tests/bin/ Zac Medico
2018-01-09 20:59 Zac Medico
2011-12-09 4:58 Zac Medico
2011-11-02 2:27 Zac Medico
2011-10-10 2:29 Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f1aeebf2c45869fa4149dda9c57e4ac50c8c5a15.vapier@gentoo \
--to=vapier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox