Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Add systematic tests for different message lengths |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
fa3d41029901716061b7e2bb7abfe0a8 |
User & Date: | bernd 2016-12-02 17:22:41.257 |
Context
2016-12-02
| ||
17:59 | Bump version number check-in: ab81c21966 user: bernd tags: trunk, 0.2.0-20161202 | |
17:22 | Add systematic tests for different message lengths check-in: fa3d410299 user: bernd tags: trunk | |
2016-12-01
| ||
23:26 | Correct removal of old beacon check-in: 5d13a72525 user: bernd tags: trunk | |
Changes
Changes to tests/msg-test.
︙ | ︙ | |||
43 44 45 46 47 48 49 50 51 52 | exec 3> >($GFORTH ../n2o $* chat test) export GFORTHPID1=$[$!+1] sleep 1 export PASSPHRASE=2345 exec 4> >($GFORTH ../n2o 10% $* chat test@chat-test1) export GFORTHPID2=$[$!+1] sleep 2 for i in $(seq 1 $count) do | > > | | > > > | | | | > | 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | exec 3> >($GFORTH ../n2o $* chat test) export GFORTHPID1=$[$!+1] sleep 1 export PASSPHRASE=2345 exec 4> >($GFORTH ../n2o 10% $* chat test@chat-test1) export GFORTHPID2=$[$!+1] sleep 2 x="" for i in $(seq 1 $count) do echo "Test Message $i on 1/2 $x" >&3 usleep 10000 echo "Test Message $i on 2/2 $x" >&4 usleep 10000 x="x$x" done export PASSPHRASE=3456 exec 5> >($GFORTH ../n2o 5% $* chat test@chat-test1) export GFORTHPID3=$[$!+1] export PASSPHRASE=4567 exec 6> >($GFORTH ../n2o 15% $* chat test@chat-test1) export GFORTHPID3=$[$!+1] sleep 1 #echo "/sync" >&5 #echo "/sync" >&6 sleep 1 x="" for i in $(seq 1 $count) do echo "Test Message $i on 1/4 $x" >&3 usleep 10000 echo "Test Message $i on 2/4 $x" >&4 usleep 10000 echo "Test Message $i on 3/4 $x" >&5 usleep 10000 echo "Test Message $i on 4/4 $x" >&6 usleep 10000 x="x$x" done echo "/bye" >&6 usleep 300000 echo "/bye" >&5 usleep 300000 echo "/bye" >&4 usleep 300000 echo "/bye" >&3 usleep 300000 |