1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

Use consistent hierarchical naming for tests used in selftest.

This is mainly cosmetical and so it would in the future be possible to print a tree of the tests.
People using "make test TESTS=..." may have to specify a slightly different regular expression
than they used to.
(This used to be commit fe0f2173c0)
This commit is contained in:
Jelmer Vernooij 2008-02-18 21:13:03 +01:00
parent 3e4b8da4df
commit 984d7d8422
3 changed files with 134 additions and 120 deletions

View File

@ -1,39 +1,39 @@
LOCAL-RESOLVE.*.async local.resolve.*.async
LOCAL-ICONV.*.next_codepoint() local.iconv.*.next_codepoint()
BASE-DELAYWRITE.finfo update on close base.delaywrite.finfo update on close
BASE-DELETE.*.deltest20a base.delete.*.deltest20a
BASE-DELETE.*.deltest20b base.delete.*.deltest20b
RAW-OPLOCK.*.OPLOCK raw.oplock.*.OPLOCK
RPC-WINREG rpc.winreg
LOCAL-REGISTRY.*.security # Not implemented yet local.registry.*.security # Not implemented yet
RPC-WKSSVC rpc.wkssvc
RPC-HANDLES.*.lsarpc-shared rpc.handles.*.lsarpc-shared
RPC-HANDLES.*.mixed-shared rpc.handles.*.mixed-shared
RPC-EPMAPPER.*.Insert rpc.epmapper.*.Insert
RPC-EPMAPPER.*.InqObject rpc.epmapper.*.InqObject
RPC-DFS.* rpc.dfs.*
RPC-DRSUAPI.* rpc.drsuapi.*
RPC-LSALOOKUP rpc.lsalookup
RPC-CRACKNAMES rpc.cracknames
RPC-NETLOGON.*.LogonUasLogon rpc.netlogon.*.LogonUasLogon
RPC-NETLOGON.*.LogonUasLogoff rpc.netlogon.*.LogonUasLogoff
RPC-NETLOGON.*.DatabaseSync rpc.netlogon.*.DatabaseSync
RPC-NETLOGON.*.DatabaseSync2 rpc.netlogon.*.DatabaseSync2
RPC-NETLOGON.*.GetDcName rpc.netlogon.*.GetDcName
RPC-NETLOGON.*.LogonControl rpc.netlogon.*.LogonControl
RPC-NETLOGON.*.LogonControl2 rpc.netlogon.*.LogonControl2
RPC-NETLOGON.*.GetAnyDCName rpc.netlogon.*.GetAnyDCName
RPC-NETLOGON.*.DsrEnumerateDomainTrusts rpc.netlogon.*.DsrEnumerateDomainTrusts
RPC-NETLOGON.*.NetrEnumerateTrustedDomains rpc.netlogon.*.NetrEnumerateTrustedDomains
RPC-NETLOGON.*.NetrEnumerateTrustedDomainsEx rpc.netlogon.*.NetrEnumerateTrustedDomainsEx
RPC-NETLOGON.*.DsrGetDcSiteCoverageW rpc.netlogon.*.DsrGetDcSiteCoverageW
RPC-NETLOGON.*.DsRAddressToSitenamesW rpc.netlogon.*.DsRAddressToSitenamesW
RPC-NETLOGON.*.DsRAddressToSitenamesExW rpc.netlogon.*.DsRAddressToSitenamesExW
RPC-NETLOGON.*.GetPassword rpc.netlogon.*.GetPassword
RPC-NETLOGON.*.GetTrustPasswords rpc.netlogon.*.GetTrustPasswords
BASE-CHARSET.*.Testing partial surrogate base.charset.*.Testing partial surrogate
.*NET-API-DELSHARE.* # DelShare isn't implemented yet .*net.api.delshare.* # DelShare isn't implemented yet
RAP.*netservergetinfo rap.*netservergetinfo
kinit with pkinit # fails with: salt type 3 not supported kinit with pkinit # fails with: salt type 3 not supported
samba4.blackbox.provision.py.reprovision # Fails with entry already exists samba4.blackbox.provision.py.reprovision # Fails with entry already exists
LOCAL-TORTURE.provision local.torture.provision

