]> git.ipfire.org Git - thirdparty/krb5.git/commit
Add timestamp tests
authorGreg Hudson <ghudson@mit.edu>
Sat, 29 Apr 2017 21:30:36 +0000 (17:30 -0400)
committerGreg Hudson <ghudson@mit.edu>
Tue, 16 May 2017 15:57:08 +0000 (11:57 -0400)
commit8ca62e54e89e2fbd6a089e8ab20b4e374a486003
tree054ea710a4ef1faf04f477edecf608cf69547e98
parenta9cbbf0899f270fbb14f63ffbed1b6d542333641
Add timestamp tests

Add a test program for krb5int_validate_times() covering cases before
and across the y2038 boundary.  Add a GSSAPI test program to exercise
lifetime queries, and tests using it in t_gssapi.py for ticket end
times after y2038.  Add a new test script t_y2038.py which only runs
on platforms with 64-bit time_t to exercise end-user operations across
and after y2038.  Add an LDAP test case to test storage of post-y2038
timestamps.

ticket: 8352
12 files changed:
.gitignore
src/Makefile.in
src/config/pre.in
src/configure.in
src/lib/krb5/krb/Makefile.in
src/lib/krb5/krb/t_valid_times.c [new file with mode: 0644]
src/tests/Makefile.in
src/tests/gssapi/Makefile.in
src/tests/gssapi/t_gssapi.py
src/tests/gssapi/t_lifetime.c [new file with mode: 0644]
src/tests/t_kdb.py
src/tests/t_y2038.py [new file with mode: 0644]