summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/testing/test_testing.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/testing/test_testing.c b/src/testing/test_testing.c
index 4a014de66..925579a71 100644
--- a/src/testing/test_testing.c
+++ b/src/testing/test_testing.c
@@ -31,7 +31,12 @@ static int ok;
static void
end_cb (void *cls, const char *emsg)
{
- GNUNET_assert (emsg == NULL);
+ if (emsg != NULL)
+ {
+ fprintf (stderr, "Error terminaing daemon: `%s'\n",
+ emsg);
+ return;
+ }
#if VERBOSE
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Daemon terminated, will now exit.\n");
#endif