View File

@ -1,54 +1,54 @@
BASE-DEFER_OPEN base.defer_open
BASE-DELAYWRITE base.delaywrite
RAW-COMPOSITE raw.composite
RAW-OPLOCK raw.oplock
BASE-IOMETER base.iometer
BASE-CASETABLE base.casetable
BASE-NTTRANS base.nttrans
.*BASE-BENCH-HOLDCON.* # Very slow .*base.bench.holdcon.* # Very slow
BASE-SCAN-MAXFID base.scan.maxfid
RAW-BENCH-OPLOCK raw.bench.oplock
RAW-HOLD-OPLOCK raw.hold.oplock
RAW-PING-PONG raw.ping.pong
RPC-SAMR_ACCESSMASK rpc.samr_accessmask
RAW-SCAN-EAMAX raw.scan.eamax
RAW-QFILEINFO-IPC raw.qfileinfo.ipc
BASE-UTABLE base.utable
BASE-SMB base.smb
SMB2-NOTIFY smb2.notify
SMB2-SCAN smb2.scan
ntvfs.cifs.BASE-CHARSET ntvfs.cifs.base.charset
ntvfs.cifs.BASE-DEFER_OPEN ntvfs.cifs.base.defer_open
ntvfs.cifs.BASE-DELAYWRITE ntvfs.cifs.base.delaywrite
ntvfs.cifs.BASE-IOMETER ntvfs.cifs.base.iometer
ntvfs.cifs.BASE-CASETABLE ntvfs.cifs.base.casetable
ntvfs.cifs.BASE-NTTRANS ntvfs.cifs.base.nttrans
ntvfs.cifs.BASE-SCAN-MAXFID ntvfs.cifs.base.scan-maxfid
ntvfs.cifs.BASE-UTABLE ntvfs.cifs.base.utable
ntvfs.cifs.BASE-SMB ntvfs.cifs.base.smb
ntvfs.cifs.RAW-COMPOSITE ntvfs.cifs.raw.composite
ntvfs.cifs.RAW-OPLOCK ntvfs.cifs.raw.oplock
ntvfs.cifs.RAW-NOTIFY ntvfs.cifs.raw.notify
ntvfs.cifs.RAW-BENCH-OPLOCK ntvfs.cifs.raw.bench-oplock
ntvfs.cifs.RAW-SCAN-EAMAX ntvfs.cifs.raw.scan-eamax
ntvfs.cifs.RAW-CONTEXT ntvfs.cifs.raw.context
ntvfs.cifs.RAW-QFILEINFO-IPC ntvfs.cifs.raw.qfileinfo.ipc
RPC-DSSYNC rpc.dssync
RPC-SAMSYNC rpc.samsync
LDAP-UPTODATEVECTOR # Segfaults ldap.uptodatevector # Segfaults
RPC-SCANNER # Very slow rpc.scanner # Very slow
RPC-REMACT # Not provided by Samba 4 rpc.remact # Not provided by Samba 4
RPC-OXIDRESOLVE # Not provided by Samba 4 rpc.oxidresolve # Not provided by Samba 4
RPC-EVENTLOG # Not provided by Samba 4 rpc.eventlog # Not provided by Samba 4
RPC-INITSHUTDOWN # Not provided by Samba 4 rpc.initshutdown # Not provided by Samba 4
RPC-SVCCTL # Not provided by Samba 4 rpc.svcctl # Not provided by Samba 4
RPC-ATSVC # Not provided by Samba 4 rpc.atsvc # Not provided by Samba 4
RPC-FRSAPI # Not provided by Samba 4 rpc.frsapi # Not provided by Samba 4
.*SAMBA3.* # Samba3-specific test .*samba3.* # Samba3-specific test
^samba4.NET-DOMOPEN.*$ # Hangs for some reason ^samba4.net.domopen.*$ # Hangs for some reason
^samba4.NET-API-BECOME-DC.*$ # Fails ^samba4.net.api.become.dc.*$ # Fails
WINBIND # FIXME: This should not be skipped winbind # FIXME: This should not be skipped
NSS-TEST # Fails nss.test # Fails
samba4.samba3sam.python # Conversion from EJS not yet finished samba4.samba3sam.python # Conversion from EJS not yet finished
samba4.samdb.python # Not finished yet samba4.samdb.python # Not finished yet
RAW-OFFLINE # Samba 4 doesn't have much offline support yet raw.offline # Samba 4 doesn't have much offline support yet

