gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r20227 - gnunet/src/gns


From: gnunet
Subject: [GNUnet-SVN] r20227 - gnunet/src/gns
Date: Sat, 3 Mar 2012 16:10:02 +0100

Author: schanzen
Date: 2012-03-03 16:10:02 +0100 (Sat, 03 Mar 2012)
New Revision: 20227

Modified:
   gnunet/src/gns/test_gns_dht_delegated_lookup.c
   gnunet/src/gns/test_gns_simple_delegated_lookup.c
   gnunet/src/gns/test_gns_simple_lookup.c
Log:
-fixes


Modified: gnunet/src/gns/test_gns_dht_delegated_lookup.c
===================================================================
--- gnunet/src/gns/test_gns_dht_delegated_lookup.c      2012-03-03 15:02:23 UTC 
(rev 20226)
+++ gnunet/src/gns/test_gns_dht_delegated_lookup.c      2012-03-03 15:10:02 UTC 
(rev 20227)
@@ -100,6 +100,7 @@
 {
   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 @@
 
   if (!he)
   {
+    GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+                "gethostbyname failed, rp_filtering?\n");
     ok = 2;
   }
   else
@@ -144,7 +147,7 @@
       }
       else
       {
-        GNUNET_log (GNUNET_ERROR_TYPE_INFO, "No resolution!\n");
+        GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "No resolution!\n");
       }
     }
   }
@@ -175,7 +178,7 @@
 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;

Modified: gnunet/src/gns/test_gns_simple_delegated_lookup.c
===================================================================
--- gnunet/src/gns/test_gns_simple_delegated_lookup.c   2012-03-03 15:02:23 UTC 
(rev 20226)
+++ gnunet/src/gns/test_gns_simple_delegated_lookup.c   2012-03-03 15:10:02 UTC 
(rev 20227)
@@ -90,6 +90,7 @@
 {
   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 @@
 
   if (!he)
   {
+    GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+                "gethostbyname failed, rp_filtering?\n");
     ok = 2;
   }
   else
@@ -133,7 +136,7 @@
       }
       else
       {
-        GNUNET_log (GNUNET_ERROR_TYPE_INFO, "No resolution!\n");
+        GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "No resolution!\n");
       }
     }
   }
@@ -164,7 +167,7 @@
 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;

Modified: gnunet/src/gns/test_gns_simple_lookup.c
===================================================================
--- gnunet/src/gns/test_gns_simple_lookup.c     2012-03-03 15:02:23 UTC (rev 
20226)
+++ gnunet/src/gns/test_gns_simple_lookup.c     2012-03-03 15:10:02 UTC (rev 
20227)
@@ -87,7 +87,7 @@
 {
   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;
   }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]