gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r303 - GNUnet/src/applications/fs/ecrs


From: grothoff
Subject: [GNUnet-SVN] r303 - GNUnet/src/applications/fs/ecrs
Date: Thu, 24 Feb 2005 22:53:53 -0800 (PST)

Author: grothoff
Date: 2005-02-24 22:53:52 -0800 (Thu, 24 Feb 2005)
New Revision: 303

Modified:
   GNUnet/src/applications/fs/ecrs/ecrstest.c
Log:
fix

Modified: GNUnet/src/applications/fs/ecrs/ecrstest.c
===================================================================
--- GNUnet/src/applications/fs/ecrs/ecrstest.c  2005-02-25 06:46:35 UTC (rev 
302)
+++ GNUnet/src/applications/fs/ecrs/ecrstest.c  2005-02-25 06:53:52 UTC (rev 
303)
@@ -22,7 +22,7 @@
                                     NULL));
   FREENONNULL(setConfigurationString("GNUNET",
                                     "LOGLEVEL",
-                                    "DEBUG"));
+                                    "WARNING"));
   return OK;
 }
 
@@ -114,8 +114,6 @@
                    void * closure) {
   struct ECRS_URI ** my = closure;
 
-  LOG(LOG_DEBUG,
-      "Received search result!\n");
   GNUNET_ASSERT(NULL == *my);
   *my = ECRS_dupUri(fi->uri);
   return SYSERR; /* abort search */
@@ -206,7 +204,7 @@
     if (0 != execlp("gnunetd", /* what binary to execute, must be in $PATH! */
                    "gnunetd", /* arg0, path to gnunet binary */
                    "-d",  /* do not daemonize so we can easily kill you */
-                   "-L", "DEBUG",
+                   "-L", "NOTHING",
                    "-c",
                    "check.conf", /* configuration file */
                    NULL)) {
@@ -228,11 +226,14 @@
   /* ACTUAL TEST CODE */
   i = 0;
   while (filesizes[i] != 0) {
+    printf("Testing filesize %u\n",
+          filesizes[i]);
     uri = uploadFile(filesizes[i]);
     CHECK(NULL != uri);
     CHECK(OK == searchFile(&uri));
     CHECK(OK == downloadFile(filesizes[i], uri));
     CHECK(OK == unindexFile(filesizes[i]));
+    i++;
   } 
 
   /* END OF TEST CODE */





reply via email to

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