Skip to content

Commit

Permalink
Add sendhttp.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
bmwiedemann committed Oct 19, 2020
1 parent 4c0b648 commit 2db6302
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions sendhttp.sh
@@ -0,0 +1,11 @@
#!/bin/sh
timeouts=0
x=$((11 + (RANDOM % 600)))
echo "x=$x"
export port
for port in $(seq ${x}00 ${x}39) ; do
timeout 0.8 ./testhttp.pl > /dev/null
[ $? != 0 ] && let timeouts++
done

echo "timeouted $timeouts times"

0 comments on commit 2db6302

Please sign in to comment.