From 9f0009faeaa0960f57fcacea91b45997258016e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Tue, 1 Sep 2015 14:32:27 +0000 Subject: synch more with git svn path=/trunk/externals/iem/iemnet/; revision=17546 --- tests/tcpsink.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 tests/tcpsink.sh (limited to 'tests/tcpsink.sh') diff --git a/tests/tcpsink.sh b/tests/tcpsink.sh new file mode 100755 index 0000000..6716bed --- /dev/null +++ b/tests/tcpsink.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +P=$1 +PORT=$((P)) +if [ ${PORT} -lt 1 ]; then + echo "usage: $0 " 1>&2 + exit 1 +fi + +nc -l -p ${PORT} > /dev/null -- cgit v1.2.1