gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r22361 - gnunet/src/gns
Date: Thu, 28 Jun 2012 14:11:50 +0200

Author: schanzen
Date: 2012-06-28 14:11:50 +0200 (Thu, 28 Jun 2012)
New Revision: 22361

Modified:
   gnunet/src/gns/test_gns_simple_zkey_lookup.c
Log:
-fix

Modified: gnunet/src/gns/test_gns_simple_zkey_lookup.c
===================================================================
--- gnunet/src/gns/test_gns_simple_zkey_lookup.c        2012-06-28 00:47:17 UTC 
(rev 22360)
+++ gnunet/src/gns/test_gns_simple_zkey_lookup.c        2012-06-28 12:11:50 UTC 
(rev 22361)
@@ -37,7 +37,7 @@
 #define VERBOSE GNUNET_YES
 
 /* Timeout for entire testcase */
-#define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 20)
+#define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 40)
 
 /* If number of peers not in config file, use this number */
 #define DEFAULT_NUM_PEERS 2
@@ -101,7 +101,7 @@
   if (rd_count == 0)
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
-                "Lookup failed, rp_filtering?\n");
+                "Lookup failed\n");
     ok = 2;
   }
   else
@@ -314,12 +314,9 @@
   int ret;
 
   /* Arguments for GNUNET_PROGRAM_run */
-  char *const argv[] = { "test-gns-simple-delegated-lookup", /* Name to give 
running binary */
+  char *const argv[] = { "test-gns-simple-zkey-lookup", /* Name to give 
running binary */
     "-c",
     "test_gns_simple_lookup.conf",       /* Config file to use */
-#if VERBOSE
-    "-L", "DEBUG",
-#endif
     NULL
   };
   struct GNUNET_GETOPT_CommandLineOption options[] = {
@@ -328,12 +325,12 @@
   /* Run the run function as a new program */
   ret =
       GNUNET_PROGRAM_run ((sizeof (argv) / sizeof (char *)) - 1, argv,
-                          "test-gns-simple-delegated-lookup", "nohelp", 
options, &run,
+                          "test-gns-simple-zkey-lookup", "nohelp", options, 
&run,
                           &ok);
   if (ret != GNUNET_OK)
   {
     GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
-                "`test-gns-simple-delegated-lookup': Failed with error code 
%d\n", ret);
+                "`test-gns-simple-zkey-lookup': Failed with error code %d\n", 
ret);
   }
   return ok;
 }
@@ -343,12 +340,8 @@
 {
   int ret;
 
-  GNUNET_log_setup ("test-gns-simple-lookup",
-#if VERBOSE
-                    "DEBUG",
-#else
+  GNUNET_log_setup ("test-gns-simple-zkey-lookup",
                     "WARNING",
-#endif
                     NULL);
   ret = check ();
   /**




reply via email to

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