2 # This script generates a list of testsuites that should be run as part of
3 # the Samba 4 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 4, 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/knownfail. This makes it
12 # very easy to see what functionality is still missing in Samba 4 and makes
13 # it possible to run the testsuite against other servers, such as Samba 3 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
37 if [ "$env" = "none" ]; then
40 echo "samba4.$name ($env)"
46 normalize_testname
() {
49 echo $name |
tr "A-Z-" "a-z."
52 plansmbtorturetest
() {
57 modname
=`normalize_testname $name`
58 cmdline
="$VALGRIND $smb4torture $other_args $name"
59 plantest
"$modname" "$env" $cmdline
62 samba4srcdir
="`dirname $0`/.."
63 samba4bindir
="$BUILDDIR/bin"
64 smb4torture
="$samba4bindir/smbtorture${EXEEXT}"
67 bbdir
=..
/testprogs
/blackbox
69 prefix_abs
="$SELFTEST_PREFIX/s4client"
70 CONFIGURATION
="--configfile=\$SMB_CONF_PATH"
72 test -d "$prefix_abs" || mkdir
"$prefix_abs"
75 TORTURE_OPTIONS
="$TORTURE_OPTIONS $CONFIGURATION"
76 TORTURE_OPTIONS
="$TORTURE_OPTIONS --maximum-runtime=$SELFTEST_MAXTIME"
77 TORTURE_OPTIONS
="$TORTURE_OPTIONS --target=$SELFTEST_TARGET"
78 TORTURE_OPTIONS
="$TORTURE_OPTIONS --basedir=$prefix_abs"
79 if [ -n "$SELFTEST_VERBOSE" ]; then
80 TORTURE_OPTIONS
="$TORTURE_OPTIONS --option=torture:progress=no"
82 TORTURE_OPTIONS
="$TORTURE_OPTIONS --format=subunit"
83 if [ -n "$SELFTEST_QUICK" ]; then
84 TORTURE_OPTIONS
="$TORTURE_OPTIONS --option=torture:quick=yes"
86 smb4torture
="$smb4torture $TORTURE_OPTIONS"
88 echo "OPTIONS $TORTURE_OPTIONS"
90 # Simple tests for LDAP and CLDAP
92 for options
in "" "--option=socket:testnonblock=true" "-U\$USERNAME%\$PASSWORD --option=socket:testnonblock=true" "-U\$USERNAME%\$PASSWORD"; do
93 plantest
"ldb.ldap with options $options" dc $bbdir/test_ldb.sh ldap \
$SERVER_IP $options
95 # see if we support ldaps
96 if grep ENABLE_GNUTLS
.1 include
/config.h
> /dev
/null
; then
97 for options
in "" "-U\$USERNAME%\$PASSWORD"; do
98 plantest
"ldb.ldaps with options $options" dc $bbdir/test_ldb.sh ldaps \
$SERVER_IP $options
101 plantest
"ldb.ldapi with options $options" dc $bbdir/test_ldb.sh ldapi \
$PREFIX_ABS/dc
/private
/ldapi
$options
102 for t
in LDAP-CLDAP LDAP-BASIC LDAP-SCHEMA LDAP-UPTODATEVECTOR
104 plansmbtorturetest
"$t" dc "-U\$USERNAME%\$PASSWORD" //\
$SERVER_IP/_none_
107 # only do the ldb tests when not in quick mode - they are quite slow, and ldb
108 # is now pretty well tested by the rest of the quick tests anyway
109 LDBDIR
=$samba4srcdir/lib
/ldb
111 plantest
"ldb" none TEST_DATA_PREFIX
=\
$PREFIX $LDBDIR/tests
/test-tdb.sh
115 # add tests to this list as they start passing, so we test
116 # that they stay passing
117 ncacn_np_tests
="RPC-SCHANNEL RPC-JOIN RPC-LSA RPC-DSSETUP RPC-ALTERCONTEXT RPC-MULTIBIND RPC-NETLOGON RPC-HANDLES RPC-SAMSYNC RPC-SAMBA3SESSIONKEY RPC-SAMBA3-GETUSERNAME RPC-SAMBA3-LSA RPC-BINDSAMBA3 RPC-NETLOGSAMBA3 RPC-ASYNCBIND RPC-LSALOOKUP RPC-LSA-GETUSER RPC-SCHANNEL2 RPC-AUTHCONTEXT"
118 ncalrpc_tests
="RPC-SCHANNEL RPC-JOIN RPC-LSA RPC-DSSETUP RPC-ALTERCONTEXT RPC-MULTIBIND RPC-NETLOGON RPC-DRSUAPI RPC-ASYNCBIND RPC-LSALOOKUP RPC-LSA-GETUSER RPC-SCHANNEL2 RPC-AUTHCONTEXT"
119 ncacn_ip_tcp_tests
="RPC-SCHANNEL RPC-JOIN RPC-LSA RPC-DSSETUP RPC-ALTERCONTEXT RPC-MULTIBIND RPC-NETLOGON RPC-HANDLES RPC-DSSYNC RPC-ASYNCBIND RPC-LSALOOKUP RPC-LSA-GETUSER RPC-SCHANNEL2 RPC-AUTHCONTEXT RPC-OBJECTUUID"
120 slow_ncacn_np_tests
="RPC-SAMLOGON RPC-SAMR RPC-SAMR-USERS RPC-SAMR-PASSWORDS"
121 slow_ncalrpc_tests
="RPC-SAMR RPC-SAMR-PASSWORDS"
122 slow_ncacn_ip_tcp_tests
="RPC-SAMR RPC-SAMR-PASSWORDS RPC-CRACKNAMES"
124 all_tests
="$ncalrpc_tests $ncacn_np_tests $ncacn_ip_tcp_tests $slow_ncalrpc_tests $slow_ncacn_np_tests $slow_ncacn_ip_tcp_tests RPC-SECRETS RPC-SAMBA3-SHARESEC RPC-COUNTCALLS"
126 # Make sure all tests get run
127 for t
in `$smb4torture --list | grep "^RPC-"`
129 echo $all_tests |
grep "$t" > /dev
/null
132 auto_rpc_tests
="$auto_rpc_tests $t"
136 for bindoptions
in seal
,padcheck
$VALIDATE bigendian
; do
137 for transport
in ncalrpc ncacn_np ncacn_ip_tcp
; do
140 ncalrpc
) tests
=$ncalrpc_tests;env
="dc:local" ;;
141 ncacn_np
) tests
=$ncacn_np_tests ;;
142 ncacn_ip_tcp
) tests
=$ncacn_ip_tcp_tests ;;
145 plantest
"`normalize_testname $t` on $transport with $bindoptions" $env $VALGRIND $smb4torture $transport:"\$SERVER[$bindoptions]" -U"\$USERNAME"%"\$PASSWORD" -W \
$DOMAIN $t "$*"
147 plantest
"rpc.samba3.sharesec on $transport with $bindoptions" $env $VALGRIND $smb4torture $transport:"\$SERVER[$bindoptions]" -U"\$USERNAME"%"\$PASSWORD" -W \
$DOMAIN --option=torture
:share
=tmp RPC-SAMBA3-SHARESEC
"$*"
151 for bindoptions
in "" $VALIDATE bigendian
; do
152 for t
in $auto_rpc_tests; do
153 plantest
"`normalize_testname $t` with $bindoptions" dc $VALGRIND $smb4torture "\$SERVER[$bindoptions]" -U"\$USERNAME"%"\$PASSWORD" -W \
$DOMAIN $t "$*"
158 plantest
"`normalize_testname $t`" dc:local $VALGRIND $smb4torture "\$SERVER[$bindoptions]" -U"\$USERNAME"%"\$PASSWORD" -W \
$DOMAIN $t "$*"
160 for bindoptions
in connect
$VALIDATE ; do
161 for transport
in ncalrpc ncacn_np ncacn_ip_tcp
; do
164 ncalrpc
) tests
=$slow_ncalrpc_tests; env
="dc:local" ;;
165 ncacn_np
) tests
=$slow_ncacn_np_tests ;;
166 ncacn_ip_tcp
) tests
=$slow_ncacn_ip_tcp_tests ;;
169 plantest
"`normalize_testname $t` on $transport with $bindoptions" $env $VALGRIND $smb4torture $transport:"\$SERVER[$bindoptions]" -U"\$USERNAME"%"\$PASSWORD" -W \
$DOMAIN $t "$*"
175 # Tests for the NET API
177 net
=`$smb4torture --list | grep "^NET-"`
180 plansmbtorturetest
"$t" dc "\$SERVER[$VALIDATE]" -U"\$USERNAME"%"\$PASSWORD" -W "\$DOMAIN" "$*"
183 # Tests for session keys
184 # FIXME: Integrate these into a single smbtorture test
189 "-k no --option=usespnego=yes" \
190 "-k no --option=usespnego=yes --option=ntlmssp_client:128bit=no" \
191 "-k no --option=usespnego=yes --option=ntlmssp_client:56bit=yes" \
192 "-k no --option=usespnego=yes --option=ntlmssp_client:56bit=no" \
193 "-k no --option=usespnego=yes --option=ntlmssp_client:128bit=no --option=ntlmssp_client:56bit=yes" \
194 "-k no --option=usespnego=yes --option=ntlmssp_client:128bit=no --option=ntlmssp_client:56bit=no" \
195 "-k no --option=usespnego=yes --option=clientntlmv2auth=yes" \
196 "-k no --option=usespnego=yes --option=clientntlmv2auth=yes --option=ntlmssp_client:128bit=no" \
197 "-k no --option=usespnego=yes --option=clientntlmv2auth=yes --option=ntlmssp_client:128bit=no --option=ntlmssp_client:56bit=yes" \
198 "-k no --option=usespnego=no --option=clientntlmv2auth=yes" \
199 "-k no --option=gensec:spnego=no --option=clientntlmv2auth=yes" \
200 "-k no --option=usespnego=no"; do
201 name
="rpc.secrets on $transport with $bindoptions with $ntlmoptions"
202 plantest
"$name" dc $smb4torture $transport:"\$SERVER[$bindoptions]" $ntlmoptions -U"\$USERNAME"%"\$PASSWORD" -W \
$DOMAIN --option=gensec
:target_hostname
=\
$NETBIOSNAME RPC-SECRETS
"$*"
204 plantest
"rpc.secrets on $transport with $bindoptions with Kerberos" dc $smb4torture $transport:"\$SERVER[$bindoptions]" -k yes -U"\$USERNAME"%"\$PASSWORD" -W \
$DOMAIN "--option=gensec:target_hostname=\$NETBIOSNAME" RPC-SECRETS
"$*"
205 plantest
"rpc.secrets on $transport with $bindoptions with Kerberos - use target principal" dc $smb4torture $transport:"\$SERVER[$bindoptions]" -k yes -U"\$USERNAME"%"\$PASSWORD" -W \
$DOMAIN "--option=clientusespnegoprincipal=yes" "--option=gensec:target_hostname=\$NETBIOSNAME" RPC-SECRETS
"$*"
206 plantest
"rpc.secrets on $transport with Kerberos - use Samba3 style login" dc $smb4torture $transport:"\$SERVER" -k yes -U"\$USERNAME"%"\$PASSWORD" -W "\$DOMAIN" "--option=gensec:fake_gssapi_krb5=yes" "--option=gensec:gssapi_krb5=no" "--option=gensec:target_hostname=\$NETBIOSNAME" "RPC-SECRETS-none*" "$*"
207 plantest
"rpc.secrets on $transport with Kerberos - use Samba3 style login, use target principal" dc $smb4torture $transport:"\$SERVER" -k yes -U"\$USERNAME"%"\$PASSWORD" -W "\$DOMAIN" "--option=clientusespnegoprincipal=yes" "--option=gensec:fake_gssapi_krb5=yes" "--option=gensec:gssapi_krb5=no" "--option=gensec:target_hostname=\$NETBIOSNAME" "RPC-SECRETS-none*" "$*"
210 transports
="ncacn_np ncacn_ip_tcp ncalrpc"
212 for transport
in $transports; do
213 for bindoptions
in connect spnego spnego
,sign spnego
,seal
$VALIDATE padcheck bigendian bigendian
,seal
; do
215 "--option=socket:testnonblock=True --option=torture:quick=yes"; do
217 if test x
"$transport" = x
"ncalrpc"; then
220 plantest
"rpc.echo on $transport with $bindoptions and $ntlmoptions" $env $smb4torture $transport:"\$SERVER[$bindoptions]" $ntlmoptions -U"\$USERNAME"%"\$PASSWORD" -W "\$DOMAIN" RPC-ECHO
"$*"
225 for transport
in $transports; do
226 for bindoptions
in sign seal
; do
228 "--option=ntlmssp_client:ntlm2=yes --option=torture:quick=yes" \
229 "--option=ntlmssp_client:ntlm2=no --option=torture:quick=yes" \
230 "--option=ntlmssp_client:ntlm2=yes --option=ntlmssp_client:128bit=no --option=torture:quick=yes" \
231 "--option=ntlmssp_client:ntlm2=no --option=ntlmssp_client:128bit=no --option=torture:quick=yes" \
232 "--option=ntlmssp_client:ntlm2=yes --option=ntlmssp_client:keyexchange=no --option=torture:quick=yes" \
233 "--option=ntlmssp_client:ntlm2=no --option=ntlmssp_client:keyexchange=no --option=torture:quick=yes" \
234 "--option=clientntlmv2auth=yes --option=ntlmssp_client:keyexchange=no --option=torture:quick=yes" \
235 "--option=clientntlmv2auth=yes --option=ntlmssp_client:128bit=no --option=ntlmssp_client:keyexchange=yes --option=torture:quick=yes" \
236 "--option=clientntlmv2auth=yes --option=ntlmssp_client:128bit=no --option=ntlmssp_client:keyexchange=no --option=torture:quick=yes" \
239 if test x
"$transport" = x
"ncalrpc"; then
242 plantest
"rpc.echo on $transport with $bindoptions and $ntlmoptions" $env $smb4torture $transport:"\$SERVER[$bindoptions]" $ntlmoptions -U"\$USERNAME"%"\$PASSWORD" -W \
$DOMAIN RPC-ECHO
"$*"
247 plantest
"rpc.echo on ncacn_np over smb2" dc $smb4torture ncacn_np
:"\$SERVER[smb2]" -U"\$USERNAME"%"\$PASSWORD" -W \
$DOMAIN RPC-ECHO
"$*"
249 # Tests against the NTVFS POSIX backend
251 NTVFSARGS
="${NTVFSARGS} --option=torture:sharedelay=100000"
252 NTVFSARGS
="${NTVFSARGS} --option=torture:oplocktimeout=3"
253 NTVFSARGS
="${NTVFSARGS} --option=torture:writetimeupdatedelay=500000"
255 smb2
=`$smb4torture --list | grep "^SMB2-" | xargs`
256 #The QFILEINFO-IPC test needs to be on ipc$
257 raw
=`$smb4torture --list | grep "^RAW-" | grep -v "RAW-QFILEINFO-IPC"| xargs`
258 base
=`$smb4torture --list | grep "^BASE-" | xargs`
260 for t
in $base $raw $smb2; do
261 plansmbtorturetest
"$t" dc $ADDARGS //\
$SERVER/tmp
-U"\$USERNAME"%"\$PASSWORD" $NTVFSARGS
264 plansmbtorturetest
"RAW-QFILEINFO-IPC" dc $ADDARGS //\
$SERVER/ipc$
-U"\$USERNAME"%"\$PASSWORD"
266 rap
=`$smb4torture --list | grep "^RAP-" | xargs`
268 plansmbtorturetest
"$t" dc $ADDARGS //\
$SERVER/IPC
\\\$
-U"\$USERNAME"%"\$PASSWORD"
271 # Tests against the NTVFS CIFS backend
272 for t
in $base $raw; do
273 plantest
"ntvfs.cifs.`normalize_testname $t`" dc $VALGRIND $smb4torture //\
$NETBIOSNAME/cifs
-U"\$USERNAME"%"\$PASSWORD" $NTVFSARGS $t
278 for t
in `$smb4torture --list | grep "^LOCAL-" | xargs`; do
279 plansmbtorturetest
"$t" none ncalrpc
: "$*"
282 tdbtorture4
="$samba4bindir/tdbtorture${EXEEXT}"
283 if test -f $tdbtorture4
285 plantest
"tdb.stress" none
$VALGRIND $tdbtorture4
290 if test x
"${PIDL_TESTS_SKIP}" = x
"yes"; then
291 echo "Skipping pidl tests - PIDL_TESTS_SKIP=yes"
292 elif $PERL -e 'eval require Test::More;' > /dev
/null
2>&1; then
293 for f
in $samba4srcdir/..
/pidl
/tests
/*.pl
; do
294 plantest
"pidl.`basename $f .pl`" none
$PERL $f "|" $PERL $samba4srcdir/..
/lib
/subunit
/harness2subunit.pl
297 echo "Skipping pidl tests - Test::More not installed"
301 # tests that interact directly with the command-line tools rather than using
302 # the API. These mainly test that the various command-line options of commands
305 plantest
"blackbox.ndrdump" none
$samba4srcdir/librpc
/tests
/test_ndrdump.sh
306 plantest
"blackbox.net" dc $samba4srcdir/utils
/tests
/test_net.sh
"\$SERVER" "\$USERNAME" "\$PASSWORD" "\$DOMAIN"
307 plantest
"blackbox.kinit" dc $bbdir/test_kinit.sh
"\$SERVER" "\$USERNAME" "\$PASSWORD" "\$REALM" "\$DOMAIN" "$PREFIX" $CONFIGURATION
308 plantest
"blackbox.cifsdd" dc $samba4srcdir/client
/tests
/test_cifsdd.sh
"\$SERVER" "\$USERNAME" "\$PASSWORD" "\$DOMAIN"
309 plantest
"blackbox.nmblookup" dc $samba4srcdir/utils
/tests
/test_nmblookup.sh
"\$NETBIOSNAME" "\$NETBIOSALIAS" "\$SERVER" "\$SERVER_IP"
310 plantest
"blackbox.nmblookup" member
$samba4srcdir/utils
/tests
/test_nmblookup.sh
"\$NETBIOSNAME" "\$NETBIOSALIAS" "\$SERVER" "\$SERVER_IP"
311 plantest
"blackbox.locktest" dc $samba4srcdir/torture
/tests
/test_locktest.sh
"\$SERVER" "\$USERNAME" "\$PASSWORD" "\$DOMAIN" "$PREFIX"
312 plantest
"blackbox.masktest" dc $samba4srcdir/torture
/tests
/test_masktest.sh
"\$SERVER" "\$USERNAME" "\$PASSWORD" "\$DOMAIN" "$PREFIX"
313 plantest
"blackbox.gentest" dc $samba4srcdir/torture
/tests
/test_gentest.sh
"\$SERVER" "\$USERNAME" "\$PASSWORD" "\$DOMAIN" "$PREFIX"
314 plantest
"blackbox.wbinfo" dc:local $samba4srcdir/..
/nsswitch
/tests
/test_wbinfo.sh
"\$DOMAIN" "\$USERNAME" "\$PASSWORD" "dc"
315 plantest
"blackbox.wbinfo" member
:local $samba4srcdir/..
/nsswitch
/tests
/test_wbinfo.sh
"\$DOMAIN" "\$DC_USERNAME" "\$DC_PASSWORD" "member"
317 # Tests using the "Simple" NTVFS backend
319 for t
in "BASE-RW1"; do
320 plantest
"ntvfs.simple.`normalize_testname $t`" dc $VALGRIND $smb4torture $ADDARGS //\
$SERVER/simple
-U"\$USERNAME"%"\$PASSWORD" $t
323 # Domain Member Tests
325 plantest
"rpc.echo against member server with local creds" member
$VALGRIND $smb4torture ncacn_np
:"\$NETBIOSNAME" -U"\$NETBIOSNAME/\$USERNAME"%"\$PASSWORD" RPC-ECHO
"$*"
326 plantest
"rpc.echo against member server with domain creds" member
$VALGRIND $smb4torture ncacn_np
:"\$NETBIOSNAME" -U"\$DOMAIN/\$DC_USERNAME"%"\$DC_PASSWORD" RPC-ECHO
"$*"
327 plantest
"rpc.samr against member server with local creds" member
$VALGRIND $smb4torture ncacn_np
:"\$NETBIOSNAME" -U"\$NETBIOSNAME/\$USERNAME"%"\$PASSWORD" "RPC-SAMR" "$*"
328 plantest
"rpc.samr.users against member server with local creds" member
$VALGRIND $smb4torture ncacn_np
:"\$NETBIOSNAME" -U"\$NETBIOSNAME/\$USERNAME"%"\$PASSWORD" "RPC-SAMR-USERS" "$*"
329 plantest
"rpc.samr.passwords against member server with local creds" member
$VALGRIND $smb4torture ncacn_np
:"\$NETBIOSNAME" -U"\$NETBIOSNAME/\$USERNAME"%"\$PASSWORD" "RPC-SAMR-PASSWORDS" "$*"
330 plantest
"blackbox.smbclient against member server with local creds" member
$samba4srcdir/client
/tests
/test_smbclient.sh
"\$NETBIOSNAME" "\$USERNAME" "\$PASSWORD" "\$NETBIOSNAME" "$PREFIX"
336 "-k no --option=usespnego=no" \
337 "-k no --option=gensec:spengo=no" \
339 "-k yes --option=gensec:fake_gssapi_krb5=yes --option=gensec:gssapi_krb5=no"; do
342 "--signing=required"; do
344 signoptions
="$mech $signing"
345 name
="smb.signing on with $signoptions"
346 plantest
"$name" dc $VALGRIND $smb4torture //"\$NETBIOSNAME"/tmp
$signoptions -U"\$USERNAME"%"\$PASSWORD" BASE-XCOPY
"$*"
352 "-k no --option=usespnego=no" \
353 "-k no --option=gensec:spengo=no" \
355 "-k yes --option=gensec:fake_gssapi_krb5=yes --option=gensec:gssapi_krb5=no"; do
356 signoptions
="$mech --signing=off"
357 name
="smb.signing on with $signoptions"
358 plantest
"$name domain-creds" member
$VALGRIND $smb4torture //"\$NETBIOSNAME"/tmp
$signoptions -U"\$DC_USERNAME"%"\$DC_PASSWORD" BASE-XCOPY
"$*"
362 "-k no --option=usespnego=no" \
363 "-k no --option=gensec:spengo=no"; do
364 signoptions
="$mech --signing=off"
365 name
="smb.signing on with $signoptions"
366 plantest
"$name local-creds" member
$VALGRIND $smb4torture //"\$NETBIOSNAME"/tmp
$signoptions -U"\$NETBIOSNAME/\$USERNAME"%"\$PASSWORD" BASE-XCOPY
"$*"
368 plantest
"smb.signing --signing=yes anon" dc $VALGRIND $smb4torture //"\$NETBIOSNAME"/tmp
-k no
--signing=yes -U% BASE-XCOPY
"$*"
369 plantest
"smb.signing --signing=required anon" dc $VALGRIND $smb4torture //"\$NETBIOSNAME"/tmp
-k no
--signing=required
-U% BASE-XCOPY
"$*"
370 plantest
"smb.signing --signing=no anon" member
$VALGRIND $smb4torture //"\$NETBIOSNAME"/tmp
-k no
--signing=no
-U% BASE-XCOPY
"$*"
372 NBT_TESTS
=`$smb4torture --list | grep "^NBT-" | xargs`
374 for t
in $NBT_TESTS; do
375 plansmbtorturetest
"$t" dc //\
$SERVER/_none_
-U\
$USERNAME%\
$PASSWORD
378 WB_OPTS
="--option=\"torture:strict mode=no\""
379 WB_OPTS
="${WB_OPTS} --option=\"torture:timelimit=1\""
380 WB_OPTS
="${WB_OPTS} --option=\"torture:winbindd separator=/\""
381 WB_OPTS
="${WB_OPTS} --option=\"torture:winbindd netbios name=\$SERVER\""
382 WB_OPTS
="${WB_OPTS} --option=\"torture:winbindd netbios domain=\$DOMAIN\""
384 WINBIND_STRUCT_TESTS
=`$smb4torture --list | grep "^WINBIND-STRUCT" | xargs`
385 WINBIND_NDR_TESTS
=`$smb4torture --list | grep "^WINBIND-NDR" | xargs`
386 for env
in dc member
; do
387 for t
in $WINBIND_STRUCT_TESTS; do
388 plansmbtorturetest
$t $env $WB_OPTS //_none_
/_none_
391 for t
in $WINBIND_NDR_TESTS; do
392 plansmbtorturetest
$t $env $WB_OPTS //_none_
/_none_
396 nsstest4
="$samba4bindir/nsstest${EXEEXT}"
399 plantest
"nss.test using winbind" member
$VALGRIND $nsstest4 $samba4bindir/shared
/libnss_winbind.so
402 SUBUNITRUN
="$VALGRIND $PYTHON $samba4srcdir/scripting/bin/subunitrun"
403 plantest
"ldb.python" none PYTHONPATH
="$PYTHONPATH:$samba4srcdir/lib/ldb/tests/python/" $SUBUNITRUN api
404 plantest
"credentials.python" none PYTHONPATH
="$PYTHONPATH:$samba4srcdir/auth/credentials/tests" $SUBUNITRUN bindings
405 plantest
"registry.python" none PYTHONPATH
="$PYTHONPATH:$samba4srcdir/lib/registry/tests/" $SUBUNITRUN bindings
406 plantest
"tdb.python" none PYTHONPATH
="$PYTHONPATH:../lib/tdb/python/tests" $SUBUNITRUN simple
407 plantest
"auth.python" none PYTHONPATH
="$PYTHONPATH:$samba4srcdir/auth/tests/" $SUBUNITRUN bindings
408 plantest
"security.python" none PYTHONPATH
="$PYTHONPATH:$samba4srcdir/libcli/security/tests" $SUBUNITRUN bindings
409 plantest
"param.python" none PYTHONPATH
="$PYTHONPATH:$samba4srcdir/param/tests" $SUBUNITRUN bindings
410 plantest
"upgrade.python" none
$SUBUNITRUN samba.tests.upgrade
411 plantest
"samba.python" none
$SUBUNITRUN samba.tests
412 plantest
"provision.python" none
$SUBUNITRUN samba.tests.provision
413 plantest
"samba3.python" none
$SUBUNITRUN samba.tests.samba3
414 plantest
"samr.python" dc:local $SUBUNITRUN samba.tests.dcerpc.sam
415 plantest
"dcerpc.bare.python" dc:local $SUBUNITRUN samba.tests.dcerpc.bare
416 plantest
"unixinfo.python" dc:local $SUBUNITRUN samba.tests.dcerpc.unix
417 plantest
"samdb.python" none
$SUBUNITRUN samba.tests.samdb
418 plantest
"tevent.python" none PYTHONPATH
="$PYTHONPATH:../lib/tevent" $SUBUNITRUN tests
419 plantest
"messaging.python" none PYTHONPATH
="$PYTHONPATH:$samba4srcdir/lib/messaging/tests" $SUBUNITRUN bindings
420 plantest
"samba3sam.python" none PYTHONPATH
="$PYTHONPATH:$samba4srcdir/dsdb/samdb/ldb_modules/tests" $SUBUNITRUN samba3sam
421 plantest
"subunit.python" none
$SUBUNITRUN subunit
422 plantest
"rpcecho.python" dc:local $SUBUNITRUN samba.tests.dcerpc.rpcecho
423 plantest
"winreg.python" dc:local $SUBUNITRUN -U\
$USERNAME%\
$PASSWORD samba.tests.dcerpc.registry
424 plantest
"ldap.python" dc $PYTHON $samba4srcdir/lib
/ldb
/tests
/python
/ldap.py
$CONFIGURATION \
$SERVER -U\
$USERNAME%\
$PASSWORD -W \
$DOMAIN
425 plantest
"blackbox.samba3dump" none
$PYTHON $samba4srcdir/scripting
/bin
/samba3dump
$samba4srcdir/..
/testdata
/samba3
426 rm -rf $PREFIX/upgrade
427 plantest
"blackbox.upgrade" none
$PYTHON $samba4srcdir/setup
/upgrade
$CONFIGURATION --targetdir=$PREFIX/upgrade
$samba4srcdir/..
/testdata
/samba3 ..
/testdata
/samba
3/smb.conf
428 rm -rf $PREFIX/provision
429 mkdir
$PREFIX/provision
430 plantest
"blackbox.provision.py" none PYTHON
="$PYTHON" $samba4srcdir/setup
/tests
/blackbox_provision.sh
"$PREFIX/provision"
431 plantest
"blackbox.provision-backend.py" none PYTHON
="$PYTHON" $samba4srcdir/setup
/tests
/blackbox_provision-backend.sh
"$PREFIX/provision"
432 plantest
"blackbox.setpassword.py" none PYTHON
="$PYTHON" $samba4srcdir/setup
/tests
/blackbox_setpassword.sh
"$PREFIX/provision"
433 plantest
"blackbox.newuser.py" none PYTHON
="$PYTHON" $samba4srcdir/setup
/tests
/blackbox_newuser.sh
"$PREFIX/provision"