summaryrefslogtreecommitdiffstats
path: root/pym/portage/tests/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-06-19 06:16:27 +0000
committerZac Medico <zmedico@gentoo.org>2007-06-19 06:16:27 +0000
commit1016c4a232dbfd308858cc281f5f9359d92a73c2 (patch)
treebe21c4724b355707f29fbf830dfefbdc1af97efc /pym/portage/tests/bin
parentb5c438044c24e07602c482e3f03eac9507387377 (diff)
downloadportage-1016c4a232dbfd308858cc281f5f9359d92a73c2.tar.gz
portage-1016c4a232dbfd308858cc281f5f9359d92a73c2.tar.bz2
portage-1016c4a232dbfd308858cc281f5f9359d92a73c2.zip
Add PORTAGE_BIN_PATH to the environment since it's used by dobin to locate isolated-functions.sh.
svn path=/main/trunk/; revision=6869
Diffstat (limited to 'pym/portage/tests/bin')
-rw-r--r--pym/portage/tests/bin/setup_env.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/tests/bin/setup_env.py b/pym/portage/tests/bin/setup_env.py
index 1f2491701..274d72654 100644
--- a/pym/portage/tests/bin/setup_env.py
+++ b/pym/portage/tests/bin/setup_env.py
@@ -7,6 +7,7 @@ import os, shutil, sys
from os.path import dirname, abspath, join
from portage.tests import TestCase
from portage.process import spawn
+from portage.const import PORTAGE_BIN_PATH
bindir = join(dirname(dirname(abspath(__file__))), "..", "..", "..", "bin")
basedir = join(dirname(dirname(abspath(__file__))), "bin", "root")
@@ -15,6 +16,7 @@ os.environ["T"] = os.path.join(basedir, "temp")
os.environ["S"] = os.path.join(basedir, "workdir")
os.environ["PF"] = "portage-tests-0.09-r1"
os.environ["PATH"] = bindir + ":" + os.environ["PATH"]
+os.environ["PORTAGE_BIN_PATH"] = PORTAGE_BIN_PATH
def binTestsCleanup():
if os.access(basedir, os.W_OK):