Commit 75219e33 authored by Luca Boccassi's avatar Luca Boccassi

Problem: test_reqrep_tcp does not test disconnect/unbind

Solution: add disconnect and unbind calls to the test
parent 8d723fee
......@@ -46,6 +46,12 @@ void test_single_connect_ipv4 (void)
bounce (sb, sc);
rc = zmq_disconnect (sc, "tcp://127.0.0.1:5560");
assert (rc == 0);
rc = zmq_unbind (sb, "tcp://127.0.0.1:5560");
assert (rc == 0);
rc = zmq_close (sc);
assert (rc == 0);
......
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