1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib/tdb
Aaron Haslett 04217372f4 tdb: test for readonly locks mode on tdbbackup command
Simple bash test for readonly locks on tdbbackup:
1. Running tdbbackup on a database with and without readonly locks enabled.
2. Dump both backups and original.
3. Check all three dumps match.

A binary sample_tdb.tdb file is included for the test because the existing
sample tdbs in lib/tdb/test are either corrupt or empty.

Signed-off-by: Aaron Haslett <aaron.haslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
2018-08-06 05:37:42 +02:00
..
ABI tdb: version 1.3.16 2018-07-12 04:32:09 +02:00
common tdb: Fix a "increases alignment" warning 2018-03-22 07:21:44 +01:00
docs Fix various spelling errors 2015-11-06 13:43:45 +01:00
include tdb: Add new function tdb_transaction_active() 2017-07-02 17:35:19 +02:00
man tdbtool: Add "storehex" command 2017-04-22 09:16:16 +02:00
python python: bulk replace dict.iteritems to items for py3 2018-04-13 07:27:12 +02:00
test tdb: test for readonly locks mode on tdbbackup command 2018-08-06 05:37:42 +02:00
tools tdb: adding readonly locks mode to tdbbackup tool 2018-08-06 05:37:42 +02:00
web Update tdb and talloc web pages 2009-05-05 19:04:39 -04:00
_tdb_text.py pyldb: Add a text-based interface for Python 3 2015-07-21 19:04:15 +02:00
configure tdb: Remove autotools support. 2010-12-24 01:15:05 +01:00
doxy.config doc: Remove build/ from doxygen config or it will not work in brew. 2012-08-04 16:31:22 +02:00
Makefile tdb: import unit tests from CCAN into tdb/test/ 2012-02-14 04:05:43 +10:30
pytdb.c tdb python binding: raise KeyError(key) when the key doesn't exist 2015-07-21 19:04:15 +02:00
tdb.pc.in s4-pkgconfig: add @LIB_RPATH@ to our link flags 2010-12-08 12:46:00 +01:00
wscript tdb: test for readonly locks mode on tdbbackup command 2018-08-06 05:37:42 +02:00