[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r14110 - gnunet/src/core
From: |
gnunet |
Subject: |
[GNUnet-SVN] r14110 - gnunet/src/core |
Date: |
Wed, 5 Jan 2011 10:43:05 +0100 |
Author: wachs
Date: 2011-01-05 10:43:05 +0100 (Wed, 05 Jan 2011)
New Revision: 14110
Modified:
gnunet/src/core/test_core_api_start_only.c
Log:
Fixed failing on sparcbot:
- removing SERVICEHOME dirs
- increasing timeout
Modified: gnunet/src/core/test_core_api_start_only.c
===================================================================
--- gnunet/src/core/test_core_api_start_only.c 2011-01-04 12:59:15 UTC (rev
14109)
+++ gnunet/src/core/test_core_api_start_only.c 2011-01-05 09:43:05 UTC (rev
14110)
@@ -33,6 +33,8 @@
#define VERBOSE GNUNET_NO
+#define TIMEOUT 3
+
#define START_ARM GNUNET_YES
#define MTYPE 12345
@@ -195,7 +197,7 @@
OKPP;
setup_peer (&p1, "test_core_api_peer1.conf");
setup_peer (&p2, "test_core_api_peer2.conf");
- timeout_task_id = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_MINUTES,
+ timeout_task_id = GNUNET_SCHEDULER_add_delayed
(GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MINUTES, TIMEOUT),
&timeout_task,
NULL);
p1.ch = GNUNET_CORE_connect (p1.cfg, 1,
@@ -242,6 +244,8 @@
struct GNUNET_GETOPT_CommandLineOption options[] = {
GNUNET_GETOPT_OPTION_END
};
+ GNUNET_DISK_directory_remove ("/tmp/test-gnunet-core-peer-1");
+ GNUNET_DISK_directory_remove ("/tmp/test-gnunet-core-peer-2");
ok = 1;
GNUNET_PROGRAM_run ((sizeof (argv) / sizeof (char *)) - 1,
@@ -266,7 +270,8 @@
#endif
NULL);
ret = check ();
-
+ GNUNET_DISK_directory_remove ("/tmp/test-gnunet-core-peer-1");
+ GNUNET_DISK_directory_remove ("/tmp/test-gnunet-core-peer-2");
return ret;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r14110 - gnunet/src/core,
gnunet <=