diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-03-21 15:57:07 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:49:37 -0500 |
commit | 2fca3f9082a70e1f153f6c9f195d95b0d48e363d (patch) | |
tree | 57146b03e224aede0bd6495beb3d5d717d424930 /source4/script/tests/test_echo.sh | |
parent | e2f26316cdeba1875be2cd583870ac6127c2be56 (diff) | |
download | samba-2fca3f9082a70e1f153f6c9f195d95b0d48e363d.tar.gz samba-2fca3f9082a70e1f153f6c9f195d95b0d48e363d.tar.bz2 samba-2fca3f9082a70e1f153f6c9f195d95b0d48e363d.zip |
r21909: Merge some of my recent improvements to the test infrastructure:
- Allow tests to specify what environment they need to run in (dc and none are thecurrent supported ones).
- Move more Samba4-specific code out of the common code
(This used to be commit dbe9de10287c902f4a5ea5d431dea4a79f9b170b)
Diffstat (limited to 'source4/script/tests/test_echo.sh')
-rwxr-xr-x | source4/script/tests/test_echo.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/script/tests/test_echo.sh b/source4/script/tests/test_echo.sh index be6f08d719..f9fc7f3cad 100755 --- a/source4/script/tests/test_echo.sh +++ b/source4/script/tests/test_echo.sh @@ -30,7 +30,7 @@ for transport in $transports; do for ntlmoptions in \ "--option=socket:testnonblock=True --option=torture:quick=yes"; do name="RPC-ECHO on $transport with $bindoptions and $ntlmoptions" - testit "$name" bin/smbtorture $TORTURE_OPTIONS $transport:"$server[$bindoptions]" $ntlmoptions -U"$username"%"$password" -W $domain RPC-ECHO "$*" + testit "$name" rpc bin/smbtorture $TORTURE_OPTIONS $transport:"$server[$bindoptions]" $ntlmoptions -U"$username"%"$password" -W $domain RPC-ECHO "$*" done done done @@ -49,12 +49,12 @@ for transport in $transports; do "--option=clientntlmv2auth=yes --option=ntlmssp_client:128bit=no --option=ntlmssp_client:keyexchange=no --option=torture:quick=yes" \ ; do name="RPC-ECHO on $transport with $bindoptions and $ntlmoptions" - testit "$name" bin/smbtorture $TORTURE_OPTIONS $transport:"$server[$bindoptions]" $ntlmoptions -U"$username"%"$password" -W $domain RPC-ECHO "$*" + testit "$name" rpc bin/smbtorture $TORTURE_OPTIONS $transport:"$server[$bindoptions]" $ntlmoptions -U"$username"%"$password" -W $domain RPC-ECHO "$*" done done done name="RPC-ECHO on ncacn_np over smb2" -testit "$name" bin/smbtorture $TORTURE_OPTIONS ncacn_np:"$server[smb2]" -U"$username"%"$password" -W $domain RPC-ECHO "$*" +testit "$name" rpc bin/smbtorture $TORTURE_OPTIONS ncacn_np:"$server[smb2]" -U"$username"%"$password" -W $domain RPC-ECHO "$*" testok $0 $failed |