Problem: remaining basic assertions

Solution: use unity assertions instead
This commit is contained in:
Simon Giesecke
2019-03-23 07:53:38 -04:00
parent 5b40bdb194
commit 5d74eba64a
18 changed files with 118 additions and 130 deletions

View File

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