-visible error log
authorMartin Schanzenbach <mschanzenbach@posteo.de>
Sat, 3 Mar 2012 12:42:23 +0000 (12:42 +0000)
committerMartin Schanzenbach <mschanzenbach@posteo.de>
Sat, 3 Mar 2012 12:42:23 +0000 (12:42 +0000)
src/gns/test_gns_simple_lookup.c

index 28372d6b8ff03e422a3dc2ee1eb052be2d0d621a..20ef8eac4be726ea1ed542e314c1de3806de2187 100644 (file)
@@ -87,6 +87,7 @@ shutdown_callback (void *cls, const char *emsg)
 {
   if (emsg != NULL)
   {
+    GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Error on shutdown!\n", ok);
     if (ok == 0)
       ok = 2;
   }
@@ -130,7 +131,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");
       }
     }
   }
@@ -161,7 +162,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;