summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGary Lockyer <gary@catalyst.net.nz>2019-12-19 16:31:24 +1300
committerAndrew Bartlett <abartlet@samba.org>2019-12-20 07:35:41 +0000
commitf0cebbe4dd0317e2abfcbe252977383e6f37f3bd (patch)
treecdcccce8bd7a1efb20b1d0156e1a3aa6cb593026 /source4
parent1cf2397226d1ba6d0ff91c58da77b989e30b0420 (diff)
downloadsamba-f0cebbe4dd0317e2abfcbe252977383e6f37f3bd.tar.gz
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>
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/selftest/tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py
index 121ef2bd691..9b141f96aaf 100755
--- a/source4/selftest/tests.py
+++ b/source4/selftest/tests.py
@@ -710,6 +710,8 @@ planpythontestsuite("none", "samba.tests.samba_tool.help")
planpythontestsuite("ad_dc_default:local", "samba.tests.samba_tool.passwordsettings")
planpythontestsuite("ad_dc:local", "samba.tests.samba_tool.dsacl")
+planpythontestsuite("none", "samba.tests.samba_upgradedns_lmdb")
+
# Run these against chgdcpass to share the runtime load
planpythontestsuite("chgdcpass:local", "samba.tests.samba_tool.sites")
planpythontestsuite("chgdcpass:local", "samba.tests.samba_tool.dnscmd")