X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mod_auth_gssapi.git;a=blobdiff_plain;f=tests%2Fmagtests.py;h=8075197c8d46c7a2a0c734a180754b6177da60a7;hp=3e2f4fccec97fac758dc366c8474a673dd709af4;hb=5e720934614c152fc00f4e02180d99b0b7dfdbe5;hpb=7aed3f2080561c603bc2dc6e44dcce3f6f09a09e 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):