svn commit: samba r6598 - in branches/SAMBA_4_0/source/script/tests: .

abartlet at samba.org abartlet at samba.org
Tue May 3 12:35:00 GMT 2005


Author: abartlet
Date: 2005-05-03 12:34:59 +0000 (Tue, 03 May 2005)
New Revision: 6598

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6598

Log:
Make it easy to point the test_echo.sh at remote servers, without
trying to find it on ncaclrpc at well.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/script/tests/test_echo.sh


Changeset:
Modified: branches/SAMBA_4_0/source/script/tests/test_echo.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/test_echo.sh	2005-05-03 09:57:34 UTC (rev 6597)
+++ branches/SAMBA_4_0/source/script/tests/test_echo.sh	2005-05-03 12:34:59 UTC (rev 6598)
@@ -25,7 +25,12 @@
    rm -f test.$$;
 }
 
-for transport in ncalrpc ncacn_np ncacn_ip_tcp; do
+transports="ncacn_np ncacn_ip_tcp"
+if [ $server = "localhost" ]; then 
+    transports="ncalrpc $transports"
+fi
+
+for transport in $transports; do
  for bindoptions in connect sign seal sign,seal validate padcheck bigendian bigendian,seal; do
   for ntlmoptions in \
         "--option=socket:testnonblock=True" \



More information about the samba-cvs mailing list