summaryrefslogtreecommitdiff
path: root/source4/selftest
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2019-01-31 12:18:59 +1300
committerAndrew Bartlett <abartlet@samba.org>2019-03-04 21:41:18 +0000
commit7d8cfe02bb4ef30795ccbaee7233e73c29fa9e8c (patch)
tree228502bebe0d3a87696de747494a86a965c33af3 /source4/selftest
parent0673ad09ae989296c69a4282711897740f4c115a (diff)
downloadsamba-7d8cfe02bb4ef30795ccbaee7233e73c29fa9e8c.tar.gz
dsdb/pytests: sanity checks for links under subtree renames
These tests will ensure that linked attributes continue to be handled correctly under forthcoming changes. The la_move_ou_tree_big() test will show that the changes make this much faster, after which it can perhaps be removed. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/selftest')
-rwxr-xr-xsource4/selftest/tests.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py
index f1650874104..c6355f3a41f 100755
--- a/source4/selftest/tests.py
+++ b/source4/selftest/tests.py
@@ -863,6 +863,17 @@ planoldpythontestsuite("ad_dc_default", "sort", environ={'SERVER' : '$SERVER', '
plantestsuite_loadlist("samba4.ldap.linked_attributes.python(ad_dc_ntvfs)", "ad_dc_ntvfs:local", [python, os.path.join(samba4srcdir, "dsdb/tests/python/linked_attributes.py"), '$PREFIX_ABS/ad_dc_ntvfs/private/sam.ldb', '-U"$USERNAME%$PASSWORD"', '--workgroup=$DOMAIN', '$LOADLIST', '$LISTOPT'])
+plantestsuite_loadlist("samba4.ldap.subtree_rename.python(ad_dc_ntvfs)",
+ "ad_dc_ntvfs:local",
+ [python, os.path.join(samba4srcdir,
+ "dsdb/tests/python/subtree_rename.py"),
+ '$PREFIX_ABS/ad_dc_ntvfs/private/sam.ldb',
+ '-U"$USERNAME%$PASSWORD"',
+ '--workgroup=$DOMAIN',
+ '$LOADLIST',
+ '$LISTOPT'])
+
+
# These should be the first tests run against testenvs created by backup/restore
for env in ['offlinebackupdc', 'restoredc', 'renamedc', 'labdc']:
# check that a restored DC matches the original DC (backupfromdc)