mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
Merge branch 'master' of supraverse.net:libpsyc
This commit is contained in:
commit
d9cfa0d79d
1 changed files with 4 additions and 3 deletions
|
@ -45,11 +45,12 @@ nettest: nettestfull nettestsplit
|
|||
nettestrun: srvstart pkt srvkill
|
||||
|
||||
nettestfull:
|
||||
${MAKE} nettestrun
|
||||
${MAKE} nettestrun srv_args=r
|
||||
${MAKE} nettestrun; x=$$?; pkill -x testServer; exit $$x
|
||||
${MAKE} nettestrun srv_args=r; x=$$?; pkill -x testServer; exit $$x
|
||||
|
||||
split_max = 10
|
||||
nettestsplit:
|
||||
for n in 1 2 3 4 5; do ${MAKE} nettestrun srv_recvbuf=$$n && ${MAKE} nettestrun srv_args=r srv_recvbuf=$$n || exit $$?; done
|
||||
x=0; for n in `seq 1 ${split_max}`; do ${MAKE} nettestrun srv_recvbuf=$$n && ${MAKE} nettestrun srv_args=r srv_recvbuf=$$n || break; done; x=$$?; pkill -x testServer; exit $$x
|
||||
|
||||
pkt:
|
||||
x=0; for f in packets/[0-9]*; do echo ">> $$f"; cat $$f | nc localhost ${PORT} | ${DIFF} -u $$f -; x=$$((x+$$?)); done; exit $$x
|
||||
|
|
Loading…
Reference in a new issue