Blame SOURCES/tests-Test-suite-fixes-for-virtualenv-and-clang.patch

e540be
From ce83aa116397fb71143e5b1363ce7563f7a4444d Mon Sep 17 00:00:00 2001
e540be
From: Robbie Harwood <rharwood@redhat.com>
e540be
Date: Mon, 11 Mar 2019 14:56:31 -0400
e540be
Subject: [PATCH] [tests] Test suite fixes for virtualenv and clang
e540be
e540be
- Typo fix - VIRTUAL_ENV in magtests.py
e540be
- testenv object manipulation fix in magtests.py
e540be
- Work around -fstack-clash-protection problems in clang
e540be
e540be
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
e540be
(cherry picked from commit 6aa0a5bfe9d60a50cf36c561268c5d7c1fdb2f0e)
e540be
[rharwood@redhat.com: drop Travis goo]
e540be
(cherry picked from commit 11c966cc630393e322ef6b88df91d16247bbfc37)
e540be
---
e540be
 tests/magtests.py | 5 ++++-
e540be
 1 file changed, 4 insertions(+), 1 deletion(-)
e540be
e540be
diff --git a/tests/magtests.py b/tests/magtests.py
e540be
index f14f47a..a4842a0 100755
e540be
--- a/tests/magtests.py
e540be
+++ b/tests/magtests.py
e540be
@@ -687,7 +687,7 @@ if __name__ == '__main__':
e540be
 
e540be
         # support virtualenv
e540be
         testenv['PATH'] = os.environ.get('PATH', '')
e540be
-        testenv['ViRTUAL_ENV'] = os.environ.get('VIRTUAL_ENV', '')
e540be
+        testenv['VIRTUAL_ENV'] = os.environ.get('VIRTUAL_ENV', '')
e540be
 
e540be
         testenv['DELEGCCACHE'] = os.path.join(testdir, 'httpd',
e540be
                                               USR_NAME + '@' + TESTREALM)
e540be
@@ -716,6 +716,9 @@ if __name__ == '__main__':
e540be
                    'MAG_USER_NAME_2': USR_NAME_2,
e540be
                    'MAG_USER_PASSWORD_2': USR_PWD_2}
e540be
         testenv.update(kdcenv)
e540be
+        testenv['PATH'] = os.environ.get('PATH', '')
e540be
+        testenv['VIRTUAL_ENV'] = os.environ.get('VIRTUAL_ENV', '')
e540be
+
e540be
         errs += test_basic_auth_krb5(testdir, testenv, logfile)
e540be
 
e540be
         errs += test_no_negotiate(testdir, testenv, logfile)