From d925614621bdec5dbeb5ac49d3e5cab08c234ead Mon Sep 17 00:00:00 2001 From: Rowland Penny Date: Tue, 4 Jul 2017 15:07:53 +0100 Subject: [PATCH 3/3] 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 Reviewed-by: Alexander Bokovoy Autobuild-User(master): Alexander Bokovoy Autobuild-Date(master): Wed Jul 5 17:53:24 CEST 2017 on sn-devel-144 (cherry picked from commit e3707c1b19a27d431722e1b355dc39a39f7f8f1c) --- source4/selftest/tests.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py index 4e0642f..15037a2 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. -- 2.1.4