[krbdev.mit.edu #8674] git commit

Greg Hudson via RT rt-comment at KRBDEV-PROD-APP-1.mit.edu
Tue May 29 15:00:08 EDT 2018


Add LMDB KDB module tests

Add a new k5test function multidb_realms() which yields a realm using
BDB and a realm using LMDB.  Run the tests in t_dump.py, t_iprop.py,
the lockout tests in t_policy.py, and kdbtest (in t_kdb.py) with both
databases.

If K5TEST_LMDB is set in the environment, use LMDB for all Python
tests and all tests in tests/dejagnu, with two exceptions
(t_unlockiter.py and t_kdb_locking.py) which test BDB-specific
behavior.  To support those exceptions, add the "bdb_only" realm
initialization flag.

In t_iprop.py, be sure to properly clean up kpropd daemons, using a
new k5test realm method stop_kpropd() to stop a kpropd daemon started
with start_kpropd() and remove it from the realm's list.

https://github.com/krb5/krb5/commit/dafc1daeedb008faa9dc6246e33f37a5c45462ca
Author: Greg Hudson <ghudson at mit.edu>
Commit: dafc1daeedb008faa9dc6246e33f37a5c45462ca
Branch: master
 src/Makefile.in                            |    6 +-
 src/tests/dejagnu/config/default.exp       |   15 +-
 src/tests/dejagnu/krb-standalone/kprop.exp |    9 +-
 src/tests/t_dump.py                        |  158 ++++----
 src/tests/t_iprop.py                       |  662 ++++++++++++++--------------
 src/tests/t_kdb.py                         |    6 +-
 src/tests/t_kdb_locking.py                 |    2 +-
 src/tests/t_policy.py                      |   48 +-
 src/tests/t_unlockiter.py                  |    4 +-
 src/util/k5test.py                         |   48 ++-
 10 files changed, 518 insertions(+), 440 deletions(-)



More information about the krb5-bugs mailing list