This is an automated email from the git hooks/post-receive script.
rharwood pushed a commit to branch master
in repository gssproxy.
commit a672e716f47481d5b312e474c42a8d66d1305bcf
Author: Alexander Scheel <ascheel(a)redhat.com>
Date: Mon Aug 7 13:59:18 2017 -0400
Check for TERM in external environment before setting in tests
Fixes an exception when running the test suite without TERM defined.
Signed-off-by: Alexander Scheel <ascheel(a)redhat.com>
[rharwood(a)redhat.com: rewrite commit message]
Reviewed-by: Robbie Harwood <rharwood(a)redhat.com>
Merges: #206
---
proxy/tests/runtests.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/proxy/tests/runtests.py b/proxy/tests/runtests.py
index d93d3e9..7af24cf 100755
--- a/proxy/tests/runtests.py
+++ b/proxy/tests/runtests.py
@@ -62,7 +62,9 @@ def runtests_main(testfiles):
keysenv = setup_keys(testdir, kdcenv)
gssapienv = setup_gssapi_env(testdir, kdcenv)
- gssapienv['TERM'] = os.environ['TERM']
+
+ if 'TERM' in os.environ:
+ gssapienv['TERM'] = os.environ['TERM']
gssproxylog = os.path.join(testdir, 'gssproxy.log')
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.