diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2015-09-01 14:32:27 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2015-09-01 14:32:27 +0000 |
commit | 9f0009faeaa0960f57fcacea91b45997258016e0 (patch) | |
tree | f434613d74c0bebef7abfdbdb67e0bd55f3fa220 /tests/udpsource.sh | |
parent | e6f799e41d7910e1388c68630c49bf3141cb8d9c (diff) |
synch more with git
svn path=/trunk/externals/iem/iemnet/; revision=17546
Diffstat (limited to 'tests/udpsource.sh')
-rwxr-xr-x | tests/udpsource.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/udpsource.sh b/tests/udpsource.sh new file mode 100755 index 0000000..f48cd55 --- /dev/null +++ b/tests/udpsource.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +P=$1 +PORT=$((P)) +if [ ${PORT} -lt 1 ]; then + echo "usage: $0 <port>" 1>&2 + exit 1 +fi + +yes abcdefghijklmnopqrstuvwxyz | nc -u localhost ${PORT} > /dev/null |