ldb_mod_op_test: Make sure that closing the database frees locks
authorGary Lockyer <gary@catalyst.net.nz>
Mon, 22 Jan 2018 22:03:16 +0000 (11:03 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 7 Mar 2018 03:38:02 +0000 (04:38 +0100)
commit7f625f9b27b229f74a88dfe6d86fadd060c47160
treefe21603c1d8f96722ac0071e90803d97a748a1ff
parent87708c3f91fbcbe224d2a71119a420b59c6e950e
ldb_mod_op_test: Make sure that closing the database frees locks

Without the destructor firing, this test used to pass, but now we show
that we must be able to open a new ldb handle.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Mar  7 04:38:02 CET 2018 on sn-devel-144
lib/ldb/tests/ldb_mod_op_test.c