diff options
author | Greg Hudson <ghudson@mit.edu> | 2013-09-28 16:29:36 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2013-10-02 10:41:40 -0400 |
commit | 5d03cb6b235f0ee0e30b34630f95f208d6acd3d0 (patch) | |
tree | 10a8c2d13a068a250f5b3f339ceccd47f0154978 /src/tests/deps | |
parent | 7c69a0372db5b7ed670ef3099a97942ede7a4739 (diff) | |
download | krb5-5d03cb6b235f0ee0e30b34630f95f208d6acd3d0.zip krb5-5d03cb6b235f0ee0e30b34630f95f208d6acd3d0.tar.gz krb5-5d03cb6b235f0ee0e30b34630f95f208d6acd3d0.tar.bz2 |
Conditionally test KEYRING ccache type
If the keyctl command is found and klist recognizes the KEYRING
credential cache type, then run several tests against keyring ccaches:
the collection test program in lib/krb5/ccache, the command-line
collection tests in tests/t_ccache.py, and some new tests to verify
legacy session cache behavior. Much of the Python code in t_ccache.py
is moved into a new function named "collection_test" so we can run it
once against a DIR collection and once against a KEYRING collection.
Also: fix a memory leak in the collection test program; add a test for
iteration when the default cache name is a subsidiary name; use a
process keyring ccache in t_cc.c to avoid leaving behind empty
collections in the session keyring after each test run.
Adapted from a patch by simo@redhat.com.
ticket: 7711
Diffstat (limited to 'src/tests/deps')
0 files changed, 0 insertions, 0 deletions