lib ldb ldb_key_value tests: Add tests for wrapped operations
authorGary Lockyer <gary@catalyst.net.nz>
Mon, 25 Mar 2019 23:42:32 +0000 (12:42 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 21 Jun 2019 04:27:12 +0000 (04:27 +0000)
commit201684e59fd417ca913cb1d2d099e91b57dace6c
treeb2002323cc93cb7bced1dcc4436ff778b3bcb6ef
parent565341baf537c9b3145a882d6a23ad4f155c0036
lib ldb ldb_key_value tests: Add tests for wrapped operations

Add test exercising the sub/nested transactions wrapping the key value
operations.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb/ldb_key_value/ldb_kv.c
lib/ldb/tests/ldb_key_value_sub_txn_mdb_test.valgrind [new file with mode: 0644]
lib/ldb/tests/ldb_key_value_sub_txn_test.c [new file with mode: 0644]
lib/ldb/tests/ldb_kv_ops_test.c
lib/ldb/tests/ldb_kv_ops_test.valgrind [new file with mode: 0644]
lib/ldb/wscript