Browse Source

needs to send more than just one packet each way

git.mgm/mediaproxy-ng/2.0
Richard Fuchs 15 years ago
parent
commit
2810f9046a
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      tests/simulator.sh

+ 7
- 2
tests/simulator.sh View File

@ -15,6 +15,7 @@ port() {
}
ids=""
ports=""
for i in $(seq 1 1000); do
callid=`uuid`
test -z "$callid" && exit 1
@ -30,8 +31,12 @@ for i in $(seq 1 1000); do
echo version | pipe
echo status | pipe
echo foo > /dev/udp/${src_rel/ //}
echo bar > /dev/udp/${dst_rel/ //}
src_path=${src_rel/ //}
dst_path=${dst_rel/ //}
ports="$ports $src_path $dst_path"
for port in $ports; do
echo foobar > /dev/udp/$port
done
ids="$ids $callid"
done


Loading…
Cancel
Save