Commit 8d723fee authored by Luca Boccassi's avatar Luca Boccassi

Problem: test_reqrep_tcp is too limited

Solution: refactor it to allow for multiple functionalities to be
tested
parent f0945c85
......@@ -29,9 +29,8 @@
#include "testutil.hpp"
int main (void)
void test_single_connect_ipv4 (void)
{
setup_test_environment();
void *ctx = zmq_ctx_new ();
assert (ctx);
......@@ -55,6 +54,13 @@ int main (void)
rc = zmq_ctx_term (ctx);
assert (rc == 0);
}
int main (void)
{
setup_test_environment ();
test_single_connect_ipv4 ();
return 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