Add code to run the tests for 'samba-tool user edit'
authorRowland Penny <rpenny@samba.org>
Tue, 4 Jul 2017 14:07:53 +0000 (15:07 +0100)
committerAlexander Bokovoy <ab@samba.org>
Wed, 5 Jul 2017 15:53:24 +0000 (17:53 +0200)
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

source4/selftest/tests.py

index 4e0642f6b8a82411f409df63d8b9be62d45cd866..15037a2060899664ebd578cb251bdcedf8863f59 100755 (executable)
@@ -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.