aboutsummaryrefslogtreecommitdiff
path: root/tests/socket_server.sh
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-10-01 15:07:09 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-10-01 15:07:09 -0700
commit574eb96053c62d5ad809e36b9bfcc66860331eb2 (patch)
treeb76c885a78214a7698391e98bd52ffffde6e2664 /tests/socket_server.sh
parent8c53160d51aaed62f609058e5f991524c89a3e0a (diff)
make socket server parametrizable
Diffstat (limited to 'tests/socket_server.sh')
-rwxr-xr-xtests/socket_server.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/socket_server.sh b/tests/socket_server.sh
index a8a3aa50..4fd2edb1 100755
--- a/tests/socket_server.sh
+++ b/tests/socket_server.sh
@@ -1,3 +1,3 @@
#!/bin/sh
-while true; do (/bin/echo -en "te\x01\xff\x79st\x02") | nc -vvvl 127.0.0.1 8990; done;
+while true; do (/bin/echo -en "te\x01\xff\x79st\x02") | nc -vvvl 127.0.0.1 $1; done;