Added asserts on socket close in test_conenct_rid.

This commit is contained in:
Tim M 2014-01-21 11:49:41 -08:00
parent 515af9b147
commit 188e76a73f

View File

@ -75,9 +75,12 @@ void test_stream_2_stream(void* ctx_){
assert (5 == ret); assert (5 == ret);
assert ('h' == buff[128]); assert ('h' == buff[128]);
zmq_unbind (rbind, bindip); ret = zmq_unbind (rbind, bindip);
zmq_close (rbind); assert(0 == ret);
zmq_close (rconn1); ret = zmq_close (rbind);
assert(0 == ret);
ret = zmq_close (rconn1);
assert(0 == ret);
} }
void test_router_2_router(void* ctx,bool named){ void test_router_2_router(void* ctx,bool named){