In future commits we'll be adding more logging to LDB, which breaks the
ldb_key_value_test suite. By removing the debug handler, a bug
involving an expired debug_string variable being written to is avoided.
Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
assert_non_null(p);
TALLOC_FREE(debug_string);
talloc_free(tmp_ctx);
+ ldb_set_debug(test_ctx->ldb, NULL, NULL);
}
static void test_ldb_guid_index_duplicate_dn_logging(void **state)
assert_null(debug_string);
talloc_free(tmp_ctx);
+ ldb_set_debug(test_ctx->ldb, NULL, NULL);
}
static void test_ldb_talloc_destructor_transaction_cleanup(void **state)