From b8c7d227949955d07b34ecf9a3b8f7d7abbccf26 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 18 Oct 2009 18:54:09 +0000 Subject: [PATCH] fixing config file --- src/fs/fs_namespace.c | 4 ++++ src/fs/test_fs_collection_data.conf | 32 +++++++++++++++++++++++++++-- src/fs/test_fs_download_data.conf | 9 +++++--- 3 files changed, 40 insertions(+), 5 deletions(-) diff --git a/src/fs/fs_namespace.c b/src/fs/fs_namespace.c index 64763d164..a72a64a49 100644 --- a/src/fs/fs_namespace.c +++ b/src/fs/fs_namespace.c @@ -53,6 +53,7 @@ GNUNET_FS_namespace_advertise (struct GNUNET_FS_Handle *h, const struct GNUNET_FS_Uri *advertisementURI, const char *rootEntry) { + GNUNET_break (0); return NULL; } @@ -69,6 +70,7 @@ struct GNUNET_FS_Namespace * GNUNET_FS_namespace_create (struct GNUNET_FS_Handle *h, const char *name) { + GNUNET_break (0); return NULL; } @@ -88,6 +90,7 @@ int GNUNET_FS_namespace_delete (struct GNUNET_FS_Namespace *namespace, int freeze) { + GNUNET_break (0); return GNUNET_SYSERR; } @@ -106,6 +109,7 @@ GNUNET_FS_namespace_list (struct GNUNET_FS_Handle *h, GNUNET_FS_NamespaceInfoProcessor cb, void *cb_cls) { + GNUNET_break (0); } /* end of fs_namespace.c */ diff --git a/src/fs/test_fs_collection_data.conf b/src/fs/test_fs_collection_data.conf index 12cf53b93..710ff3bf7 100644 --- a/src/fs/test_fs_collection_data.conf +++ b/src/fs/test_fs_collection_data.conf @@ -1,9 +1,37 @@ [PATHS] -SERVICEHOME = /tmp/gnunet-test-fs-uri/ -DEFAULTCONFIG = /etc/gnunetd.conf +SERVICEHOME = /tmp/gnunet-test-fs-collection/ [gnunetd] HOSTKEY = $SERVICEHOME/.hostkey +[resolver] +PORT = 42464 +HOSTNAME = localhost + +[transport] +PORT = 42465 +PLUGINS = +HOSTNAME = localhost + +[arm] +PORT = 42466 +HOSTNAME = localhost + +[statistics] +PORT = 42467 +HOSTNAME = localhost + +[peerinfo] +PORT = 42469 +HOSTNAME = localhost + +[core] +PORT = 42470 +HOSTNAME = localhost + +[fs] +PORT = 42471 +HOSTNAME = localhost + [TESTING] WEAKRANDOM = YES diff --git a/src/fs/test_fs_download_data.conf b/src/fs/test_fs_download_data.conf index 8af0d26f2..2b50be270 100644 --- a/src/fs/test_fs_download_data.conf +++ b/src/fs/test_fs_download_data.conf @@ -4,11 +4,9 @@ SERVICEHOME = /tmp/gnunet-test-fs-download/ [gnunetd] HOSTKEY = $SERVICEHOME/.hostkey -[TESTING] -WEAKRANDOM = YES - [resolver] PORT = 42464 +HOSTNAME = localhost [transport] PORT = 42465 @@ -16,18 +14,23 @@ PLUGINS = [arm] PORT = 42466 +HOSTNAME = localhost [statistics] PORT = 42467 +HOSTNAME = localhost [peerinfo] PORT = 42469 +HOSTNAME = localhost [core] PORT = 42470 +HOSTNAME = localhost [fs] PORT = 42471 +HOSTNAME = localhost [testing] WEAKRANDOM = YES -- 2.25.1