gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r1142 - GNUnet/src/applications/fs/fsui


From: grothoff
Subject: [GNUnet-SVN] r1142 - GNUnet/src/applications/fs/fsui
Date: Wed, 29 Jun 2005 09:42:35 -0700 (PDT)

Author: grothoff
Date: 2005-06-29 09:42:33 -0700 (Wed, 29 Jun 2005)
New Revision: 1142

Modified:
   GNUnet/src/applications/fs/fsui/downloadtest.c
Log:
improving test

Modified: GNUnet/src/applications/fs/fsui/downloadtest.c
===================================================================
--- GNUnet/src/applications/fs/fsui/downloadtest.c      2005-06-29 16:32:15 UTC 
(rev 1141)
+++ GNUnet/src/applications/fs/fsui/downloadtest.c      2005-06-29 16:42:33 UTC 
(rev 1142)
@@ -191,7 +191,7 @@
   prog = 0;
   while (lastEvent != FSUI_download_complete) {
     prog++;
-    CHECK(prog < 10000);
+    CHECK(prog < 100000);
     gnunet_util_sleep(50 * cronMILLIS);
     if (suspendRestart > 0) {
       suspendCron();
@@ -205,8 +205,8 @@
       suspendRestart--;
     }
   }
-  FSUI_stopSearch(ctx,
-                 uri);  
+  CHECK(OK == FSUI_stopSearch(ctx,
+                             uri));  
   CHECK(OK == FSUI_unindex(ctx, fn));
 
   /* END OF TEST CODE */
@@ -214,8 +214,13 @@
   if (ctx != NULL) {
     FSUI_stopSearch(ctx,
                    uri);
+    fn = makeName(43);
+    FSUI_stopDownload(ctx,
+                     uri,
+                     fn);
+    FREE(fn);
     FSUI_stop(ctx);
-  }
+  }  
   if (uri != NULL)
     ECRS_freeUri(uri);
   if (kuri != NULL)





reply via email to

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