summaryrefslogtreecommitdiff
path: root/source4/script
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-05-03 12:34:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:29 -0500
commitf37f8a49a747c66193c70ef682e65c96d2bea5d5 (patch)
tree44bcb696b407d1e745c5f6a2dc2a0a619d062477 /source4/script
parent1199f5f561c44fb3075742b6795ac9f64d079742 (diff)
downloadsamba-f37f8a49a747c66193c70ef682e65c96d2bea5d5.tar.gz
samba-f37f8a49a747c66193c70ef682e65c96d2bea5d5.tar.bz2
samba-f37f8a49a747c66193c70ef682e65c96d2bea5d5.zip
r6598: Make it easy to point the test_echo.sh at remote servers, without
trying to find it on ncaclrpc at well. Andrew Bartlett (This used to be commit db0aa1c4b7b0a8d28b7e5ebe35162dcea8dc0f8e)
Diffstat (limited to 'source4/script')
-rwxr-xr-xsource4/script/tests/test_echo.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/script/tests/test_echo.sh b/source4/script/tests/test_echo.sh
index b778e4216a..4bec2426b1 100755
--- a/source4/script/tests/test_echo.sh
+++ b/source4/script/tests/test_echo.sh
@@ -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" \