summaryrefslogtreecommitdiffstats
path: root/source4/selftest
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2015-01-21 01:03:13 +0200
committerAndrew Bartlett <abartlet@samba.org>2015-02-03 05:02:12 +0100
commitde42cdd305c68a7389525d245a01205469d3cf9b (patch)
tree6f1416214f1c0c951fcbb06aa5f909b9744b581c /source4/selftest
parent459a7c7de6eeb536684d801b79e3022fc20bdd4a (diff)
downloadsamba-de42cdd305c68a7389525d245a01205469d3cf9b.tar.gz
samba-de42cdd305c68a7389525d245a01205469d3cf9b.tar.xz
samba-de42cdd305c68a7389525d245a01205469d3cf9b.zip
s4-tests: Add tombstone_reanimation test case to s4 test suite
DC, USERNAME and PASSWORD are passed as environment variables prefixed with TEST_ Change-Id: I84ff628496bfa3e0538011400328585d080f21b8 Signed-off-by: Kamen Mazdrashki <kamenim@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'source4/selftest')
-rwxr-xr-xsource4/selftest/tests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py
index 09486fa961..32c7e8909f 100755
--- a/source4/selftest/tests.py
+++ b/source4/selftest/tests.py
@@ -485,6 +485,11 @@ for env in ["dc", "fl2000dc", "fl2003dc", "fl2008r2dc"]:
# therefore skip it in that configuration
plantestsuite_loadlist("samba4.ldap.passwords.python(%s)" % env, env, [python, os.path.join(samba4srcdir, "dsdb/tests/python/passwords.py"), "$SERVER", '-U"$USERNAME%$PASSWORD"', "-W$DOMAIN", '$LOADLIST', '$LISTOPT'])
plantestsuite_loadlist("samba4.ldap.password_lockout.python(%s)" % env, env, [python, os.path.join(samba4srcdir, "dsdb/tests/python/password_lockout.py"), "$SERVER", '-U"$USERNAME%$PASSWORD"', "-W$DOMAIN", "--realm=$REALM", '$LOADLIST', '$LISTOPT'])
+ planoldpythontestsuite(env, "tombstone_reanimation",
+ name="samba4.tombstone_reanimation.python",
+ environ={'TEST_SERVER': '$SERVER', 'TEST_USERNAME': '$USERNAME', 'TEST_PASSWORD': '$PASSWORD'},
+ extra_path=[os.path.join(samba4srcdir, 'dsdb/tests/python')]
+ )
planpythontestsuite("dc:local", "samba.tests.upgradeprovisionneeddc")
planpythontestsuite("plugin_s4_dc:local", "samba.tests.posixacl")