mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-04 07:27:26 +01:00
Added asserts on socket close in test_conenct_rid.
This commit is contained in:
parent
515af9b147
commit
188e76a73f
@ -75,9 +75,12 @@ void test_stream_2_stream(void* ctx_){
|
||||
assert (5 == ret);
|
||||
assert ('h' == buff[128]);
|
||||
|
||||
zmq_unbind (rbind, bindip);
|
||||
zmq_close (rbind);
|
||||
zmq_close (rconn1);
|
||||
ret = zmq_unbind (rbind, bindip);
|
||||
assert(0 == ret);
|
||||
ret = zmq_close (rbind);
|
||||
assert(0 == ret);
|
||||
ret = zmq_close (rconn1);
|
||||
assert(0 == ret);
|
||||
}
|
||||
|
||||
void test_router_2_router(void* ctx,bool named){
|
||||
|
Loading…
x
Reference in New Issue
Block a user