This is an automated email from the git hooks/post-receive script.
rharwood pushed a change to branch master in repository gssproxy.
from 7917a46 Enable debugging for testsuites new a672e71 Check for TERM in external environment before setting in tests
The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: proxy/tests/runtests.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
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@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@redhat.com [rharwood@redhat.com: rewrite commit message] Reviewed-by: Robbie Harwood rharwood@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')
gss-proxy@lists.fedorahosted.org