+def test_basic_auth_krb5(testdir, testenv, testlog):
+
+ basicdir = os.path.join(testdir, 'httpd', 'html', 'basic_auth_krb5')
+ os.mkdir(basicdir)
+ shutil.copy('tests/index.html', basicdir)
+
+ with (open(testlog, 'a')) as logfile:
+ basick5 = subprocess.Popen(["tests/t_basic_k5.py"],
+ stdout=logfile, stderr=logfile,
+ env=testenv, preexec_fn=os.setsid)
+ basick5.wait()
+ if basick5.returncode != 0:
+ sys.stderr.write('BASIC-AUTH: FAILED\n')
+ else:
+ sys.stderr.write('BASIC-AUTH: SUCCESS\n')
+
+