r6598: Make it easy to point the test_echo.sh at remote servers, without
authorAndrew Bartlett <abartlet@samba.org>
Tue, 3 May 2005 12:34:59 +0000 (12:34 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:16:29 +0000 (13:16 -0500)
trying to find it on ncaclrpc at well.

Andrew Bartlett

source/script/tests/test_echo.sh

index b778e4216ad682d0d4657421a59d521b05e9eee4..4bec2426b1edab8a2f17ab235adedf56341463b0 100755 (executable)
@@ -25,7 +25,12 @@ testit() {
    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" \