aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_test_lib.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-05-26 20:46:25 +0000
committerChristian Grothoff <christian@grothoff.org>2010-05-26 20:46:25 +0000
commita4bdb0feb4bd31c7dcbef939e1d80949ee5b0515 (patch)
tree43543ada749760062a40df086ab94498180fea4f /src/fs/fs_test_lib.c
parent43677cdd03d9a1219b9a1211f27c04f69732dfbc (diff)
downloadgnunet-a4bdb0feb4bd31c7dcbef939e1d80949ee5b0515.tar.gz
gnunet-a4bdb0feb4bd31c7dcbef939e1d80949ee5b0515.zip
adding test for content migration
Diffstat (limited to 'src/fs/fs_test_lib.c')
-rw-r--r--src/fs/fs_test_lib.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fs/fs_test_lib.c b/src/fs/fs_test_lib.c
index a8db67c8c..766bb121b 100644
--- a/src/fs/fs_test_lib.c
+++ b/src/fs/fs_test_lib.c
@@ -316,6 +316,7 @@ start_timeout (void *cls,
316 * Start daemons for testing. 316 * Start daemons for testing.
317 * 317 *
318 * @param sched scheduler to use 318 * @param sched scheduler to use
319 * @param template_cfg_file configuration template to use
319 * @param timeout if this operation cannot be completed within the 320 * @param timeout if this operation cannot be completed within the
320 * given period, call the continuation with an error code 321 * given period, call the continuation with an error code
321 * @param total number of daemons to start 322 * @param total number of daemons to start
@@ -326,6 +327,7 @@ start_timeout (void *cls,
326 */ 327 */
327void 328void
328GNUNET_FS_TEST_daemons_start (struct GNUNET_SCHEDULER_Handle *sched, 329GNUNET_FS_TEST_daemons_start (struct GNUNET_SCHEDULER_Handle *sched,
330 const char *template_cfg_file,
329 struct GNUNET_TIME_Relative timeout, 331 struct GNUNET_TIME_Relative timeout,
330 unsigned int total, 332 unsigned int total,
331 struct GNUNET_FS_TestDaemon **daemons, 333 struct GNUNET_FS_TestDaemon **daemons,
@@ -345,7 +347,7 @@ GNUNET_FS_TEST_daemons_start (struct GNUNET_SCHEDULER_Handle *sched,
345 sctx->cfg = GNUNET_CONFIGURATION_create (); 347 sctx->cfg = GNUNET_CONFIGURATION_create ();
346 if (GNUNET_OK != 348 if (GNUNET_OK !=
347 GNUNET_CONFIGURATION_load (sctx->cfg, 349 GNUNET_CONFIGURATION_load (sctx->cfg,
348 "fs_test_lib_data.conf")) 350 template_cfg_file))
349 { 351 {
350 GNUNET_break (0); 352 GNUNET_break (0);
351 GNUNET_CONFIGURATION_destroy (sctx->cfg); 353 GNUNET_CONFIGURATION_destroy (sctx->cfg);