diff options
-rw-r--r-- | src/gns/test_gns_dht_delegated_lookup.c | 7 | ||||
-rw-r--r-- | src/gns/test_gns_simple_delegated_lookup.c | 7 | ||||
-rw-r--r-- | src/gns/test_gns_simple_lookup.c | 2 |
3 files changed, 11 insertions, 5 deletions
diff --git a/src/gns/test_gns_dht_delegated_lookup.c b/src/gns/test_gns_dht_delegated_lookup.c index 581a8f680a..8161960485 100644 --- a/src/gns/test_gns_dht_delegated_lookup.c +++ b/src/gns/test_gns_dht_delegated_lookup.c @@ -100,6 +100,7 @@ shutdown_callback (void *cls, const char *emsg) { if (emsg != NULL) { + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Error on shutdown! ret=%d\n", ok); if (ok == 0) ok = 2; } @@ -125,6 +126,8 @@ finish_testing (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) if (!he) { + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + "gethostbyname failed, rp_filtering?\n"); ok = 2; } else @@ -144,7 +147,7 @@ finish_testing (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) } else { - GNUNET_log (GNUNET_ERROR_TYPE_INFO, "No resolution!\n"); + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "No resolution!\n"); } } } @@ -175,7 +178,7 @@ end_badly_cont (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) static void end_badly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) { - GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Failing test with error: `%s'!\n", + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Failing test with error: `%s'!\n", (char *) cls); GNUNET_SCHEDULER_add_now (&end_badly_cont, NULL); ok = 1; diff --git a/src/gns/test_gns_simple_delegated_lookup.c b/src/gns/test_gns_simple_delegated_lookup.c index 98ca34989c..e4383fe4c2 100644 --- a/src/gns/test_gns_simple_delegated_lookup.c +++ b/src/gns/test_gns_simple_delegated_lookup.c @@ -90,6 +90,7 @@ shutdown_callback (void *cls, const char *emsg) { if (emsg != NULL) { + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Error on shutdown! ret=%d\n", ok); if (ok == 0) ok = 2; } @@ -114,6 +115,8 @@ finish_testing (void *cls, int32_t success, const char *emsg) if (!he) { + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + "gethostbyname failed, rp_filtering?\n"); ok = 2; } else @@ -133,7 +136,7 @@ finish_testing (void *cls, int32_t success, const char *emsg) } else { - GNUNET_log (GNUNET_ERROR_TYPE_INFO, "No resolution!\n"); + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "No resolution!\n"); } } } @@ -164,7 +167,7 @@ end_badly_cont (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) static void end_badly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) { - GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Failing test with error: `%s'!\n", + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Failing test with error: `%s'!\n", (char *) cls); GNUNET_SCHEDULER_add_now (&end_badly_cont, NULL); ok = 1; diff --git a/src/gns/test_gns_simple_lookup.c b/src/gns/test_gns_simple_lookup.c index cad26a4291..d75ff2d28f 100644 --- a/src/gns/test_gns_simple_lookup.c +++ b/src/gns/test_gns_simple_lookup.c @@ -87,7 +87,7 @@ shutdown_callback (void *cls, const char *emsg) { if (emsg != NULL) { - GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Error on shutdown!\n", ok); + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Error on shutdown! ret=%d\n", ok); if (ok == 0) ok = 2; } |