[krbdev.mit.edu #8674] git commit

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[krbdev.mit.edu #8674] git commit

Norm Green via RT

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 <[hidden email]>
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(-)

_______________________________________________
krb5-bugs mailing list
[hidden email]
https://mailman.mit.edu/mailman/listinfo/krb5-bugs