]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
selftest: We don't need an AD DC for libsmbclient tests
authorVolker Lendecke <vl@samba.org>
Sun, 23 Feb 2020 11:42:03 +0000 (12:42 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 25 Feb 2020 17:44:45 +0000 (17:44 +0000)
In case we would start to actually test kerberos auth via the libsmbclient API
(which we right now don't), this will change again. Until then,

make test TESTS=libsmbclient

is a lot faster this way.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/selftest/tests.py

index ab2c4f69da0f27fa9d2d3eb67e2efbb6d4f21487..59251d95433375183ed3a61f6b2fa69c9264048f 100755 (executable)
@@ -376,7 +376,11 @@ for t in libsmbclient:
         libsmbclient_testargs = ["--option=torture:smburl=" + url,
                                  "--option=torture:replace_smbconf=%s/testdata/samba3/smb_new.conf" % srcdir(),
                                  "--option=torture:clientprotocol=%s" % proto]
-        plansmbtorture4testsuite(t, "ad_dc", ['//$SERVER/tmp', '-U$USERNAME%$PASSWORD'] + libsmbclient_testargs, "samba4.%s.%s" % (t, proto))
+        plansmbtorture4testsuite(
+            t,
+            "nt4_dc",
+            ['//$SERVER/tmp', '-U$USERNAME%$PASSWORD'] + libsmbclient_testargs,
+            "samba4.%s.%s" % (t, proto))
 
 plansmbtorture4testsuite("raw.qfileinfo.ipc", "ad_dc_ntvfs", '//$SERVER/ipc\$ -U$USERNAME%$PASSWORD')