1
0
Fork 0
mirror of git://git.psyc.eu/libpsyc synced 2024-08-15 03:19:02 +00:00

nettest: run split tests too

This commit is contained in:
Gabor Adam Toth 2011-05-04 18:09:01 +02:00
parent 44622925f5
commit 3fc8eebfa1

View file

@ -40,15 +40,17 @@ netstartv:
netstartrv:
./testServer ${PORT} -rv
nettest:
nettest: nettestfull nettestsplit
nettestfull:
for f in packets/[0-9]*; do echo ">> $$f"; cat $$f | nc localhost ${PORT} | diff -u $$f -; done
nettestsplit:
for f in packets/[0-9]*; do echo ">> $$f"; ./splittest.pl $$f ${PORT} | diff -u $$f -; done
nettesterr:
for f in packets/err-*; do echo ">> $$f"; cat $$f | nc localhost ${PORT}; done
splittest:
for f in packets/[0-9]*; do echo ">> $$f"; ./splittest.pl $$f ${PORT} | diff -u $$f -; done
clean:
rm -f ${TARGETS}