Jacob Erlbeck | 36106ae | 2014-03-20 19:14:33 +0100 | [diff] [blame] | 1 | Testing the IPA layer. |
| 2 | Testing IPA recv with complete messages. |
| 3 | got IPA message, size=10, proto=200, text="Hello IPA" |
| 4 | got IPA message, size=86, proto=200, text="A longer test message. ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz" |
| 5 | got IPA message, size=16, proto=200, text="Hello again IPA" |
| 6 | got IPA message, size=1, proto=200, text="" |
| 7 | got IPA message, size=14, proto=200, text="Next is empty" |
Jacob Erlbeck | 98af3c3 | 2014-03-31 10:53:32 +0200 | [diff] [blame] | 8 | got msg == NULL, returned: Resource temporarily unavailable |
| 9 | got IPA message, size=4, proto=200, text="Bye" |
| 10 | got IPA message, size=4, proto=200, text="Bye" |
| 11 | done: unread 0, unsent 0 |
Jacob Erlbeck | 36106ae | 2014-03-20 19:14:33 +0100 | [diff] [blame] | 12 | Testing IPA recv with partitioned messages. |
Jacob Erlbeck | 98af3c3 | 2014-03-31 10:53:32 +0200 | [diff] [blame] | 13 | ipa_msg_recv_buffered failed with: Input/output error |
Jacob Erlbeck | 36106ae | 2014-03-20 19:14:33 +0100 | [diff] [blame] | 14 | done: unread 0, unsent 154 |
Jacob Erlbeck | 98af3c3 | 2014-03-31 10:53:32 +0200 | [diff] [blame] | 15 | Testing IPA recv with complete messages with assembling enabled. |
| 16 | got IPA message, size=10, proto=200, text="Hello IPA" |
| 17 | got IPA message, size=86, proto=200, text="A longer test message. ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz" |
| 18 | got IPA message, size=16, proto=200, text="Hello again IPA" |
| 19 | got IPA message, size=1, proto=200, text="" |
| 20 | got IPA message, size=14, proto=200, text="Next is empty" |
| 21 | got msg == NULL, pending_msg == NULL, returned: Resource temporarily unavailable |
| 22 | got IPA message, size=4, proto=200, text="Bye" |
| 23 | got IPA message, size=4, proto=200, text="Bye" |
| 24 | done: unread 0, unsent 0 |
| 25 | Testing IPA recv with partitioned messages with assembling enabled. |
| 26 | got IPA message, size=10, proto=200, text="Hello IPA" |
| 27 | got IPA message, size=86, proto=200, text="A longer test message. ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz" |
| 28 | got IPA message, size=16, proto=200, text="Hello again IPA" |
| 29 | got IPA message, size=1, proto=200, text="" |
| 30 | got IPA message, size=14, proto=200, text="Next is empty" |
| 31 | got msg == NULL, pending_msg == NULL, returned: Resource temporarily unavailable |
| 32 | got IPA message, size=4, proto=200, text="Bye" |
| 33 | got IPA message, size=4, proto=200, text="Bye" |
| 34 | done: unread 0, unsent 0 |
Jacob Erlbeck | 36106ae | 2014-03-20 19:14:33 +0100 | [diff] [blame] | 35 | No crashes. |