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