summaryrefslogtreecommitdiffstats
path: root/tests/magtests.py
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2016-11-02 08:58:42 -0400
committerSimo Sorce <simo@redhat.com>2016-11-02 09:09:41 -0400
commite36894f77be2ab20bc91a1d39c087b3f398e332e (patch)
tree958331b0af8b778678e4366946b4ef387867fb26 /tests/magtests.py
parent4ed98d156122f748c6f0d4fed183944d52e245e7 (diff)
downloadmod_auth_gssapi-perms.tar.gz
mod_auth_gssapi-perms.tar.xz
mod_auth_gssapi-perms.zip
Add tests for delegation and ccache mode settingperms
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'tests/magtests.py')
-rwxr-xr-xtests/magtests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/magtests.py b/tests/magtests.py
index 0065b7b..074e2f0 100755
--- a/tests/magtests.py
+++ b/tests/magtests.py
@@ -257,7 +257,6 @@ def kinit_user(testdir, kdcenv):
kinit.wait()
if kinit.returncode != 0:
raise ValueError('kinit failed')
-
return testenv
@@ -388,6 +387,8 @@ if __name__ == '__main__':
keysenv = setup_keys(testdir, kdcenv)
testenv = kinit_user(testdir, kdcenv)
+ testenv['DELEGCCACHE'] = os.path.join(testdir, 'httpd',
+ USR_NAME + '@' + TESTREALM)
test_spnego_auth(testdir, testenv, testlog)
test_spnego_negotiate_once(testdir, testenv, testlog)