summaryrefslogtreecommitdiff
path: root/source4/selftest
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2011-02-27 12:24:45 +0300
committerMatthieu Patou <mat@matws.net>2011-05-21 16:25:19 +0400
commitc2fa3488317fa6b5eac0c7acc1fbed1e8cebcb7d (patch)
treedfbd35f9d024fbd586b03ecc6c39107365668352 /source4/selftest
parentfa400af18b7fdba2edd6c3b4c335dab64481545a (diff)
downloadsamba-c2fa3488317fa6b5eac0c7acc1fbed1e8cebcb7d.tar.gz
samba-c2fa3488317fa6b5eac0c7acc1fbed1e8cebcb7d.tar.bz2
samba-c2fa3488317fa6b5eac0c7acc1fbed1e8cebcb7d.zip
s4-dsdb: add unit tests for dirsync control
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source4/selftest')
-rw-r--r--source4/selftest/knownfail2
-rwxr-xr-xsource4/selftest/tests.py1
2 files changed, 3 insertions, 0 deletions
diff --git a/source4/selftest/knownfail b/source4/selftest/knownfail
index d3c3f4ee6d..52e56ea594 100644
--- a/source4/selftest/knownfail
+++ b/source4/selftest/knownfail
@@ -83,3 +83,5 @@ samba4.smb2.compound.*.invalid2
samba4.ldap.acl.*.search.* # ACL search behaviour not enabled by default
samba4.ldap.acl.*.ntSecurityDescriptor.* # ACL extended checks on search not enabled by default
samba4.nbt.winsreplication.owned # fails sometimes, timing related
+samba4.ldap.dirsync.python.dc..__main__.ExtendedDirsyncTests.test_dirsync_deleted_items
+#samba4.ldap.dirsync.python.dc..__main__.ExtendedDirsyncTests.*
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py
index eb36a0c2b1..54c2b222e1 100755
--- a/source4/selftest/tests.py
+++ b/source4/selftest/tests.py
@@ -388,6 +388,7 @@ plantestsuite("samba4.tokengroups.python(dc)", "dc:local", [python, os.path.join
plantestsuite("samba4.sam.python(dc)", "dc", [python, os.path.join(samba4srcdir, "dsdb/tests/python/sam.py"), '$SERVER', '-U"$USERNAME%$PASSWORD"', '-W', '$DOMAIN'])
plansambapythontestsuite("samba4.schemaInfo.python(dc)", "dc", os.path.join(samba4srcdir, 'dsdb/tests/python'), 'dsdb_schema_info', extra_args=['-U"$DOMAIN/$DC_USERNAME%$DC_PASSWORD"'])
plantestsuite("samba4.urgent_replication.python(dc)", "dc", [python, os.path.join(samba4srcdir, "dsdb/tests/python/urgent_replication.py"), '$PREFIX_ABS/dc/private/sam.ldb'], allow_empty_output=True)
+plantestsuite("samba4.ldap.dirsync.python(dc)", "dc", [python, os.path.join(samba4srcdir, "dsdb/tests/python/dirsync.py"), '$SERVER', '-U"$USERNAME%$PASSWORD"', '-W', '$DOMAIN'])
for env in ["dc", "fl2000dc", "fl2003dc", "fl2008r2dc"]:
plantestsuite("samba4.ldap_schema.python(%s)" % env, env, [python, os.path.join(samba4srcdir, "dsdb/tests/python/ldap_schema.py"), '$SERVER', '-U"$USERNAME%$PASSWORD"', '-W', '$DOMAIN'])
plantestsuite("samba4.ldap.possibleInferiors.python(%s)" % env, env, [python, os.path.join(samba4srcdir, "dsdb/samdb/ldb_modules/tests/possibleinferiors.py"), "ldap://$SERVER", '-U"$USERNAME%$PASSWORD"', "-W", "$DOMAIN"])