From 5d3781a8bfd8af860d7e04688c338befb5da2771 Mon Sep 17 00:00:00 2001 From: Ian Barber Date: Sun, 10 Feb 2013 22:51:52 +0000 Subject: [PATCH] Patch from Rob Gagnon, backport of test fix from master. Resolves LIBZMQ-462 --- tests/test_last_endpoint.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/test_last_endpoint.cpp b/tests/test_last_endpoint.cpp index eb3a3f8f..5f121c4a 100644 --- a/tests/test_last_endpoint.cpp +++ b/tests/test_last_endpoint.cpp @@ -49,6 +49,12 @@ int main (void) do_bind_and_verify (sb, "tcp://127.0.0.1:5561"); do_bind_and_verify (sb, "ipc:///tmp/testep"); - return 0 ; + int rc = zmq_close (sb); + assert (rc == 0); + + rc = zmq_term (ctx); + assert (rc == 0); + + return 0; }