selftest: Remove silly space before unit test name
[Samba/gebeck_regimport.git] / source3 / selftest / tests.py
blob9535cbb71be8356a9a5bfdc7771db429bc796352
1 #!/usr/bin/python
2 # This script generates a list of testsuites that should be run as part of
3 # the Samba 3 test suite.
5 # The output of this script is parsed by selftest.pl, which then decides
6 # which of the tests to actually run. It will, for example, skip all tests
7 # listed in selftest/skip or only run a subset during "make quicktest".
9 # The idea is that this script outputs all of the tests of Samba 3, not
10 # just those that are known to pass, and list those that should be skipped
11 # or are known to fail in selftest/skip or selftest/samba3-knownfail. This makes it
12 # very easy to see what functionality is still missing in Samba 3 and makes
13 # it possible to run the testsuite against other servers, such as Samba 4 or
14 # Windows that have a different set of features.
16 # The syntax for a testsuite is "-- TEST --" on a single line, followed
17 # by the name of the test, the environment it needs and the command to run, all
18 # three separated by newlines. All other lines in the output are considered
19 # comments.
21 import os, sys
22 sys.path.insert(0, os.path.normpath(os.path.join(os.path.dirname(__file__), "../../selftest")))
23 from selftesthelpers import *
24 import subprocess
25 smb4torture = binpath("smbtorture4")
26 samba3srcdir = srcdir() + "/source3"
27 configuration = "--configfile=$SMB_CONF_PATH"
28 scriptdir=os.path.join(samba3srcdir, "../script/tests")
30 torture_options = [configuration, "--maximum-runtime=$SELFTEST_MAXTIME",
31 "--basedir=$SELFTEST_TMPDIR",
32 '--option="torture:winbindd_netbios_name=$SERVER"',
33 '--option="torture:winbindd_netbios_domain=$DOMAIN"',
34 '--option=torture:sharedelay=100000',
35 '--option=torture:writetimeupdatedelay=500000' ]
37 if not os.getenv("SELFTEST_VERBOSE"):
38 torture_options.append("--option=torture:progress=no")
39 torture_options.append("--format=subunit")
40 if os.getenv("SELFTEST_QUICK"):
41 torture_options.append("--option=torture:quick=yes")
43 smb4torture_testsuite_list = subprocess.Popen([smb4torture, "--list-suites"], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate("")[0].splitlines()
45 smb4torture += " " + " ".join(torture_options)
47 sub = subprocess.Popen("%s --version 2> /dev/null" % smb4torture, stdout=subprocess.PIPE, stdin=subprocess.PIPE, shell=True)
48 sub.communicate("")
49 smb4torture_possible = (sub.returncode == 0)
52 def smb4torture_testsuites(prefix):
53 return filter(lambda x: x.startswith(prefix), smb4torture_testsuite_list)
55 def plansmbtorturetestsuite(name, env, options, description=''):
56 target = "samba3"
57 if description == '':
58 modname = "%s.%s" % (target, name)
59 else:
60 modname = "%s.%s %s" % (target, name, description)
62 cmdline = "%s $LISTOPT %s --target=%s %s" % (valgrindify(smb4torture), options, target, name)
63 if smb4torture_possible:
64 plantestsuite_loadlist(modname, env, cmdline)
67 plantestsuite("samba3.blackbox.success", "s3dc:local", [os.path.join(samba3srcdir, "script/tests/test_success.sh")])
68 plantestsuite("samba3.blackbox.failure", "s3dc:local", [os.path.join(samba3srcdir, "script/tests/test_failure.sh")])
70 plantestsuite("samba3.local_s3", "s3dc:local", [os.path.join(samba3srcdir, "script/tests/test_local_s3.sh")])
72 plantestsuite("samba3.blackbox.registry.upgrade", "s3dc:local", [os.path.join(samba3srcdir, "script/tests/test_registry_upgrade.sh"), binpath('net'), binpath('dbwrap_tool')])
74 tests=[ "FDPASS", "LOCK1", "LOCK2", "LOCK3", "LOCK4", "LOCK5", "LOCK6", "LOCK7", "LOCK9",
75 "UNLINK", "BROWSE", "ATTR", "TRANS2", "TORTURE",
76 "OPLOCK1", "OPLOCK2", "OPLOCK4", "STREAMERROR",
77 "DIR", "DIR1", "DIR-CREATETIME", "TCON", "TCONDEV", "RW1", "RW2", "RW3", "RW-SIGNING",
78 "OPEN", "XCOPY", "RENAME", "DELETE", "DELETE-LN", "PROPERTIES", "W2K",
79 "TCON2", "IOCTL", "CHKPATH", "FDSESS", "CHAIN1", "CHAIN2",
80 "CHAIN3",
81 "GETADDRINFO", "POSIX", "UID-REGRESSION-TEST", "SHORTNAME-TEST",
82 "POSIX-APPEND",
83 "CASE-INSENSITIVE-CREATE", "SMB2-BASIC", "NTTRANS-FSCTL", "SMB2-NEGPROT",
84 "CLEANUP1",
85 "CLEANUP2",
86 "BAD-NBT-SESSION"]
88 for t in tests:
89 plantestsuite("samba3.smbtorture_s3.plain(s3dc).%s" % t, "s3dc", [os.path.join(samba3srcdir, "script/tests/test_smbtorture_s3.sh"), t, '//$SERVER_IP/tmp', '$USERNAME', '$PASSWORD', binpath('smbtorture3'), "", "-l $LOCAL_PATH"])
90 plantestsuite("samba3.smbtorture_s3.crypt(s3dc).%s" % t, "s3dc", [os.path.join(samba3srcdir, "script/tests/test_smbtorture_s3.sh"), t, '//$SERVER_IP/tmp', '$USERNAME', '$PASSWORD', binpath('smbtorture3'), "-e", "-l $LOCAL_PATH"])
91 plantestsuite("samba3.smbtorture_s3.plain(dc).%s" % t, "dc", [os.path.join(samba3srcdir, "script/tests/test_smbtorture_s3.sh"), t, '//$SERVER_IP/tmp', '$USERNAME', '$PASSWORD', binpath('smbtorture3'), "", "-l $LOCAL_PATH"])
93 local_tests=[
94 "LOCAL-SUBSTITUTE",
95 "LOCAL-GENCACHE",
96 "LOCAL-TALLOC-DICT",
97 "LOCAL-BASE64",
98 "LOCAL-RBTREE",
99 "LOCAL-MEMCACHE",
100 "LOCAL-STREAM-NAME",
101 "LOCAL-WBCLIENT",
102 "LOCAL-string_to_sid",
103 "LOCAL-binary_to_sid",
104 "LOCAL-DBTRANS",
105 "LOCAL-TEVENT-SELECT",
106 "LOCAL-CONVERT-STRING",
107 "LOCAL-CONV-AUTH-INFO",
108 "LOCAL-hex_encode_buf",
109 "LOCAL-sprintf_append"]
111 for t in local_tests:
112 plantestsuite("samba3.smbtorture_s3.%s" % t, "s3dc", [os.path.join(samba3srcdir, "script/tests/test_smbtorture_s3.sh"), t, '//$SERVER_IP/tmp', '$USERNAME', '$PASSWORD', binpath('smbtorture3'), "-e"])
114 tests=["--ping", "--separator",
115 "--own-domain",
116 "--all-domains",
117 "--trusted-domains",
118 "--domain-info=BUILTIN",
119 "--domain-info=$DOMAIN",
120 "--online-status",
121 "--online-status --domain=BUILTIN",
122 "--online-status --domain=$DOMAIN",
123 "--check-secret --domain=$DOMAIN",
124 "--change-secret --domain=$DOMAIN",
125 "--check-secret --domain=$DOMAIN",
126 "--online-status --domain=$DOMAIN",
127 #Didn't pass yet# "--domain-users",
128 "--domain-groups",
129 "--name-to-sid=$DC_USERNAME",
130 "--name-to-sid=$DOMAIN\\\\$DC_USERNAME",
131 #Didn't pass yet# "--user-info=$USERNAME",
132 "--user-groups=$DOMAIN\\\\$DC_USERNAME",
133 "--authenticate=$DOMAIN\\\\$DC_USERNAME%$DC_PASSWORD",
134 "--allocate-uid",
135 "--allocate-gid"]
137 for options in ["--option=clientusespnego=no", " --option=clientntlmv2auth=no --option=clientlanmanauth=yes --max-protocol=LANMAN2", ""]:
138 env = "s3dc"
139 plantestsuite("samba3.blackbox.smbclient_auth.plain (%s) %s" % (env, options), env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_auth.sh"), '$SERVER', '$SERVER_IP', '$DC_USERNAME', '$DC_PASSWORD', binpath('smbclient3'), configuration, options])
141 for env in ["s3dc", "member", "s3member"]:
142 plantestsuite("samba3.blackbox.smbclient_auth.plain (%s)" % env, env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_auth.sh"), '$SERVER', '$SERVER_IP', '$DC_USERNAME', '$DC_PASSWORD', binpath('smbclient3'), configuration])
143 plantestsuite("samba3.blackbox.smbclient_auth.plain (%s) member creds" % env, env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_auth.sh"), '$SERVER', '$SERVER_IP', '$SERVER\\\\$USERNAME', '$PASSWORD', binpath('smbclient3'), configuration])
145 for t in tests:
146 plantestsuite("samba3.wbinfo_s3.(%s:local).%s" % (env, t), "%s:local" % env, [os.path.join(samba3srcdir, "script/tests/test_wbinfo_s3.sh"), t])
148 plantestsuite(
149 "samba3.wbinfo_sids2xids.(%s:local)" % env, "%s:local" % env,
150 [os.path.join(samba3srcdir, "script/tests/test_wbinfo_sids2xids.sh")])
152 plantestsuite(
153 "samba3.ntlm_auth.diagnostics(%s:local)" % env, "%s:local" % env,
154 [os.path.join(samba3srcdir, "script/tests/test_ntlm_auth_diagnostics.sh"), binpath('ntlm_auth3'), '$DOMAIN', '$DC_USERNAME', '$DC_PASSWORD', configuration])
156 plantestsuite("samba3.ntlm_auth.(%s:local)" % env, "%s:local" % env, [os.path.join(samba3srcdir, "script/tests/test_ntlm_auth_s3.sh"), valgrindify(python), samba3srcdir, binpath('ntlm_auth3'), '$DOMAIN', '$DC_USERNAME', '$DC_PASSWORD', configuration])
158 env = "s3member"
159 t = "--krb5auth=$DOMAIN\\\\$DC_USERNAME%$DC_PASSWORD"
160 plantestsuite("samba3.wbinfo_s3.(%s:local).%s" % (env, t), "%s:local" % env, [os.path.join(samba3srcdir, "script/tests/test_wbinfo_s3.sh"), t])
162 plantestsuite("samba3.ntlm_auth.krb5(ktest:local) old ccache", "ktest:local", [os.path.join(samba3srcdir, "script/tests/test_ntlm_auth_krb5.sh"), valgrindify(python), samba3srcdir, binpath('ntlm_auth3'), '$PREFIX/ktest/krb5_ccache-2', '$SERVER', configuration])
164 plantestsuite("samba3.ntlm_auth.krb5(ktest:local)", "ktest:local", [os.path.join(samba3srcdir, "script/tests/test_ntlm_auth_krb5.sh"), valgrindify(python), samba3srcdir, binpath('ntlm_auth3'), '$PREFIX/ktest/krb5_ccache-3', '$SERVER', configuration])
167 for env in ["secserver"]:
168 plantestsuite("samba3.blackbox.smbclient_auth.plain (%s) domain creds" % env, env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_auth.sh"), '$SERVER', '$SERVER_IP', '$DOMAIN\\\\$DC_USERNAME', '$DC_PASSWORD', binpath('smbclient3'), configuration + " --option=clientntlmv2auth=no"])
170 for env in ["maptoguest", "secshare", "secserver"]:
171 plantestsuite("samba3.blackbox.smbclient_auth.plain (%s) local creds" % env, env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_auth.sh"), '$SERVER', '$SERVER_IP', '$USERNAME', '$PASSWORD', binpath('smbclient3'), configuration + " --option=clientntlmv2auth=no --option=clientlanmanauth=yes"])
173 env = "maptoguest"
174 plantestsuite("samba3.blackbox.smbclient_auth.plain (%s) bad username" % env, env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_auth.sh"), '$SERVER', '$SERVER_IP', 'notmy$USERNAME', '$PASSWORD', binpath('smbclient3'), configuration + " --option=clientntlmv2auth=no --option=clientlanmanauth=yes"])
176 # plain
177 for env in ["s3dc"]:
178 plantestsuite("samba3.blackbox.smbclient_s3.plain (%s)" % env, env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_s3.sh"), '$SERVER', '$SERVER_IP', '$DOMAIN', '$DC_USERNAME', '$DC_PASSWORD', '$USERID', '$LOCAL_PATH', '$PREFIX', binpath('smbclient3'), binpath('wbinfo'), configuration])
180 for env in ["member", "s3member"]:
181 plantestsuite("samba3.blackbox.smbclient_s3.plain (%s) member creds" % env, env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_s3.sh"), '$SERVER', '$SERVER_IP', '$SERVER', '$SERVER\\\\$USERNAME', '$PASSWORD', '$USERID', '$LOCAL_PATH', '$PREFIX', binpath('smbclient3'), binpath('wbinfo'), configuration])
183 for env in ["s3dc"]:
184 plantestsuite("samba3.blackbox.smbclient_s3.sign (%s)" % env, env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_s3.sh"), '$SERVER', '$SERVER_IP', '$DOMAIN', '$DC_USERNAME', '$DC_PASSWORD', '$USERID', '$LOCAL_PATH', '$PREFIX', binpath('smbclient3'), binpath('wbinfo'), configuration, "--signing=required"])
186 for env in ["member", "s3member"]:
187 plantestsuite("samba3.blackbox.smbclient_s3.sign (%s) member creds" % env, env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_s3.sh"), '$SERVER', '$SERVER_IP', '$SERVER', '$SERVER\\\\$USERNAME', '$PASSWORD', '$USERID', '$LOCAL_PATH', '$PREFIX', binpath('smbclient3'), binpath('wbinfo'), configuration, "--signing=required"])
189 # encrypted
190 for env in ["s3dc"]:
191 plantestsuite("samba3.blackbox.smbclient_s3.crypt (%s)" % env, env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_s3.sh"), '$SERVER', '$SERVER_IP', '$DOMAIN', '$USERNAME', '$PASSWORD', '$USERID', '$LOCAL_PATH', '$PREFIX', binpath('smbclient3'), binpath('wbinfo'), configuration, "-e"])
193 #TODO encrypted against member, with member creds, and with DC creds
194 plantestsuite("samba3.blackbox.net.misc", "s3dc:local", [os.path.join(samba3srcdir, "script/tests/test_net_misc.sh"),
195 scriptdir, "$SMB_CONF_PATH", binpath('net'), configuration])
196 plantestsuite("samba3.blackbox.net.local.registry", "s3dc:local", [os.path.join(samba3srcdir, "script/tests/test_net_registry.sh"),
197 scriptdir, "$SMB_CONF_PATH", binpath('net'), configuration])
198 plantestsuite("samba3.blackbox.net.registry.check", "s3dc:local", [os.path.join(samba3srcdir, "script/tests/test_net_registry_check.sh"),
199 scriptdir, "$SMB_CONF_PATH", binpath('net'), configuration,binpath('dbwrap_tool')])
200 plantestsuite("samba3.blackbox.net.rpc.registry", "s3dc", [os.path.join(samba3srcdir, "script/tests/test_net_registry.sh"),
201 scriptdir, "$SMB_CONF_PATH", binpath('net'), configuration, 'rpc'])
203 plantestsuite("samba3.blackbox.net.local.registry.roundtrip", "s3dc:local", [os.path.join(samba3srcdir, "script/tests/test_net_registry_roundtrip.sh"),
204 scriptdir, "$SMB_CONF_PATH", binpath('net'), configuration])
205 plantestsuite("samba3.blackbox.net.rpc.registry.roundtrip", "s3dc", [os.path.join(samba3srcdir, "script/tests/test_net_registry_roundtrip.sh"),
206 scriptdir, "$SMB_CONF_PATH", binpath('net'), configuration, 'rpc'])
208 plantestsuite("samba3.blackbox.net.local.conf", "s3dc:local", [os.path.join(samba3srcdir, "script/tests/test_net_conf.sh"),
209 scriptdir, "$SMB_CONF_PATH", binpath('net'), configuration])
210 plantestsuite("samba3.blackbox.net.rpc.conf", "s3dc", [os.path.join(samba3srcdir, "script/tests/test_net_conf.sh"),
211 scriptdir, "$SMB_CONF_PATH", binpath('net'), configuration, 'rpc'])
214 plantestsuite("samba3.blackbox.testparm", "s3dc:local", [os.path.join(samba3srcdir, "script/tests/test_testparm_s3.sh"),
215 "$LOCAL_PATH"])
217 plantestsuite(
218 "samba3.pthreadpool", "s3dc",
219 [os.path.join(samba3srcdir, "script/tests/test_pthreadpool.sh")])
221 #smbtorture4 tests
223 base = ["base.attr", "base.charset", "base.chkpath", "base.defer_open", "base.delaywrite", "base.delete",
224 "base.deny1", "base.deny2", "base.deny3", "base.denydos", "base.dir1", "base.dir2",
225 "base.disconnect", "base.fdpass", "base.lock",
226 "base.mangle", "base.negnowait", "base.ntdeny1",
227 "base.ntdeny2", "base.open", "base.openattr", "base.properties", "base.rename", "base.rw1",
228 "base.secleak", "base.tcon", "base.tcondev", "base.trans2", "base.unlink", "base.vuid",
229 "base.xcopy", "base.samba3error"]
231 raw = ["raw.acls", "raw.chkpath", "raw.close", "raw.composite", "raw.context", "raw.eas",
232 "raw.ioctl", "raw.lock", "raw.mkdir", "raw.mux", "raw.notify", "raw.open", "raw.oplock"
233 "raw.qfileinfo", "raw.qfsinfo", "raw.read", "raw.rename", "raw.search", "raw.seek",
234 "raw.sfileinfo.base", "raw.sfileinfo.bug", "raw.streams", "raw.unlink", "raw.write",
235 "raw.samba3hide", "raw.samba3badpath", "raw.sfileinfo.rename",
236 "raw.samba3caseinsensitive", "raw.samba3posixtimedlock",
237 "raw.samba3rootdirfid", "raw.sfileinfo.end-of-file",
238 "raw.bench-oplock", "raw.bench-lock", "raw.bench-open", "raw.bench-tcon",
239 "raw.samba3checkfsp", "raw.samba3closeerr", "raw.samba3oplocklogoff"]
241 smb2 = smb4torture_testsuites("smb2.")
243 rpc = ["rpc.authcontext", "rpc.samba3.bind", "rpc.samba3.srvsvc", "rpc.samba3.sharesec",
244 "rpc.samba3.spoolss", "rpc.samba3.wkssvc", "rpc.samba3.winreg",
245 "rpc.samba3.getaliasmembership-0",
246 "rpc.samba3.netlogon", "rpc.samba3.sessionkey", "rpc.samba3.getusername",
247 "rpc.svcctl", "rpc.ntsvcs", "rpc.winreg", "rpc.eventlog",
248 "rpc.spoolss.printserver", "rpc.spoolss.win", "rpc.spoolss.notify", "rpc.spoolss.printer",
249 "rpc.spoolss.driver",
250 "rpc.lsa", "rpc.lsa-getuser", "rpc.lsa.lookupsids", "rpc.lsa.lookupnames",
251 "rpc.lsa.privileges", "rpc.lsa.secrets",
252 "rpc.samr", "rpc.samr.users", "rpc.samr.users.privileges", "rpc.samr.passwords",
253 "rpc.samr.passwords.pwdlastset", "rpc.samr.large-dc", "rpc.samr.machine.auth",
254 "rpc.samr.priv",
255 "rpc.netlogon.admin",
256 "rpc.schannel", "rpc.schannel2", "rpc.bench-schannel1", "rpc.join", "rpc.bind"]
258 local = ["local.nss-wrapper", "local.ndr"]
260 winbind = ["winbind.struct", "winbind.wbclient"]
262 rap = ["rap.basic", "rap.rpc", "rap.printing", "rap.sam"]
264 unix = ["unix.info2", "unix.whoami"]
266 nbt = ["nbt.dgram" ]
268 libsmbclient = ["libsmbclient"]
270 tests= base + raw + smb2 + rpc + unix + local + winbind + rap + nbt + libsmbclient
272 for t in tests:
273 if t == "base.delaywrite":
274 plansmbtorturetestsuite(t, "s3dc", '//$SERVER_IP/tmp -U$USERNAME%$PASSWORD --maximum-runtime=900')
275 elif t == "rap.sam":
276 plansmbtorturetestsuite(t, "s3dc", '//$SERVER_IP/tmp -U$USERNAME%$PASSWORD --option=doscharset=ISO-8859-1')
277 elif t == "unix.whoami":
278 plansmbtorturetestsuite(t, "s3dc", '//$SERVER_IP/tmpguest -U$USERNAME%$PASSWORD')
279 elif t == "raw.samba3posixtimedlock":
280 plansmbtorturetestsuite(t, "s3dc", '//$SERVER_IP/tmpguest -U$USERNAME%$PASSWORD --option=torture:localdir=$SELFTEST_PREFIX/s3dc/share')
281 elif t == "raw.chkpath":
282 plansmbtorturetestsuite(t, "s3dc", '//$SERVER_IP/tmpcase -U$USERNAME%$PASSWORD')
283 else:
284 plansmbtorturetestsuite(t, "s3dc", '//$SERVER_IP/tmp -U$USERNAME%$PASSWORD')
287 test = 'rpc.lsa.lookupsids'
288 auth_options = ["", "ntlm", "spnego", "spnego,ntlm" ]
289 signseal_options = ["", ",connect", ",sign", ",seal"]
290 endianness_options = ["", ",bigendian"]
291 for s in signseal_options:
292 for e in endianness_options:
293 for a in auth_options:
294 binding_string = "ncacn_np:$SERVER[%s%s%s]" % (a, s, e)
295 options = binding_string + " -U$USERNAME%$PASSWORD"
296 plansmbtorturetestsuite(test, "s3dc", options, 'over ncacn_np with [%s%s%s] ' % (a, s, e))
297 plantestsuite("samba3.blackbox.rpcclient over ncacn_np with [%s%s%s] " % (a, s, e), "s3dc:local", [os.path.join(samba3srcdir, "script/tests/test_rpcclient.sh"),
298 "none", options, configuration])
300 # We should try more combinations in future, but this is all
301 # the pre-calculated credentials cache supports at the moment
302 e = ""
303 a = ""
304 binding_string = "ncacn_np:$SERVER[%s%s%s]" % (a, s, e)
305 options = binding_string + " -k yes --krb5-ccache=$PREFIX/ktest/krb5_ccache-2"
306 plansmbtorturetestsuite(test, "ktest", options, 'krb5 with old ccache ncacn_np with [%s%s%s] ' % (a, s, e))
308 options = binding_string + " -k yes --krb5-ccache=$PREFIX/ktest/krb5_ccache-3"
309 plansmbtorturetestsuite(test, "ktest", options, 'krb5 ncacn_np with [%s%s%s] ' % (a, s, e))
311 auth_options2 = ["krb5", "spnego,krb5"]
312 for a in auth_options2:
313 binding_string = "ncacn_np:$SERVER[%s%s%s]" % (a, s, e)
315 plantestsuite("samba3.blackbox.rpcclient krb5 ncacn_np with [%s%s%s] " % (a, s, e), "ktest:local", [os.path.join(samba3srcdir, "script/tests/test_rpcclient.sh"),
316 "$PREFIX/ktest/krb5_ccache-3", binding_string, "-k", configuration])
319 options_list = ["", "-e"]
320 for options in options_list:
321 plantestsuite("samba3.blackbox.smbclient_krb5 old ccache %s" % options, "ktest:local",
322 [os.path.join(samba3srcdir, "script/tests/test_smbclient_krb5.sh"),
323 "$PREFIX/ktest/krb5_ccache-2",
324 binpath('smbclient3'), "$SERVER", options, configuration])
326 plantestsuite("samba3.blackbox.smbclient_krb5 old ccache %s" % options, "ktest:local",
327 [os.path.join(samba3srcdir, "script/tests/test_smbclient_krb5.sh"),
328 "$PREFIX/ktest/krb5_ccache-2",
329 binpath('smbclient3'), "$SERVER", options, configuration])
331 plantestsuite("samba3.blackbox.smbclient_large_file %s" % options, "ktest:local",
332 [os.path.join(samba3srcdir, "script/tests/test_smbclient_posix_large.sh"),
333 "$PREFIX/ktest/krb5_ccache-3",
334 binpath('smbclient3'), "$SERVER", "$PREFIX", options, "-k " + configuration])
336 plantestsuite("samba3.blackbox.smbclient_posix_large %s krb5" % options, "ktest:local",
337 [os.path.join(samba3srcdir, "script/tests/test_smbclient_posix_large.sh"),
338 "$PREFIX/ktest/krb5_ccache-3",
339 binpath('smbclient3'), "$SERVER", "$PREFIX", options, "-k " + configuration])
341 plantestsuite("samba3.blackbox.smbclient_posix_large %s NTLM" % options, "s3dc:local",
342 [os.path.join(samba3srcdir, "script/tests/test_smbclient_posix_large.sh"),
343 "none",
344 binpath('smbclient3'), "$SERVER", "$PREFIX", options, "-U$USERNAME%$PASSWORD " + configuration])
346 for e in endianness_options:
347 for a in auth_options:
348 for s in signseal_options:
349 binding_string = "ncacn_ip_tcp:$SERVER_IP[%s%s%s]" % (a, s, e)
350 options = binding_string + " -U$USERNAME%$PASSWORD"
351 plansmbtorturetestsuite(test, "s3dc", options, 'over ncacn_ip_tcp with [%s%s%s] ' % (a, s, e))
353 test = 'rpc.epmapper'
354 env = 's3dc:local'
355 binding_string = 'ncalrpc:'
356 options = binding_string + " -U$USERNAME%$PASSWORD"
358 plansmbtorturetestsuite(test, env, options, 'over ncalrpc')