]> git.ipfire.org Git - thirdparty/krb5.git/commit
Add test cases for preauth fallback behavior 604/head
authorGreg Hudson <ghudson@mit.edu>
Fri, 20 Jan 2017 17:44:12 +0000 (12:44 -0500)
committerGreg Hudson <ghudson@mit.edu>
Thu, 23 Feb 2017 17:33:28 +0000 (12:33 -0500)
commit748beda1e36d76bed8b06b272ecb72988eede94b
tree3f7b228fde1dfc14ceeb233857046643d3e7cc3a
parent52d2de31bc4728dbc2f59c6033dcdab86da919e9
Add test cases for preauth fallback behavior

Add options to icred for performing optimistic preauth and setting
preauth options, and for choosing between the normal and stepwise
interfaces.  Add options to the test preauth module to allow induced
failures at several points in processing, factoring out some padata
manipulation functions into a new file to avoid repeating too much
code.  Add test cases to t_preauth.py using the new facilities to
exercise and verify several preauth fallback scenarios.  Amend the
tryagain test case in t_pkinit.py to look for more trace log messages.

ticket: 8537
src/plugins/preauth/test/Makefile.in
src/plugins/preauth/test/cltest.c
src/plugins/preauth/test/common.c [new file with mode: 0644]
src/plugins/preauth/test/common.h [new file with mode: 0644]
src/plugins/preauth/test/deps
src/plugins/preauth/test/kdctest.c
src/tests/icred.c
src/tests/t_general.py
src/tests/t_pkinit.py
src/tests/t_preauth.py