ldb: test for parse errors
commit237bebf28e1f030978de130099362907fabcbd1c
authorAaron Haslett <aaronhaslett@catalyst.net.nz>
Tue, 28 May 2019 05:22:10 +0000 (28 17:22 +1200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 23 Aug 2019 08:59:27 +0000 (23 08:59 +0000)
tree334242bceabfa493db16ad1705a3834aecee27d9
parentea4371d020d931ae0898e6a88907bba50576d228
ldb: test for parse errors

Parse errors aren't passed up correctly by the tdb backend. This
patch modifies a test to expose the issue, next patch will fix it.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13959

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
(cherry picked from commit 2de0aebed60b8e83508f50e5391ede618ce0e595)
lib/ldb/tests/ldb_kv_ops_test.c