From: Volker Lendecke Date: Sun, 23 Feb 2020 11:42:03 +0000 (+0100) Subject: selftest: We don't need an AD DC for libsmbclient tests X-Git-Tag: ldb-2.2.0~1597 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9df3ed7e12f740c65cf81f819293d8c1bfbd6f9f;p=thirdparty%2Fsamba.git selftest: We don't need an AD DC for libsmbclient tests 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 Reviewed-by: Jeremy Allison --- diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py index ab2c4f69da0..59251d95433 100755 --- a/source4/selftest/tests.py +++ b/source4/selftest/tests.py @@ -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')