[16025] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

[krbdev.mit.edu #8674] git commit

daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Tue May 29 15:00:17 2018

Mail-followup-to: rt@krbdev.mit.edu
mail-copies-to: never
From: "Greg Hudson via RT" <rt-comment@KRBDEV-PROD-APP-1.mit.edu>
In-Reply-To: <rt-8674@krbdev.mit.edu>
Message-ID: <rt-8674-48574.2.24225085305328@krbdev.mit.edu>
To: "'AdminCc of krbdev.mit.edu Ticket #8674'":;
Date: Tue, 29 May 2018 15:00:08 -0400 (EDT)
Reply-To: rt-comment@KRBDEV-PROD-APP-1.mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krb5-bugs-bounces@mit.edu


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@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(-)

_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs

home help back first fref pref prev next nref lref last post