summaryrefslogtreecommitdiffstats
path: root/tests/magtests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/magtests.py')
-rwxr-xr-xtests/magtests.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/magtests.py b/tests/magtests.py
index 3e2f4fc..8075197 100755
--- a/tests/magtests.py
+++ b/tests/magtests.py
@@ -273,6 +273,16 @@ def test_spnego_auth(testdir, testenv, testlog):
else:
sys.stderr.write('SPNEGO: SUCCESS\n')
+ with (open(testlog, 'a')) as logfile:
+ spnego = subprocess.Popen(["tests/t_spnego_proxy.py"],
+ stdout=logfile, stderr=logfile,
+ env=testenv, preexec_fn=os.setsid)
+ spnego.wait()
+ if spnego.returncode != 0:
+ sys.stderr.write('SPNEGO Proxy Auth: FAILED\n')
+ else:
+ sys.stderr.write('SPNEGO Proxy Auth: SUCCESS\n')
+
def test_basic_auth_krb5(testdir, testenv, testlog):