mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
packets: rename, new packets
This commit is contained in:
parent
e47139f059
commit
a67cc24c40
41 changed files with 35 additions and 44 deletions
|
@ -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}
|
||||
|
|
4
test/packets/00-length-no-content
Normal file
4
test/packets/00-length-no-content
Normal file
|
@ -0,0 +1,4 @@
|
|||
:_source psyc://foo.example.com/
|
||||
:_target psyc://bar.example.com/
|
||||
0
|
||||
|
|
5
test/packets/00-length-no-data
Normal file
5
test/packets/00-length-no-data
Normal file
|
@ -0,0 +1,5 @@
|
|||
:_source psyc://foo.example.com/
|
||||
:_target psyc://bar.example.com/
|
||||
16
|
||||
_notice_foo_bar
|
||||
|
|
3
test/packets/00-method-only
Normal file
3
test/packets/00-method-only
Normal file
|
@ -0,0 +1,3 @@
|
|||
|
||||
_notice_foo_bar
|
||||
|
|
3
test/packets/00-no-content
Normal file
3
test/packets/00-no-content
Normal file
|
@ -0,0 +1,3 @@
|
|||
:_source psyc://foo.example.com/
|
||||
:_target psyc://bar.example.com/
|
||||
|
|
5
test/packets/00-no-data
Normal file
5
test/packets/00-no-data
Normal file
|
@ -0,0 +1,5 @@
|
|||
:_source psyc://foo.example.com/
|
||||
:_target psyc://bar.example.com/
|
||||
|
||||
_notice_foo_bar
|
||||
|
|
6
test/packets/00-no-entity
Normal file
6
test/packets/00-no-entity
Normal file
|
@ -0,0 +1,6 @@
|
|||
:_source psyc://foo.example.com/
|
||||
:_target psyc://bar.example.com/
|
||||
|
||||
_message_private
|
||||
OHAI
|
||||
|
|
4
test/packets/00-no-routing
Normal file
4
test/packets/00-no-routing
Normal file
|
@ -0,0 +1,4 @@
|
|||
|
||||
:_foo bar
|
||||
_notice_foo_bar
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
:_source psyc://test.psyc.eu/
|
||||
:_target psyc://test.psyc.eu/
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
part-1-p1
|
|
@ -1 +0,0 @@
|
|||
part-1-p2
|
|
@ -1,3 +0,0 @@
|
|||
hu3r2cm
|
||||
85
|
||||
:_foo bar baz
|
|
@ -1 +0,0 @@
|
|||
part-1-p4
|
|
@ -1 +0,0 @@
|
|||
part-1-p5
|
|
@ -1 +0,0 @@
|
|||
part-1-p6
|
|
@ -1 +0,0 @@
|
|||
part-1-p7
|
|
@ -1 +0,0 @@
|
|||
part-1-p8
|
|
@ -1 +0,0 @@
|
|||
part-1-p9
|
|
@ -1,2 +0,0 @@
|
|||
:_source psyc://foo/~bar
|
||||
:_tar
|
|
@ -1,2 +0,0 @@
|
|||
get psyc://bar/~baz
|
||||
:_tag sch1828
|
|
@ -1,3 +0,0 @@
|
|||
hu3r2cm
|
||||
|
||||
:_foo bar baz
|
|
@ -1,2 +0,0 @@
|
|||
|
||||
:_abc_def 1
|
|
@ -1 +0,0 @@
|
|||
1 foo
|
|
@ -1,4 +0,0 @@
|
|||
bar
|
||||
baz
|
||||
:_foo_bar yay
|
||||
_message
|
|
@ -1,2 +0,0 @@
|
|||
_foo_bar
|
||||
ohai
|
|
@ -1,2 +0,0 @@
|
|||
there!
|
||||
\o/
|
|
@ -1 +0,0 @@
|
|||
|
|
Loading…
Reference in a new issue