ldb: Add tests for read only behaviour
authorGary Lockyer <gary@catalyst.net.nz>
Wed, 13 Sep 2017 23:37:41 +0000 (11:37 +1200)
committerDouglas Bagnall <dbagnall@samba.org>
Wed, 20 Sep 2017 00:25:30 +0000 (02:25 +0200)
commitf5f3657c485cd1aa854895e6a40a55ff6a0651f9
treefe33305176ec293df48994ef499bfb5abb578be9
parent22854f9b8def835d91dde3672cd17a2a273dec6e
ldb: Add tests for read only behaviour

As the kernel is no longer enforcing the read-only DB
add some tests.

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

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
lib/ldb/tests/ldb_mod_op_test.c