mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 04:17:57 +01:00
Problem: remaining basic assertions
Solution: use unity assertions instead
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
#include "testutil.hpp"
|
||||
#include "testutil_unity.hpp"
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
void setUp ()
|
||||
{
|
||||
setup_test_context ();
|
||||
@@ -53,6 +55,8 @@ void test_fork ()
|
||||
|
||||
int pid = fork ();
|
||||
if (pid == 0) {
|
||||
// use regular assertions in the child process
|
||||
|
||||
// Child process
|
||||
// Immediately close parent sockets and context
|
||||
zmq_close (pull);
|
||||
|
||||
Reference in New Issue
Block a user