]> git.meshlink.io Git - meshlink/commit
Update the channels-*-framed tests to test for isolated packets.
authorGuus Sliepen <guus@meshlink.io>
Wed, 27 May 2020 18:57:43 +0000 (20:57 +0200)
committerGuus Sliepen <guus@meshlink.io>
Wed, 27 May 2020 19:18:32 +0000 (21:18 +0200)
commit8167ca32341c888024061545ccf5c27504e26a9f
treecc0862d2e10b5dd9f3c73e1f858ddf28ef7bb01c
parentd90d88adfbfc340e8eb473e0265f2741bf3f40a4
Update the channels-*-framed tests to test for isolated packets.

The test sent a lot of packets in succession, and only at the end checked
if everything was received. This prevented it from detecting the case where
sending a single small frame would not cause the frame to be received.
test/channels-framed.c
test/channels-udp-framed.c