aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_simple_lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/test_gns_simple_lookup.c')
-rw-r--r--src/gns/test_gns_simple_lookup.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gns/test_gns_simple_lookup.c b/src/gns/test_gns_simple_lookup.c
index 28372d6b8..20ef8eac4 100644
--- a/src/gns/test_gns_simple_lookup.c
+++ b/src/gns/test_gns_simple_lookup.c
@@ -87,6 +87,7 @@ shutdown_callback (void *cls, const char *emsg)
87{ 87{
88 if (emsg != NULL) 88 if (emsg != NULL)
89 { 89 {
90 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Error on shutdown!\n", ok);
90 if (ok == 0) 91 if (ok == 0)
91 ok = 2; 92 ok = 2;
92 } 93 }
@@ -130,7 +131,7 @@ finish_testing (void *cls, int32_t success, const char *emsg)
130 } 131 }
131 else 132 else
132 { 133 {
133 GNUNET_log (GNUNET_ERROR_TYPE_INFO, "No resolution!\n"); 134 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "No resolution!\n");
134 } 135 }
135 } 136 }
136 } 137 }
@@ -161,7 +162,7 @@ end_badly_cont (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
161static void 162static void
162end_badly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 163end_badly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
163{ 164{
164 GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Failing test with error: `%s'!\n", 165 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Failing test with error: `%s'!\n",
165 (char *) cls); 166 (char *) cls);
166 GNUNET_SCHEDULER_add_now (&end_badly_cont, NULL); 167 GNUNET_SCHEDULER_add_now (&end_badly_cont, NULL);
167 ok = 1; 168 ok = 1;