Commit 1fdf8f78 authored by Pieter Hintjens's avatar Pieter Hintjens

Cleaned up test case

parent 146be484
......@@ -58,7 +58,6 @@ int main()
rcvbytes = zmq_msg_recv(&msg, zsock, 0);
assert(rcvbytes!=-1);
assert(!zmq_msg_more(&msg));
printf("got %d bytes\n", rcvbytes);
}
// for this test, we only collect the first chunk
......@@ -72,7 +71,6 @@ int main()
zmq_ctx_destroy(zctx);
assert(rcvbytes >= 4);
printf("%x %x %x %x\n", rcvbuf[0], rcvbuf[1], rcvbuf[2], rcvbuf[3]);
// notice that only the 1st byte gets corrupted
assert(rcvbuf[3]==0xef);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment