[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r9456 - gnunet/src/fs
From: |
gnunet |
Subject: |
[GNUnet-SVN] r9456 - gnunet/src/fs |
Date: |
Tue, 10 Nov 2009 13:43:30 -0700 |
Author: grothoff
Date: 2009-11-10 13:43:30 -0700 (Tue, 10 Nov 2009)
New Revision: 9456
Modified:
gnunet/src/fs/test_fs_download.c
gnunet/src/fs/test_fs_list_indexed.c
gnunet/src/fs/test_fs_namespace.c
gnunet/src/fs/test_fs_publish.c
gnunet/src/fs/test_fs_search.c
gnunet/src/fs/test_fs_start_stop.c
gnunet/src/fs/test_fs_unindex.c
Log:
get rid of (most) unnecessary sleeps
Modified: gnunet/src/fs/test_fs_download.c
===================================================================
--- gnunet/src/fs/test_fs_download.c 2009-11-10 20:29:45 UTC (rev 9455)
+++ gnunet/src/fs/test_fs_download.c 2009-11-10 20:43:30 UTC (rev 9456)
@@ -29,7 +29,7 @@
#include "gnunet_arm_service.h"
#include "gnunet_fs_service.h"
-#define VERBOSE GNUNET_YES
+#define VERBOSE GNUNET_NO
#define START_ARM GNUNET_YES
Modified: gnunet/src/fs/test_fs_list_indexed.c
===================================================================
--- gnunet/src/fs/test_fs_list_indexed.c 2009-11-10 20:29:45 UTC (rev
9455)
+++ gnunet/src/fs/test_fs_list_indexed.c 2009-11-10 20:43:30 UTC (rev
9456)
@@ -205,7 +205,6 @@
"-L", "DEBUG",
#endif
"-c", cfgname, NULL);
- sleep (1); /* allow ARM to start */
#endif
GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (p->cfg, cfgname));
GNUNET_ARM_start_services (p->cfg, sched, "core", NULL);
Modified: gnunet/src/fs/test_fs_namespace.c
===================================================================
--- gnunet/src/fs/test_fs_namespace.c 2009-11-10 20:29:45 UTC (rev 9455)
+++ gnunet/src/fs/test_fs_namespace.c 2009-11-10 20:43:30 UTC (rev 9456)
@@ -66,7 +66,6 @@
"-L", "DEBUG",
#endif
"-c", cfgname, NULL);
- sleep (1); /* allow ARM to start */
#endif
GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (p->cfg, cfgname));
GNUNET_ARM_start_services (p->cfg, sched, "core", NULL);
Modified: gnunet/src/fs/test_fs_publish.c
===================================================================
--- gnunet/src/fs/test_fs_publish.c 2009-11-10 20:29:45 UTC (rev 9455)
+++ gnunet/src/fs/test_fs_publish.c 2009-11-10 20:43:30 UTC (rev 9456)
@@ -194,7 +194,6 @@
"-L", "DEBUG",
#endif
"-c", cfgname, NULL);
- sleep (1); /* allow ARM to start */
#endif
GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (p->cfg, cfgname));
GNUNET_ARM_start_services (p->cfg, sched, "core", NULL);
Modified: gnunet/src/fs/test_fs_search.c
===================================================================
--- gnunet/src/fs/test_fs_search.c 2009-11-10 20:29:45 UTC (rev 9455)
+++ gnunet/src/fs/test_fs_search.c 2009-11-10 20:43:30 UTC (rev 9456)
@@ -196,7 +196,6 @@
"-L", "DEBUG",
#endif
"-c", cfgname, NULL);
- sleep (1); /* allow ARM to start */
#endif
GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (p->cfg, cfgname));
GNUNET_ARM_start_services (p->cfg, sched, "core", NULL);
Modified: gnunet/src/fs/test_fs_start_stop.c
===================================================================
--- gnunet/src/fs/test_fs_start_stop.c 2009-11-10 20:29:45 UTC (rev 9455)
+++ gnunet/src/fs/test_fs_start_stop.c 2009-11-10 20:43:30 UTC (rev 9456)
@@ -63,7 +63,6 @@
"-L", "DEBUG",
#endif
"-c", cfgname, NULL);
- sleep (1); /* allow ARM to start */
#endif
GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (p->cfg, cfgname));
GNUNET_ARM_start_services (p->cfg, sched, "core", NULL);
@@ -104,6 +103,7 @@
GNUNET_FS_FLAGS_NONE,
GNUNET_FS_OPTIONS_END);
GNUNET_assert (NULL != fs);
+ sleep (1); /* FIXME */
GNUNET_FS_stop (fs);
}
Modified: gnunet/src/fs/test_fs_unindex.c
===================================================================
--- gnunet/src/fs/test_fs_unindex.c 2009-11-10 20:29:45 UTC (rev 9455)
+++ gnunet/src/fs/test_fs_unindex.c 2009-11-10 20:43:30 UTC (rev 9456)
@@ -202,7 +202,6 @@
"-L", "DEBUG",
#endif
"-c", cfgname, NULL);
- sleep (1); /* allow ARM to start */
#endif
GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (p->cfg, cfgname));
GNUNET_ARM_start_services (p->cfg, sched, "core", NULL);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r9456 - gnunet/src/fs,
gnunet <=