ldb: python test for repack
authorAaron Haslett <aaronhaslett@catalyst.net.nz>
Mon, 20 May 2019 05:59:33 +0000 (17:59 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 29 May 2019 04:41:24 +0000 (04:41 +0000)
commit8db1312b08ebaf8881cf633196f0f40b0badac9a
tree46170b35580f408b7798538019374c97c2faf68d
parent73763acf49c24727e2deaaa061be8a288ee7b3d5
ldb: python test for repack

Python test to confirm that after enabling or disabling GUID indexing,
the database is repacked on the next transaction with V1 if GUID
indexing was disabled, or V2 if it was enabled.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
lib/ldb/pyldb.c
lib/ldb/tests/guidindexpackv1.ldb [new file with mode: 0644]
lib/ldb/tests/python/repack.py [new file with mode: 0644]
lib/ldb/wscript