View File

@ -40,6 +40,21 @@ plantest() {
echo $cmdline echo $cmdline
} }
normalize_testname() {
name=$1
shift 1
echo $name | tr "A-Z-" "a-z."
}
plansmbtorturetest() {
name=$1
env=$2
shift 2
modname=`normalize_testname $name`
cmdline="$VALGRIND $smb4torture $* $name"
plantest "$modname" "$env" $cmdline
}
$incdir/../bin/smbtorture -V $incdir/../bin/smbtorture -V
samba4srcdir=$incdir/.. samba4srcdir=$incdir/..
@ -67,7 +82,7 @@ if grep ENABLE_GNUTLS.1 include/config.h > /dev/null; then
fi fi
for t in LDAP-CLDAP LDAP-BASIC LDAP-SCHEMA LDAP-UPTODATEVECTOR for t in LDAP-CLDAP LDAP-BASIC LDAP-SCHEMA LDAP-UPTODATEVECTOR
do do
plantest "$t" dc $smb4torture "-U\$USERNAME%\$PASSWORD" //\$SERVER_IP/_none_ $t plansmbtorturetest "$t" dc "-U\$USERNAME%\$PASSWORD" //\$SERVER_IP/_none_
done done
# only do the ldb tests when not in quick mode - they are quite slow, and ldb # only do the ldb tests when not in quick mode - they are quite slow, and ldb
@ -75,7 +90,6 @@ done
LDBDIR=$samba4srcdir/lib/ldb LDBDIR=$samba4srcdir/lib/ldb
export LDBDIR export LDBDIR
plantest "ldb" none TEST_DATA_PREFIX=\$PREFIX $LDBDIR/tests/test-tdb.sh plantest "ldb" none TEST_DATA_PREFIX=\$PREFIX $LDBDIR/tests/test-tdb.sh
plantest "js.ldap" dc $SCRIPTDIR/ldap.js $CONFIGURATION -d 10 \$SERVER -U\$USERNAME%\$PASSWORD plantest "js.ldap" dc $SCRIPTDIR/ldap.js $CONFIGURATION -d 10 \$SERVER -U\$USERNAME%\$PASSWORD
# Tests for RPC # Tests for RPC
@ -109,15 +123,15 @@ for bindoptions in seal,padcheck $VALIDATE bigendian; do
ncacn_ip_tcp) tests=$ncacn_ip_tcp_tests ;; ncacn_ip_tcp) tests=$ncacn_ip_tcp_tests ;;
esac esac
for t in $tests; do for t in $tests; do
plantest "$t on $transport with $bindoptions" dc $VALGRIND $smb4torture $transport:"\$SERVER[$bindoptions]" -U"\$USERNAME"%"\$PASSWORD" -W \$DOMAIN $t "$*" plantest "`normalize_testname $t` on $transport with $bindoptions" dc $VALGRIND $smb4torture $transport:"\$SERVER[$bindoptions]" -U"\$USERNAME"%"\$PASSWORD" -W \$DOMAIN $t "$*"
done done
plantest "RPC-SAMBA3-SHARESEC on $transport with $bindoptions" dc $VALGRIND $smb4torture $transport:"\$SERVER[$bindoptions]" -U"\$USERNAME"%"\$PASSWORD" -W \$DOMAIN --option=torture:share=tmp $t "$*" plantest "rpc.samba3.sharesec on $transport with $bindoptions" dc $VALGRIND $smb4torture $transport:"\$SERVER[$bindoptions]" -U"\$USERNAME"%"\$PASSWORD" -W \$DOMAIN --option=torture:share=tmp RPC-SAMBA3-SHARESEC "$*"
done done
done done
for bindoptions in "" $VALIDATE bigendian; do for bindoptions in "" $VALIDATE bigendian; do
for t in $auto_rpc_tests; do for t in $auto_rpc_tests; do
plantest "$t with $bindoptions" dc $VALGRIND $smb4torture "\$SERVER[$bindoptions]" -U"\$USERNAME"%"\$PASSWORD" -W \$DOMAIN $t "$*" plantest "`normalize_testname $t` with $bindoptions" dc $VALGRIND $smb4torture "\$SERVER[$bindoptions]" -U"\$USERNAME"%"\$PASSWORD" -W \$DOMAIN $t "$*"
done done
done done
@ -129,7 +143,7 @@ for bindoptions in connect $VALIDATE ; do
ncacn_ip_tcp) tests=$slow_ncacn_ip_tcp_tests ;; ncacn_ip_tcp) tests=$slow_ncacn_ip_tcp_tests ;;
esac esac
for t in $tests; do for t in $tests; do
plantest "$t on $transport with $bindoptions" dc $VALGRIND $smb4torture $transport:"\$SERVER[$bindoptions]" -U"\$USERNAME"%"\$PASSWORD" -W \$DOMAIN $t "$*" plantest "`normalize_testname $t` on $transport with $bindoptions" dc $VALGRIND $smb4torture $transport:"\$SERVER[$bindoptions]" -U"\$USERNAME"%"\$PASSWORD" -W \$DOMAIN $t "$*"
done done
done done
done done
@ -140,7 +154,7 @@ done
net=`$smb4torture --list | grep ^NET-` net=`$smb4torture --list | grep ^NET-`
for t in $net; do for t in $net; do
plantest "$t" dc $VALGRIND $smb4torture "\$SERVER[$VALIDATE]" -U"\$USERNAME"%"\$PASSWORD" -W "\$DOMAIN" $t "$*" plansmbtorturetest "$t" dc "\$SERVER[$VALIDATE]" -U"\$USERNAME"%"\$PASSWORD" -W "\$DOMAIN" "$*"
done done
# Tests for session keys # Tests for session keys
@ -160,13 +174,13 @@ for ntlmoptions in \
"-k no --option=usespnego=no --option=clientntlmv2auth=yes" \ "-k no --option=usespnego=no --option=clientntlmv2auth=yes" \
"-k no --option=gensec:spnego=no --option=clientntlmv2auth=yes" \ "-k no --option=gensec:spnego=no --option=clientntlmv2auth=yes" \
"-k no --option=usespnego=no"; do "-k no --option=usespnego=no"; do
name="RPC-SECRETS on $transport with $bindoptions with $ntlmoptions" name="rpc.secrets on $transport with $bindoptions with $ntlmoptions"
plantest "$name" dc $smb4torture $transport:"\$SERVER[$bindoptions]" $ntlmoptions -U"\$USERNAME"%"\$PASSWORD" -W \$DOMAIN --option=gensec:target_hostname=\$NETBIOSNAME RPC-SECRETS "$*" plantest "$name" dc $smb4torture $transport:"\$SERVER[$bindoptions]" $ntlmoptions -U"\$USERNAME"%"\$PASSWORD" -W \$DOMAIN --option=gensec:target_hostname=\$NETBIOSNAME RPC-SECRETS "$*"
done done
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 "$*" 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 "$*"
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 "$*" 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 "$*"
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*" "$*" 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*" "$*"
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*" "$*" 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*" "$*"
# Echo tests # Echo tests
transports="ncacn_np ncacn_ip_tcp ncalrpc" transports="ncacn_np ncacn_ip_tcp ncalrpc"
@ -175,7 +189,7 @@ for transport in $transports; do
for bindoptions in connect spnego spnego,sign spnego,seal $VALIDATE padcheck bigendian bigendian,seal; do for bindoptions in connect spnego spnego,sign spnego,seal $VALIDATE padcheck bigendian bigendian,seal; do
for ntlmoptions in \ for ntlmoptions in \
"--option=socket:testnonblock=True --option=torture:quick=yes"; do "--option=socket:testnonblock=True --option=torture:quick=yes"; do
plantest "RPC-ECHO on $transport with $bindoptions and $ntlmoptions" dc $smb4torture $transport:"\$SERVER[$bindoptions]" $ntlmoptions -U"\$USERNAME"%"\$PASSWORD" -W "\$DOMAIN" RPC-ECHO "$*" plantest "rpc.echo on $transport with $bindoptions and $ntlmoptions" dc $smb4torture $transport:"\$SERVER[$bindoptions]" $ntlmoptions -U"\$USERNAME"%"\$PASSWORD" -W "\$DOMAIN" RPC-ECHO "$*"
done done
done done
done done
@ -193,12 +207,12 @@ for transport in $transports; do
"--option=clientntlmv2auth=yes --option=ntlmssp_client:128bit=no --option=ntlmssp_client:keyexchange=yes --option=torture:quick=yes" \ "--option=clientntlmv2auth=yes --option=ntlmssp_client:128bit=no --option=ntlmssp_client:keyexchange=yes --option=torture:quick=yes" \
"--option=clientntlmv2auth=yes --option=ntlmssp_client:128bit=no --option=ntlmssp_client:keyexchange=no --option=torture:quick=yes" \ "--option=clientntlmv2auth=yes --option=ntlmssp_client:128bit=no --option=ntlmssp_client:keyexchange=no --option=torture:quick=yes" \
; do ; do
plantest "RPC-ECHO on $transport with $bindoptions and $ntlmoptions" dc $smb4torture $transport:"\$SERVER[$bindoptions]" $ntlmoptions -U"\$USERNAME"%"\$PASSWORD" -W \$DOMAIN RPC-ECHO "$*" plantest "rpc.echo on $transport with $bindoptions and $ntlmoptions" dc $smb4torture $transport:"\$SERVER[$bindoptions]" $ntlmoptions -U"\$USERNAME"%"\$PASSWORD" -W \$DOMAIN RPC-ECHO "$*"
done done
done done
done done
plantest "RPC-ECHO on ncacn_np over smb2" dc $smb4torture ncacn_np:"\$SERVER[smb2]" -U"\$USERNAME"%"\$PASSWORD" -W \$DOMAIN RPC-ECHO "$*" plantest "rpc.echo on ncacn_np over smb2" dc $smb4torture ncacn_np:"\$SERVER[smb2]" -U"\$USERNAME"%"\$PASSWORD" -W \$DOMAIN RPC-ECHO "$*"
# Tests against the NTVFS POSIX backend # Tests against the NTVFS POSIX backend
smb2=`$smb4torture --list | grep "^SMB2-" | xargs` smb2=`$smb4torture --list | grep "^SMB2-" | xargs`
@ -206,28 +220,28 @@ raw=`$smb4torture --list | grep "^RAW-" | xargs`
base=`$smb4torture --list | grep "^BASE-" | xargs` base=`$smb4torture --list | grep "^BASE-" | xargs`
for t in $base $raw $smb2; do for t in $base $raw $smb2; do
plantest "$t" dc $VALGRIND $smb4torture $ADDARGS //\$SERVER/tmp -U"\$USERNAME"%"\$PASSWORD" $t plansmbtorturetest "$t" dc $ADDARGS //\$SERVER/tmp -U"\$USERNAME"%"\$PASSWORD"
done done
rap=`$smb4torture --list | grep "^RAP-" | xargs` rap=`$smb4torture --list | grep "^RAP-" | xargs`
for t in $rap; do for t in $rap; do
plantest "$t" dc $VALGRIND $smb4torture $ADDARGS //\$SERVER/IPC\\\$ -U"\$USERNAME"%"\$PASSWORD" $t plansmbtorturetest "$t" dc $ADDARGS //\$SERVER/IPC\\\$ -U"\$USERNAME"%"\$PASSWORD"
done done
# Tests against the NTVFS CIFS backend # Tests against the NTVFS CIFS backend
for t in $base $raw; do for t in $base $raw; do
plantest "ntvfs.cifs.$t" dc $VALGRIND $smb4torture //\$NETBIOSNAME/cifs -U"\$USERNAME"%"\$PASSWORD" $t plantest "ntvfs.cifs.`normalize_testname $t`" dc $VALGRIND $smb4torture //\$NETBIOSNAME/cifs -U"\$USERNAME"%"\$PASSWORD" $t
done done
# Local tests # Local tests
for t in `$smb4torture --list | grep "^LOCAL-" | xargs`; do for t in `$smb4torture --list | grep "^LOCAL-" | xargs`; do
plantest "$t" none $VALGRIND $smb4torture ncalrpc: $t "$*" plansmbtorturetest "$t" none $VALGRIND $smb4torture ncalrpc: "$*"
done done
if test -f $samba4bindir/tdbtorture if test -f $samba4bindir/tdbtorture
then then
plantest "tdb stress" none $VALGRIND $samba4bindir/tdbtorture plantest "tdb.stress" none $VALGRIND $samba4bindir/tdbtorture
fi fi
# Pidl tests # Pidl tests
@ -260,7 +274,7 @@ plantest "blackbox.gentest" dc $bbdir/test_gentest.sh "\$SERVER" "\$USERNAME" "\
# Tests using the "Simple" NTVFS backend # Tests using the "Simple" NTVFS backend
for t in "BASE-RW1"; do for t in "BASE-RW1"; do
plantest "ntvfs/simple $t" dc $VALGRIND $smb4torture $ADDARGS //\$SERVER/simple -U"\$USERNAME"%"\$PASSWORD" $t plantest "ntvfs.simple.`normalize_testname $t`" dc $VALGRIND $smb4torture $ADDARGS //\$SERVER/simple -U"\$USERNAME"%"\$PASSWORD" $t
done done
DATADIR=$samba4srcdir/../testdata DATADIR=$samba4srcdir/../testdata
@ -269,17 +283,17 @@ plantest "js.samba3sam" none $SCRIPTDIR/samba3sam.js $CONFIGURATION `pwd` $DATAD
# Domain Member Tests # Domain Member Tests
plantest "RPC-ECHO against member server with local creds" member $VALGRIND $smb4torture ncacn_np:"\$NETBIOSNAME" -U"\$NETBIOSNAME/\$USERNAME"%"\$PASSWORD" RPC-ECHO "$*" plantest "rpc.echo against member server with local creds" member $VALGRIND $smb4torture ncacn_np:"\$NETBIOSNAME" -U"\$NETBIOSNAME/\$USERNAME"%"\$PASSWORD" RPC-ECHO "$*"
plantest "RPC-ECHO against member server with domain creds" member $VALGRIND $smb4torture ncacn_np:"\$NETBIOSNAME" -U"\$DOMAIN/\$DC_USERNAME"%"\$DC_PASSWORD" RPC-ECHO "$*" plantest "rpc.echo against member server with domain creds" member $VALGRIND $smb4torture ncacn_np:"\$NETBIOSNAME" -U"\$DOMAIN/\$DC_USERNAME"%"\$DC_PASSWORD" RPC-ECHO "$*"
plantest "RPC-SAMR against member server with local creds" member $VALGRIND $smb4torture ncacn_np:"\$NETBIOSNAME" -U"\$NETBIOSNAME/\$USERNAME"%"\$PASSWORD" "RPC-SAMR" "$*" plantest "rpc.samr against member server with local creds" member $VALGRIND $smb4torture ncacn_np:"\$NETBIOSNAME" -U"\$NETBIOSNAME/\$USERNAME"%"\$PASSWORD" "RPC-SAMR" "$*"
plantest "RPC-SAMR-USERS against member server with local creds" member $VALGRIND $smb4torture ncacn_np:"\$NETBIOSNAME" -U"\$NETBIOSNAME/\$USERNAME"%"\$PASSWORD" "RPC-SAMR-USERS" "$*" plantest "rpc.samr.users against member server with local creds" member $VALGRIND $smb4torture ncacn_np:"\$NETBIOSNAME" -U"\$NETBIOSNAME/\$USERNAME"%"\$PASSWORD" "RPC-SAMR-USERS" "$*"
plantest "RPC-SAMR-PASSWORDS against member server with local creds" member $VALGRIND $smb4torture ncacn_np:"\$NETBIOSNAME" -U"\$NETBIOSNAME/\$USERNAME"%"\$PASSWORD" "RPC-SAMR-PASSWORDS" "$*" plantest "rpc.samr.passwords against member server with local creds" member $VALGRIND $smb4torture ncacn_np:"\$NETBIOSNAME" -U"\$NETBIOSNAME/\$USERNAME"%"\$PASSWORD" "RPC-SAMR-PASSWORDS" "$*"
plantest "wbinfo -a against member server with domain creds" member $VALGRIND $samba4bindir/wbinfo -a "\$DOMAIN/\$DC_USERNAME"%"\$DC_PASSWORD" plantest "wbinfo -a against member server with domain creds" member $VALGRIND $samba4bindir/wbinfo -a "\$DOMAIN/\$DC_USERNAME"%"\$DC_PASSWORD"
NBT_TESTS=`$smb4torture --list | grep "^NBT-" | xargs` NBT_TESTS=`$smb4torture --list | grep "^NBT-" | xargs`
for f in $NBT_TESTS; do for t in $NBT_TESTS; do
plantest $f dc $smb4torture //\$SERVER/_none_ $f -U\$USERNAME%\$PASSWORD plansmbtorturetest "$t" dc //\$SERVER/_none_ $f -U\$USERNAME%\$PASSWORD
done done
WB_OPTS="--option=\"torture:strict mode=yes\"" WB_OPTS="--option=\"torture:strict mode=yes\""
@ -293,17 +307,17 @@ WINBIND_STRUCT_TESTS=`$smb4torture --list | grep "^WINBIND-STRUCT" | xargs`
WINBIND_NDR_TESTS=`$smb4torture --list | grep "^WINBIND-NDR" | xargs` WINBIND_NDR_TESTS=`$smb4torture --list | grep "^WINBIND-NDR" | xargs`
for env in dc member; do for env in dc member; do
for t in $WINBIND_STRUCT_TESTS; do for t in $WINBIND_STRUCT_TESTS; do
plantest $t $env $smb4torture $WB_OPTS //_none_/_none_ $t plansmbtorturetest $t $env $WB_OPTS //_none_/_none_
done done
for t in $WINBIND_NDR_TESTS; do for t in $WINBIND_NDR_TESTS; do
plantest $t $env $smb4torture $WB_OPTS //_none_/_none_ $t plansmbtorturetest $t $env $WB_OPTS //_none_/_none_
done done
done done
if test -f $samba4bindir/nsstest if test -f $samba4bindir/nsstest
then then
plantest "NSS-TEST using winbind" member $VALGRIND $samba4bindir/nsstest $samba4bindir/shared/libnss_winbind.so plantest "nss.test using winbind" member $VALGRIND $samba4bindir/nsstest $samba4bindir/shared/libnss_winbind.so
fi fi
PYTHON=bin/smbpython PYTHON=bin/smbpython