aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/testing/test_testing_connect.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/testing/test_testing_connect.c b/src/testing/test_testing_connect.c
index 735d0a7c1..6c3ff1ae9 100644
--- a/src/testing/test_testing_connect.c
+++ b/src/testing/test_testing_connect.c
@@ -68,7 +68,16 @@ end2_cb (void *cls, const char *emsg)
68static void 68static void
69end1_cb (void *cls, const char *emsg) 69end1_cb (void *cls, const char *emsg)
70{ 70{
71 GNUNET_assert (emsg == NULL); 71 if (emsg != NULL)
72 {
73 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Stopping daemon 1 gave: %s\n", emsg);
74 ok = 1;
75 }
76 else
77 {
78 ok = 0;
79 }
80
72 GNUNET_TESTING_daemon_stop (d2, TIMEOUT, &end2_cb, NULL, GNUNET_YES, GNUNET_NO); 81 GNUNET_TESTING_daemon_stop (d2, TIMEOUT, &end2_cb, NULL, GNUNET_YES, GNUNET_NO);
73 d2 = NULL; 82 d2 = NULL;
74} 83}