Problem: test_reqrep_tcp does not test disconnect/unbind

Solution: add disconnect and unbind calls to the test
This commit is contained in:
Luca Boccassi
2016-09-17 18:51:11 +01:00
parent 8d723fee3d
commit 75219e33a7

View File

@@ -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);