summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRowland Penny <rpenny@samba.org>2017-07-04 15:07:53 +0100
committerStefan Metzmacher <metze@samba.org>2017-07-13 07:41:24 +0200
commitdc3506874da888c0ff53f2df5cd2ffc4d7fac1fc (patch)
tree71440fb26b4e90696ec12c740b9dffc6bcdaebd2
parenta1874cd86a2f2c12ce2b40c7c3a115f0e50a238e (diff)
downloadsamba-dc3506874da888c0ff53f2df5cd2ffc4d7fac1fc.tar.gz
Add code to run the tests for 'samba-tool user edit'
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12884 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 (cherry picked from commit e3707c1b19a27d431722e1b355dc39a39f7f8f1c)
-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.