From 220481d954390317f618e03df066869944cd02eb Mon Sep 17 00:00:00 2001 From: "tg(x)" <*@tg-x.net> Date: Wed, 4 May 2011 18:09:01 +0200 Subject: [PATCH] nettest: run split tests too --- test/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test/Makefile b/test/Makefile index 8a7837d..bb10097 100644 --- a/test/Makefile +++ b/test/Makefile @@ -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}