packets: rename, new packets

This commit is contained in:
Gabor Adam Toth 2011-05-04 17:44:12 +02:00
parent 4394aa5e0c
commit c0a6ba7530
41 changed files with 35 additions and 44 deletions

View File

@ -23,8 +23,8 @@ test: ${TARGETS}
./testText
./isRoutingVar
./getVarType
for f in packets/full-*; do echo ">> $$f"; ./testParser $$f; done
for f in packets/full-*; do echo ">> $$f"; ./testParser $$f -r; done
for f in packets/[0-9]*; do echo ">> $$f"; ./testParser $$f; done
for f in packets/[0-9]*; do echo ">> $$f"; ./testParser $$f -r; done
testServer: CFLAGS := $(subst -std=c99,,${CFLAGS})
@ -41,19 +41,13 @@ netstartrv:
./testServer ${PORT} -rv
nettest:
for f in packets/full-*; do echo ">> $$f"; cat $$f | nc localhost ${PORT} | diff -u $$f -; done
for f in packets/[0-9]*; do echo ">> $$f"; cat $$f | nc localhost ${PORT} | diff -u $$f -; done
nettesterr:
for f in packets/error-*; do echo ">> $$f"; cat $$f | nc localhost ${PORT}; done
for f in packets/err-*; do echo ">> $$f"; cat $$f | nc localhost ${PORT}; done
splittest:
for f in packets/full-*; do echo ">> $$f"; ./splittest.pl $$f ${PORT} | diff -u $$f -; done
nettestp1:
(for f in packets/part-1-p*; do cat $$f; done) | nc localhost ${PORT} | diff -u packets/full-1 -
nettestp2:
(for f in packets/part-1-length-p*; do cat $$f; done) | nc localhost ${PORT} | diff -u packets/full-1-length -
for f in packets/[0-9]*; do echo ">> $$f"; ./splittest.pl $$f ${PORT} | diff -u $$f -; done
clean:
rm -f ${TARGETS}

View File

@ -0,0 +1,4 @@
:_source psyc://foo.example.com/
:_target psyc://bar.example.com/
0
|

View File

@ -0,0 +1,5 @@
:_source psyc://foo.example.com/
:_target psyc://bar.example.com/
16
_notice_foo_bar
|

View File

@ -0,0 +1,3 @@
_notice_foo_bar
|

View File

@ -0,0 +1,3 @@
:_source psyc://foo.example.com/
:_target psyc://bar.example.com/
|

5
test/packets/00-no-data Normal file
View File

@ -0,0 +1,5 @@
:_source psyc://foo.example.com/
:_target psyc://bar.example.com/
_notice_foo_bar
|

View File

@ -0,0 +1,6 @@
:_source psyc://foo.example.com/
:_target psyc://bar.example.com/
_message_private
OHAI
|

View File

@ -0,0 +1,4 @@
:_foo bar
_notice_foo_bar
|

View File

@ -1,3 +0,0 @@
:_source psyc://nb.tgbit.net/
:_target psyc://nb.tgbit.net/
|

View File

@ -1 +0,0 @@
part-1-p1

View File

@ -1 +0,0 @@
part-1-p2

View File

@ -1,3 +0,0 @@
hu3r2cm
85
:_foo bar baz

View File

@ -1 +0,0 @@
part-1-p4

View File

@ -1 +0,0 @@
part-1-p5

View File

@ -1 +0,0 @@
part-1-p6

View File

@ -1 +0,0 @@
part-1-p7

View File

@ -1 +0,0 @@
part-1-p8

View File

@ -1 +0,0 @@
part-1-p9

View File

@ -1,2 +0,0 @@
:_source psyc://foo/~bar
:_tar

View File

@ -1,2 +0,0 @@
get psyc://bar/~baz
:_tag sch1828

View File

@ -1,3 +0,0 @@
hu3r2cm
:_foo bar baz

View File

@ -1,2 +0,0 @@
:_abc_def 1

View File

@ -1 +0,0 @@
1 foo

View File

@ -1,4 +0,0 @@
bar
baz
:_foo_bar yay
_message

View File

@ -1,2 +0,0 @@
_foo_bar
ohai

View File

@ -1,2 +0,0 @@
there!
\o/

View File

@ -1 +0,0 @@
|