summaryrefslogtreecommitdiff
path: root/source4/selftest/tests.py
diff options
context:
space:
mode:
authorRowland Penny <rpenny@samba.org>2017-07-04 15:07:53 +0100
committerAlexander Bokovoy <ab@samba.org>2017-07-05 17:53:24 +0200
commite3707c1b19a27d431722e1b355dc39a39f7f8f1c (patch)
treefe7946e6c377b848bafb43f93c76424e653d4b37 /source4/selftest/tests.py
parent3c03ac750f4dea00da21f21302beeaf5b12a35b8 (diff)
downloadsamba-e3707c1b19a27d431722e1b355dc39a39f7f8f1c.tar.gz
Add code to run the tests for 'samba-tool user edit'
Signed-off-by: Rowland Penny <rpenny@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org> Autobuild-User(master): Alexander Bokovoy <ab@samba.org> Autobuild-Date(master): Wed Jul 5 17:53:24 CEST 2017 on sn-devel-144
Diffstat (limited to 'source4/selftest/tests.py')
-rwxr-xr-xsource4/selftest/tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py
index 4e0642f6b8a..15037a20608 100755
--- a/source4/selftest/tests.py
+++ b/source4/selftest/tests.py
@@ -586,6 +586,10 @@ planpythontestsuite("ad_dc_ntvfs:local", "samba.tests.samba_tool.join")
for env in ["ad_dc_ntvfs", "fl2000dc", "fl2003dc", "fl2008r2dc"]:
planpythontestsuite(env + ":local", "samba.tests.samba_tool.fsmo")
+# test user.edit
+for env in ["ad_dc:local", "ad_dc_ntvfs:local", "fl2000dc:local", "fl2003dc:local", "fl2008r2dc:local"]:
+ plantestsuite("samba.tests.samba_tool.edit", env, [os.path.join(srcdir(), "python/samba/tests/samba_tool/edit.sh"), '$SERVER', '$USERNAME', '$PASSWORD'])
+
# We run this test against both AD DC implemetnations because it is
# the only test we have of GPO get/set behaviour, and this involves
# the file server as well as the LDAP server.