blob: bdbfb7dc26efea3db71b0b380b4a12c41db366e5 [file] [log] [blame]
Jacob Erlbeck36106ae2014-03-20 19:14:33 +01001Testing the IPA layer.
2Testing IPA recv with complete messages.
3got IPA message, size=10, proto=200, text="Hello IPA"
4got IPA message, size=86, proto=200, text="A longer test message. ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz"
5got IPA message, size=16, proto=200, text="Hello again IPA"
6got IPA message, size=1, proto=200, text=""
7got IPA message, size=14, proto=200, text="Next is empty"
Jacob Erlbeck98af3c32014-03-31 10:53:32 +02008got msg == NULL, returned: Resource temporarily unavailable
9got IPA message, size=4, proto=200, text="Bye"
10got IPA message, size=4, proto=200, text="Bye"
11done: unread 0, unsent 0
Jacob Erlbeck36106ae2014-03-20 19:14:33 +010012Testing IPA recv with partitioned messages.
Jacob Erlbeck98af3c32014-03-31 10:53:32 +020013ipa_msg_recv_buffered failed with: Input/output error
Jacob Erlbeck36106ae2014-03-20 19:14:33 +010014done: unread 0, unsent 154
Jacob Erlbeck98af3c32014-03-31 10:53:32 +020015Testing IPA recv with complete messages with assembling enabled.
16got IPA message, size=10, proto=200, text="Hello IPA"
17got IPA message, size=86, proto=200, text="A longer test message. ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz"
18got IPA message, size=16, proto=200, text="Hello again IPA"
19got IPA message, size=1, proto=200, text=""
20got IPA message, size=14, proto=200, text="Next is empty"
21got msg == NULL, pending_msg == NULL, returned: Resource temporarily unavailable
22got IPA message, size=4, proto=200, text="Bye"
23got IPA message, size=4, proto=200, text="Bye"
24done: unread 0, unsent 0
25Testing IPA recv with partitioned messages with assembling enabled.
26got IPA message, size=10, proto=200, text="Hello IPA"
27got IPA message, size=86, proto=200, text="A longer test message. ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz"
28got IPA message, size=16, proto=200, text="Hello again IPA"
29got IPA message, size=1, proto=200, text=""
30got IPA message, size=14, proto=200, text="Next is empty"
31got msg == NULL, pending_msg == NULL, returned: Resource temporarily unavailable
32got IPA message, size=4, proto=200, text="Bye"
33got IPA message, size=4, proto=200, text="Bye"
34done: unread 0, unsent 0
Jacob Erlbeck36106ae2014-03-20 19:14:33 +010035No crashes.