commit b2ca0f2b6b64b90c118e40dc3c25087491171d62
Author: Michal Srb <msrb(a)redhat.com>
Date: Wed Jul 9 09:59:13 2014 +0200
[test] Switch to JAVAPACKAGES_CACHE_DIR
test/test_common.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/test/test_common.py b/test/test_common.py
index 760bbea..f57ac51 100644
--- a/test/test_common.py
+++ b/test/test_common.py
@@ -126,7 +126,7 @@ def osgiprov(filelist):
stdin = "\n".join(filelist)
(stdout, stderr, return_value) = call_script(scriptpath,
[], stdin=stdin, wrapped=True,
extra_env={"RPM_BUILD_ROOT":"/dev/null",
-
"RPM_BUILD_DIR":"/tmp"})
+
"JAVAPACKAGES_CACHE_DIR":"/tmp"})
fun(self, stdout, stderr, return_value)
return test_decorated
return test_decorator
@@ -136,7 +136,7 @@ def requires_generator(name, filelist, config=None,
javaconfdirs=None):
def test_decorated(self):
scriptpath = path.join(DIRPATH, '..', 'depgenerators', name)
stdin = build_depmap_paths(filelist)
- env = {"RPM_BUILD_DIR":"/tmp"}
+ env = {"JAVAPACKAGES_CACHE_DIR":"/tmp"}
if javaconfdirs:
confdirs = [os.path.join(DIRPATH, conf) for conf in javaconfdirs]
env['JAVACONFDIRS'] = os.pathsep.join(confdirs)
Show replies by date