ldb_mdb/tests: Tests for wrap open
authorGary Lockyer <gary@catalyst.net.nz>
Thu, 8 Mar 2018 03:47:59 +0000 (16:47 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 23 May 2018 00:27:11 +0000 (02:27 +0200)
commitbe335f1fbc8ec1c4fb7b329138e742e5f2403b77
tree8bef315134587841cf126ebd0dd5d3f69ebbb616
parent4dc44659dd290035a5500a13197e9fcee7d9a21b
ldb_mdb/tests: Tests for wrap open

Tests to ensure that the mdb_env wrapping code correctly handles
multiple ldb's point to the same physical database file.

The test_ldb_close_with_multiple_connections tests are in
ldb_mod_op_test due to the utility code it uses from
elsewhere in that test.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
lib/ldb/tests/ldb_lmdb_test.c
lib/ldb/tests/ldb_mod_op_test.c
lib/ldb/wscript