Add LD_LIBRARY_PATH and TS_ROOT to env blacklistedkey

Project: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/commit/83e515d8
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/tree/83e515d8
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/diff/83e515d8

Branch: refs/heads/master
Commit: 83e515d81269ce76784e098a1335d32357aa3253
Parents: e0a0c9f
Author: Thomas Jackson <[email protected]>
Authored: Mon Dec 22 18:22:29 2014 -0800
Committer: Thomas Jackson <[email protected]>
Committed: Mon Dec 22 18:22:29 2014 -0800

----------------------------------------------------------------------
 tsqa/environment.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver-qa/blob/83e515d8/tsqa/environment.py
----------------------------------------------------------------------
diff --git a/tsqa/environment.py b/tsqa/environment.py
index 2a5a5ea..314fdab 100644
--- a/tsqa/environment.py
+++ b/tsqa/environment.py
@@ -107,7 +107,8 @@ class EnvironmentFactory(object):
         # only these keys
         # TODO: only de-dupe for get_key?? for now we don't care since all of 
these
         # have no effect on build, but if we add one that does we'll care
-        for blacklisted_key in ('PWD', 'OLDPWD'):  # TODO: global?
+        # TODO: global?
+        for blacklisted_key in ('PWD', 'OLDPWD', 'LD_LIBRARY_PATH', 'TS_ROOT'):
             if blacklisted_key in env:
                 del env[blacklisted_key]
 

Reply via email to