bind_ip.family = AF_INET;
bind_ip.u.ip4.s_addr = htonl(INADDR_LOOPBACK);
- test_run(test_functions);
+ return test_run(test_functions);
}
int main(int argc, char *argv[])
{
int c;
+ int ret;
lib_init();
#ifdef HAVE_OPENSSL
bind_ip.family = AF_INET;
bind_ip.u.ip4.s_addr = htonl(INADDR_LOOPBACK);
- test_run(test_functions);
+ ret = test_run(test_functions);
ssl_iostream_context_cache_free();
#ifdef HAVE_OPENSSL
ssl_iostream_openssl_deinit();
#endif
lib_deinit();
+ return ret;
}
bind_ip.family = AF_INET;
bind_ip.u.ip4.s_addr = htonl(INADDR_LOOPBACK);
- test_run(test_functions);
+ return test_run(test_functions);
}
bind_ip.family = AF_INET;
bind_ip.u.ip4.s_addr = htonl(INADDR_LOOPBACK);
- test_run(test_functions);
+ return test_run(test_functions);
}
int main(int argc, char *argv[])
{
int c;
+ int ret;
lib_init();
#ifdef HAVE_OPENSSL
bind_ip.family = AF_INET;
bind_ip.u.ip4.s_addr = htonl(INADDR_LOOPBACK);
- test_run(test_functions);
+ ret = test_run(test_functions);
ssl_iostream_context_cache_free();
#ifdef HAVE_OPENSSL
ssl_iostream_openssl_deinit();
#endif
lib_deinit();
+
+ return ret;
}
bind_ip.family = AF_INET;
bind_ip.u.ip4.s_addr = htonl(INADDR_LOOPBACK);
- test_run(test_functions);
+ return test_run(test_functions);
}
int main(int argc, char *argv[])
{
int c;
+ int ret;
atexit(test_atexit);
(void)signal(SIGCHLD, SIG_IGN);
bind_ip.family = AF_INET;
bind_ip.u.ip4.s_addr = htonl(INADDR_LOOPBACK);
- test_run(test_functions);
+ ret = test_run(test_functions);
master_service_deinit(&master_service);
+
+ return ret;
}