test upgradedns: ensure lmdb lock files linked
authorGary Lockyer <gary@catalyst.net.nz>
Thu, 19 Dec 2019 03:31:24 +0000 (16:31 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 20 Dec 2019 07:35:41 +0000 (07:35 +0000)
commitf0cebbe4dd0317e2abfcbe252977383e6f37f3bd
treecdcccce8bd7a1efb20b1d0156e1a3aa6cb593026
parent1cf2397226d1ba6d0ff91c58da77b989e30b0420
test upgradedns: ensure lmdb lock files linked

Add tests to check that the '-lock' files for the dns partitions as well as
the data files are linked when running
    samba_dnsupgrade --dns-backend=BIND9_DLZ
failure to create these links can cause corruption of the corresponding
data file.

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

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/samba_upgradedns_lmdb.py [new file with mode: 0644]
selftest/knownfail.d/bug-14199 [new file with mode: 0644]
source4/selftest/tests.py