/
githubmirror
/
gssproxy
Обзор
Документация
Войти
/
githubmirror
/
gssproxy
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tests/t_acquire.py
26 строк
1008 B
Alexander Scheel
Enable debugging for testsuites
15 июл 2017, 21:40
15 июл 2017, 21:40
5a0d500
Код
Авторство
О чём код?
#!/usr/bin/python3 # Copyright (C) 2015,2016 - GSS-Proxy contributors; see COPYING for the license. from testlib import * def run(testdir, env, conf, expected_failure=False): print("Testing basic acquire creds...", file=sys.stderr) conf['prefix'] = str(cmd_index) svc_keytab = os.path.join(testdir, SVC_KTNAME) testenv = {'KRB5CCNAME': os.path.join(testdir, 't' + conf['prefix'] + '_acquire.ccache'), 'KRB5_KTNAME': conf['keytab'], 'KRB5_TRACE': os.path.join(testdir, 't' + conf['prefix'] + '_acquire.trace'), 'GSS_USE_PROXY': 'yes', 'GSSPROXY_BEHAVIOR': 'REMOTE_FIRST'} testenv.update(env) cmd = "./tests/t_acquire " + conf['svc_name'] return run_testcase_cmd(testenv, conf, cmd, "Acquire", expected_failure) if __name__ == "__main__": from runtests import runtests_main runtests_main(["t_acquire.py"])