aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2023-10-19 11:55:21 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2023-10-19 11:55:21 +0200
commit579d9473bb75072303789599b23be9b0203336fc (patch)
tree687506d1968bd2a391b71b8832d1e97905db3ca8 /src
parentb56e4e05ad919c7191260fcf1d78b1f8d739871a (diff)
downloadgnunet-579d9473bb75072303789599b23be9b0203336fc.tar.gz
gnunet-579d9473bb75072303789599b23be9b0203336fc.zip
BUILD: Move fs to contrib/service
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am1
-rw-r--r--src/cli/Makefile.am1
-rw-r--r--src/cli/fs/.gitignore8
-rw-r--r--src/cli/fs/Makefile.am107
-rw-r--r--src/cli/fs/gnunet-auto-share.c (renamed from src/fs/gnunet-auto-share.c)0
-rw-r--r--src/cli/fs/gnunet-directory.c (renamed from src/fs/gnunet-directory.c)0
-rw-r--r--src/cli/fs/gnunet-download.c (renamed from src/fs/gnunet-download.c)0
-rw-r--r--src/cli/fs/gnunet-fs.c (renamed from src/fs/gnunet-fs.c)0
-rw-r--r--src/cli/fs/gnunet-publish.c (renamed from src/fs/gnunet-publish.c)0
-rw-r--r--src/cli/fs/gnunet-search.c (renamed from src/fs/gnunet-search.c)0
-rw-r--r--src/cli/fs/gnunet-unindex.c (renamed from src/fs/gnunet-unindex.c)0
-rwxr-xr-xsrc/fs/test_gnunet_fs_idx.py.in113
-rw-r--r--src/fs/test_gnunet_fs_idx_data.conf7
-rwxr-xr-xsrc/fs/test_gnunet_fs_psd.py.in149
-rw-r--r--src/fs/test_gnunet_fs_psd_data.conf7
-rwxr-xr-xsrc/fs/test_gnunet_fs_rec.py.in171
-rw-r--r--src/fs/test_gnunet_fs_rec_data.conf7
-rw-r--r--src/plugin/Makefile.am3
-rw-r--r--src/plugin/fs/Makefile.am36
-rw-r--r--src/plugin/fs/plugin_block_fs.c (renamed from src/fs/plugin_block_fs.c)0
-rw-r--r--src/service/Makefile.am3
-rw-r--r--src/service/fs/.gitignore (renamed from src/fs/.gitignore)7
-rw-r--r--src/service/fs/Makefile.am (renamed from src/fs/Makefile.am)146
-rw-r--r--src/service/fs/fs.conf.in (renamed from src/fs/fs.conf.in)0
-rw-r--r--src/service/fs/fs.h (renamed from src/fs/fs.h)0
-rw-r--r--src/service/fs/fs_api.c (renamed from src/fs/fs_api.c)0
-rw-r--r--src/service/fs/fs_api.h (renamed from src/fs/fs_api.h)0
-rw-r--r--src/service/fs/fs_directory.c (renamed from src/fs/fs_directory.c)0
-rw-r--r--src/service/fs/fs_dirmetascan.c (renamed from src/fs/fs_dirmetascan.c)0
-rw-r--r--src/service/fs/fs_download.c (renamed from src/fs/fs_download.c)0
-rw-r--r--src/service/fs/fs_file_information.c (renamed from src/fs/fs_file_information.c)0
-rw-r--r--src/service/fs/fs_getopt.c (renamed from src/fs/fs_getopt.c)0
-rw-r--r--src/service/fs/fs_list_indexed.c (renamed from src/fs/fs_list_indexed.c)0
-rw-r--r--src/service/fs/fs_misc.c (renamed from src/fs/fs_misc.c)0
-rw-r--r--src/service/fs/fs_namespace.c (renamed from src/fs/fs_namespace.c)0
-rw-r--r--src/service/fs/fs_publish.c (renamed from src/fs/fs_publish.c)0
-rw-r--r--src/service/fs/fs_publish_ksk.c (renamed from src/fs/fs_publish_ksk.c)0
-rw-r--r--src/service/fs/fs_publish_ublock.c (renamed from src/fs/fs_publish_ublock.c)0
-rw-r--r--src/service/fs/fs_publish_ublock.h (renamed from src/fs/fs_publish_ublock.h)0
-rw-r--r--src/service/fs/fs_search.c (renamed from src/fs/fs_search.c)0
-rw-r--r--src/service/fs/fs_sharetree.c (renamed from src/fs/fs_sharetree.c)0
-rw-r--r--src/service/fs/fs_test_lib.c (renamed from src/fs/fs_test_lib.c)0
-rw-r--r--src/service/fs/fs_test_lib.h (renamed from src/fs/fs_test_lib.h)0
-rw-r--r--src/service/fs/fs_test_lib_data.conf (renamed from src/fs/fs_test_lib_data.conf)0
-rw-r--r--src/service/fs/fs_tree.c (renamed from src/fs/fs_tree.c)0
-rw-r--r--src/service/fs/fs_tree.h (renamed from src/fs/fs_tree.h)0
-rw-r--r--src/service/fs/fs_unindex.c (renamed from src/fs/fs_unindex.c)0
-rw-r--r--src/service/fs/fs_uri.c (renamed from src/fs/fs_uri.c)0
-rw-r--r--src/service/fs/gnunet-daemon-fsprofiler.c (renamed from src/fs/gnunet-daemon-fsprofiler.c)0
-rw-r--r--src/service/fs/gnunet-fs-profiler.c (renamed from src/fs/gnunet-fs-profiler.c)0
-rw-r--r--src/service/fs/gnunet-helper-fs-publish.c (renamed from src/fs/gnunet-helper-fs-publish.c)0
-rw-r--r--src/service/fs/gnunet-service-fs.c (renamed from src/fs/gnunet-service-fs.c)0
-rw-r--r--src/service/fs/gnunet-service-fs.h (renamed from src/fs/gnunet-service-fs.h)0
-rw-r--r--src/service/fs/gnunet-service-fs_cadet.h (renamed from src/fs/gnunet-service-fs_cadet.h)0
-rw-r--r--src/service/fs/gnunet-service-fs_cadet_client.c (renamed from src/fs/gnunet-service-fs_cadet_client.c)0
-rw-r--r--src/service/fs/gnunet-service-fs_cadet_server.c (renamed from src/fs/gnunet-service-fs_cadet_server.c)0
-rw-r--r--src/service/fs/gnunet-service-fs_cp.c (renamed from src/fs/gnunet-service-fs_cp.c)0
-rw-r--r--src/service/fs/gnunet-service-fs_cp.h (renamed from src/fs/gnunet-service-fs_cp.h)0
-rw-r--r--src/service/fs/gnunet-service-fs_indexing.c (renamed from src/fs/gnunet-service-fs_indexing.c)0
-rw-r--r--src/service/fs/gnunet-service-fs_indexing.h (renamed from src/fs/gnunet-service-fs_indexing.h)0
-rw-r--r--src/service/fs/gnunet-service-fs_pe.c (renamed from src/fs/gnunet-service-fs_pe.c)0
-rw-r--r--src/service/fs/gnunet-service-fs_pe.h (renamed from src/fs/gnunet-service-fs_pe.h)0
-rw-r--r--src/service/fs/gnunet-service-fs_pr.c (renamed from src/fs/gnunet-service-fs_pr.c)0
-rw-r--r--src/service/fs/gnunet-service-fs_pr.h (renamed from src/fs/gnunet-service-fs_pr.h)0
-rw-r--r--src/service/fs/gnunet-service-fs_push.c (renamed from src/fs/gnunet-service-fs_push.c)0
-rw-r--r--src/service/fs/gnunet-service-fs_push.h (renamed from src/fs/gnunet-service-fs_push.h)0
-rw-r--r--src/service/fs/gnunet-service-fs_put.c (renamed from src/fs/gnunet-service-fs_put.c)0
-rw-r--r--src/service/fs/gnunet-service-fs_put.h (renamed from src/fs/gnunet-service-fs_put.h)0
-rw-r--r--src/service/fs/meson.build (renamed from src/fs/meson.build)0
-rw-r--r--src/service/fs/meta_data.c (renamed from src/fs/meta_data.c)0
-rw-r--r--src/service/fs/perf_gnunet_service_fs_p2p.c (renamed from src/fs/perf_gnunet_service_fs_p2p.c)0
-rw-r--r--src/service/fs/perf_gnunet_service_fs_p2p.conf (renamed from src/fs/perf_gnunet_service_fs_p2p.conf)0
-rw-r--r--src/service/fs/perf_gnunet_service_fs_p2p_respect.c (renamed from src/fs/perf_gnunet_service_fs_p2p_respect.c)0
-rw-r--r--src/service/fs/test_fs.c (renamed from src/fs/test_fs.c)0
-rw-r--r--src/service/fs/test_fs_data.conf (renamed from src/fs/test_fs_data.conf)0
-rw-r--r--src/service/fs/test_fs_defaults.conf (renamed from src/fs/test_fs_defaults.conf)0
-rw-r--r--src/service/fs/test_fs_directory.c (renamed from src/fs/test_fs_directory.c)0
-rw-r--r--src/service/fs/test_fs_download.c (renamed from src/fs/test_fs_download.c)0
-rw-r--r--src/service/fs/test_fs_download_data.conf (renamed from src/fs/test_fs_download_data.conf)0
-rw-r--r--src/service/fs/test_fs_download_indexed.conf (renamed from src/fs/test_fs_download_indexed.conf)0
-rw-r--r--src/service/fs/test_fs_download_persistence.c (renamed from src/fs/test_fs_download_persistence.c)0
-rw-r--r--src/service/fs/test_fs_file_information.c (renamed from src/fs/test_fs_file_information.c)0
-rw-r--r--src/service/fs/test_fs_file_information_data.conf (renamed from src/fs/test_fs_file_information_data.conf)0
-rw-r--r--src/service/fs/test_fs_getopt.c (renamed from src/fs/test_fs_getopt.c)0
-rw-r--r--src/service/fs/test_fs_list_indexed.c (renamed from src/fs/test_fs_list_indexed.c)0
-rw-r--r--src/service/fs/test_fs_list_indexed_data.conf (renamed from src/fs/test_fs_list_indexed_data.conf)0
-rw-r--r--src/service/fs/test_fs_meta_data.c (renamed from src/fs/test_fs_meta_data.c)0
-rw-r--r--src/service/fs/test_fs_namespace.c (renamed from src/fs/test_fs_namespace.c)0
-rw-r--r--src/service/fs/test_fs_namespace_data.conf (renamed from src/fs/test_fs_namespace_data.conf)0
-rw-r--r--src/service/fs/test_fs_namespace_list_updateable.c (renamed from src/fs/test_fs_namespace_list_updateable.c)0
-rw-r--r--src/service/fs/test_fs_publish.c (renamed from src/fs/test_fs_publish.c)0
-rw-r--r--src/service/fs/test_fs_publish_data.conf (renamed from src/fs/test_fs_publish_data.conf)0
-rw-r--r--src/service/fs/test_fs_publish_persistence.c (renamed from src/fs/test_fs_publish_persistence.c)0
-rw-r--r--src/service/fs/test_fs_search.c (renamed from src/fs/test_fs_search.c)0
-rw-r--r--src/service/fs/test_fs_search_data.conf (renamed from src/fs/test_fs_search_data.conf)0
-rw-r--r--src/service/fs/test_fs_search_persistence.c (renamed from src/fs/test_fs_search_persistence.c)0
-rw-r--r--src/service/fs/test_fs_search_probes.c (renamed from src/fs/test_fs_search_probes.c)0
-rw-r--r--src/service/fs/test_fs_search_with_and.c (renamed from src/fs/test_fs_search_with_and.c)0
-rw-r--r--src/service/fs/test_fs_start_stop.c (renamed from src/fs/test_fs_start_stop.c)0
-rw-r--r--src/service/fs/test_fs_test_lib.c (renamed from src/fs/test_fs_test_lib.c)0
-rw-r--r--src/service/fs/test_fs_unindex.c (renamed from src/fs/test_fs_unindex.c)0
-rw-r--r--src/service/fs/test_fs_unindex_data.conf (renamed from src/fs/test_fs_unindex_data.conf)0
-rw-r--r--src/service/fs/test_fs_unindex_persistence.c (renamed from src/fs/test_fs_unindex_persistence.c)0
-rw-r--r--src/service/fs/test_fs_uri.c (renamed from src/fs/test_fs_uri.c)0
-rw-r--r--src/service/fs/test_gnunet_fs_rec_data.tgz (renamed from src/fs/test_gnunet_fs_rec_data.tgz)bin17822 -> 17822 bytes
-rw-r--r--src/service/fs/test_gnunet_service_fs_migration.c (renamed from src/fs/test_gnunet_service_fs_migration.c)0
-rw-r--r--src/service/fs/test_gnunet_service_fs_migration_data.conf (renamed from src/fs/test_gnunet_service_fs_migration_data.conf)0
-rw-r--r--src/service/fs/test_gnunet_service_fs_p2p.c (renamed from src/fs/test_gnunet_service_fs_p2p.c)0
-rw-r--r--src/service/fs/test_gnunet_service_fs_p2p_cadet.conf (renamed from src/fs/test_gnunet_service_fs_p2p_cadet.conf)0
-rw-r--r--src/service/fs/test_plugin_block_fs.c (renamed from src/fs/test_plugin_block_fs.c)0
-rw-r--r--src/service/fs/test_pseudonym_data.conf (renamed from src/fs/test_pseudonym_data.conf)0
111 files changed, 156 insertions, 610 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 0d1607b6b..3631ff970 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -10,7 +10,6 @@ SUBDIRS = \
10 rest-plugin \ 10 rest-plugin \
11 cli \ 11 cli \
12 contrib \ 12 contrib \
13 fs \
14 exit \ 13 exit \
15 pt \ 14 pt \
16 reclaim \ 15 reclaim \
diff --git a/src/cli/Makefile.am b/src/cli/Makefile.am
index e968c0bce..950aab622 100644
--- a/src/cli/Makefile.am
+++ b/src/cli/Makefile.am
@@ -13,4 +13,5 @@ SUBDIRS = \
13 revocation \ 13 revocation \
14 vpn \ 14 vpn \
15 gns \ 15 gns \
16 fs \
16 cadet 17 cadet
diff --git a/src/cli/fs/.gitignore b/src/cli/fs/.gitignore
new file mode 100644
index 000000000..3ca8908d0
--- /dev/null
+++ b/src/cli/fs/.gitignore
@@ -0,0 +1,8 @@
1gnunet-unindex
2gnunet-auto-share
3gnunet-directory
4gnunet-download
5gnunet-fs
6gnunet-publish
7gnunet-search
8
diff --git a/src/cli/fs/Makefile.am b/src/cli/fs/Makefile.am
new file mode 100644
index 000000000..0d489dbe6
--- /dev/null
+++ b/src/cli/fs/Makefile.am
@@ -0,0 +1,107 @@
1# This Makefile.am is in the public domain
2AM_CPPFLAGS = -I$(top_srcdir)/src/include
3
4if USE_COVERAGE
5 AM_CFLAGS = --coverage -O0
6 XLIB = -lgcov
7endif
8
9pkgcfgdir= $(pkgdatadir)/config.d/
10
11libexecdir= $(pkglibdir)/libexec/
12
13bin_PROGRAMS = \
14 gnunet-auto-share \
15 gnunet-directory \
16 gnunet-download \
17 gnunet-publish \
18 gnunet-search \
19 gnunet-fs \
20 gnunet-unindex
21
22gnunet_directory_SOURCES = \
23 gnunet-directory.c
24gnunet_directory_LDADD = \
25 $(top_builddir)/src/service/fs/libgnunetfs.la \
26 $(top_builddir)/src/lib/util/libgnunetutil.la \
27 $(GN_LIBINTL)
28
29if HAVE_LIBEXTRACTOR
30gnunet_directory_LDADD += \
31 -lextractor
32endif
33
34gnunet_fs_SOURCES = \
35 gnunet-fs.c
36gnunet_fs_LDADD = \
37 $(top_builddir)/src/service/fs/libgnunetfs.la \
38 $(top_builddir)/src/lib/util/libgnunetutil.la \
39 $(GN_LIBINTL)
40
41if HAVE_LIBEXTRACTOR
42gnunet_fs_LDADD += \
43 -lextractor
44endif
45
46gnunet_download_SOURCES = \
47 gnunet-download.c
48gnunet_download_LDADD = \
49 $(top_builddir)/src/service/fs/libgnunetfs.la \
50 $(top_builddir)/src/lib/util/libgnunetutil.la \
51 $(GN_LIBINTL)
52
53gnunet_publish_SOURCES = \
54 gnunet-publish.c
55gnunet_publish_LDADD = \
56 $(top_builddir)/src/service/identity/libgnunetidentity.la \
57 $(top_builddir)/src/service/fs/libgnunetfs.la \
58 $(top_builddir)/src/lib/util/libgnunetutil.la \
59 $(GN_LIBINTL)
60
61if HAVE_LIBEXTRACTOR
62gnunet_publish_LDADD += \
63 -lextractor
64endif
65
66gnunet_auto_share_SOURCES = \
67 gnunet-auto-share.c
68gnunet_auto_share_LDADD = \
69 $(top_builddir)/src/lib/util/libgnunetutil.la \
70 $(GN_LIBINTL)
71
72if HAVE_LIBEXTRACTOR
73gnunet_auto_share_LDADD += \
74 -lextractor
75endif
76
77gnunet_helper_fs_publish_SOURCES = \
78 gnunet-helper-fs-publish.c
79gnunet_helper_fs_publish_LDADD = \
80 $(top_builddir)/src/service/fs/libgnunetfs.la \
81 $(top_builddir)/src/lib/util/libgnunetutil.la \
82 $(GN_LIBINTL)
83
84if HAVE_LIBEXTRACTOR
85gnunet_helper_fs_publish_LDADD += \
86 -lextractor
87endif
88
89gnunet_search_SOURCES = \
90 gnunet-search.c
91gnunet_search_LDADD = \
92 $(top_builddir)/src/service/fs/libgnunetfs.la \
93 $(top_builddir)/src/lib/util/libgnunetutil.la \
94 $(GN_LIBINTL)
95
96if HAVE_LIBEXTRACTOR
97gnunet_search_LDADD += \
98 -lextractor
99endif
100
101
102gnunet_unindex_SOURCES = \
103 gnunet-unindex.c
104gnunet_unindex_LDADD = \
105 $(top_builddir)/src/service/fs/libgnunetfs.la \
106 $(top_builddir)/src/lib/util/libgnunetutil.la \
107 $(GN_LIBINTL)
diff --git a/src/fs/gnunet-auto-share.c b/src/cli/fs/gnunet-auto-share.c
index f91e9d00d..f91e9d00d 100644
--- a/src/fs/gnunet-auto-share.c
+++ b/src/cli/fs/gnunet-auto-share.c
diff --git a/src/fs/gnunet-directory.c b/src/cli/fs/gnunet-directory.c
index ab9f2905a..ab9f2905a 100644
--- a/src/fs/gnunet-directory.c
+++ b/src/cli/fs/gnunet-directory.c
diff --git a/src/fs/gnunet-download.c b/src/cli/fs/gnunet-download.c
index 4694077e9..4694077e9 100644
--- a/src/fs/gnunet-download.c
+++ b/src/cli/fs/gnunet-download.c
diff --git a/src/fs/gnunet-fs.c b/src/cli/fs/gnunet-fs.c
index 21e3c4a40..21e3c4a40 100644
--- a/src/fs/gnunet-fs.c
+++ b/src/cli/fs/gnunet-fs.c
diff --git a/src/fs/gnunet-publish.c b/src/cli/fs/gnunet-publish.c
index 7a87130de..7a87130de 100644
--- a/src/fs/gnunet-publish.c
+++ b/src/cli/fs/gnunet-publish.c
diff --git a/src/fs/gnunet-search.c b/src/cli/fs/gnunet-search.c
index a72cf97cc..a72cf97cc 100644
--- a/src/fs/gnunet-search.c
+++ b/src/cli/fs/gnunet-search.c
diff --git a/src/fs/gnunet-unindex.c b/src/cli/fs/gnunet-unindex.c
index 326f75a63..326f75a63 100644
--- a/src/fs/gnunet-unindex.c
+++ b/src/cli/fs/gnunet-unindex.c
diff --git a/src/fs/test_gnunet_fs_idx.py.in b/src/fs/test_gnunet_fs_idx.py.in
deleted file mode 100755
index 564dd68f2..000000000
--- a/src/fs/test_gnunet_fs_idx.py.in
+++ /dev/null
@@ -1,113 +0,0 @@
1#!@PYTHONEXE@
2# This file is part of GNUnet.
3# (C) 2010 Christian Grothoff (and other contributing authors)
4#
5# GNUnet is free software: you can redistribute it and/or modify it
6# under the terms of the GNU Affero General Public License as published
7# by the Free Software Foundation, either version 3 of the License,
8# or (at your option) any later version.
9#
10# GNUnet is distributed in the hope that it will be useful, but
11# WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13# Affero General Public License for more details.
14#
15# You should have received a copy of the GNU Affero General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.
17#
18# SPDX-License-Identifier: AGPL3.0-or-later
19#
20# Testcase for file-sharing command-line tools (indexing and unindexing)
21import sys
22import os
23import subprocess
24import re
25import shutil
26
27srcdir = "../.."
28gnunet_pyexpect_dir = os.path.join(srcdir, "contrib/scripts")
29if gnunet_pyexpect_dir not in sys.path:
30 sys.path.append(gnunet_pyexpect_dir)
31
32from gnunet_pyexpect import pexpect
33
34if os.name == 'posix':
35 download = './gnunet-download'
36 gnunetarm = 'gnunet-arm'
37 publish = './gnunet-publish'
38 unindex = './gnunet-unindex'
39elif os.name == 'nt':
40 download = './gnunet-download.exe'
41 gnunetarm = 'gnunet-arm.exe'
42 publish = './gnunet-publish.exe'
43 unindex = './gnunet-unindex.exe'
44
45if os.name == "nt":
46 shutil.rmtree(
47 os.path.join(os.getenv("TEMP"), "gnunet-test-fs-py-idx"), True
48 )
49else:
50 shutil.rmtree("/tmp/gnunet-test-fs-py-idx", True)
51
52arm = subprocess.Popen([gnunetarm, '-sq', '-c', 'test_gnunet_fs_idx_data.conf'])
53arm.communicate()
54
55try:
56 pub = pexpect()
57
58 pub.spawn(
59 None, [
60 publish, '-c', 'test_gnunet_fs_idx_data.conf', '-m',
61 "description:Test archive", '-k', 'tst',
62 'test_gnunet_fs_rec_data.tgz'
63 ],
64 stdout=subprocess.PIPE,
65 stderr=subprocess.STDOUT
66 )
67 pub.expect(
68 "stdout",
69 re.compile(
70 r"URI is `gnunet://fs/chk/2ZMHKPV74CB6GB1GFKQRR95BXJQA2SER25FN48GAW7WSBPA0GDEM5Y74V1ZJHM0NA6919TVW376BHTFDRE3RYS0KRY92M1QJVKPHFCR\.49BT3V5C10KA1695JF71FCT8ZZG4JMJSH04BD9CT22R6KEM915A7CEST17RD0QYTHXV5M4HHEGJMEZSFRDB7JAYC0EMJAN2V781E9DG\.17822'\.\r?\n"
71 )
72 )
73
74 down = pexpect()
75 down.spawn(
76 None, [
77 download, '-c', 'test_gnunet_fs_idx_data.conf', '-o',
78 'test_gnunet_fs_rec_data.tar.gz',
79 'gnunet://fs/chk/2ZMHKPV74CB6GB1GFKQRR95BXJQA2SER25FN48GAW7WSBPA0GDEM5Y74V1ZJHM0NA6919TVW376BHTFDRE3RYS0KRY92M1QJVKPHFCR.49BT3V5C10KA1695JF71FCT8ZZG4JMJSH04BD9CT22R6KEM915A7CEST17RD0QYTHXV5M4HHEGJMEZSFRDB7JAYC0EMJAN2V781E9DG.17822'
80 ],
81 stdout=subprocess.PIPE,
82 stderr=subprocess.STDOUT
83 )
84 down.expect(
85 "stdout",
86 re.compile(
87 r"Downloading `test_gnunet_fs_rec_data.tar.gz' done (.*).\r?\n"
88 )
89 )
90 os.remove("test_gnunet_fs_rec_data.tar.gz")
91
92 un = pexpect()
93 un.spawn(
94 None, [
95 unindex, '-c', 'test_gnunet_fs_idx_data.conf',
96 'test_gnunet_fs_rec_data.tgz'
97 ],
98 stdout=subprocess.PIPE,
99 stderr=subprocess.STDOUT
100 )
101 un.expect("stdout", re.compile(r'Unindexing done\.\r?\n'))
102
103finally:
104 arm = subprocess.Popen([
105 gnunetarm, '-eq', '-c', 'test_gnunet_fs_idx_data.conf'
106 ])
107 arm.communicate()
108 if os.name == "nt":
109 shutil.rmtree(
110 os.path.join(os.getenv("TEMP"), "gnunet-test-fs-py-idx"), True
111 )
112 else:
113 shutil.rmtree("/tmp/gnunet-test-fs-py-idx", True)
diff --git a/src/fs/test_gnunet_fs_idx_data.conf b/src/fs/test_gnunet_fs_idx_data.conf
deleted file mode 100644
index ba2a872dd..000000000
--- a/src/fs/test_gnunet_fs_idx_data.conf
+++ /dev/null
@@ -1,7 +0,0 @@
1@INLINE@ test_fs_defaults.conf
2[PATHS]
3GNUNET_TEST_HOME = $GNUNET_TMP/gnunet-test-fs-py-idx/
4
5[transport]
6PLUGINS =
7
diff --git a/src/fs/test_gnunet_fs_psd.py.in b/src/fs/test_gnunet_fs_psd.py.in
deleted file mode 100755
index a25e4eaef..000000000
--- a/src/fs/test_gnunet_fs_psd.py.in
+++ /dev/null
@@ -1,149 +0,0 @@
1#!@PYTHONEXE@
2# This file is part of GNUnet.
3# (C) 2010, 2018 Christian Grothoff (and other contributing authors)
4#
5# GNUnet is free software: you can redistribute it and/or modify it
6# under the terms of the GNU Affero General Public License as published
7# by the Free Software Foundation, either version 3 of the License,
8# or (at your option) any later version.
9#
10# GNUnet is distributed in the hope that it will be useful, but
11# WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13# Affero General Public License for more details.
14#
15# You should have received a copy of the GNU Affero General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.
17#
18# SPDX-License-Identifier: AGPL3.0-or-later
19#
20# Testcase for file-sharing command-line tools (publish, search, download)
21
22import sys
23import os
24import subprocess
25import re
26import shutil
27try:
28 # Python 2.7
29 reload
30except NameError:
31 try:
32 # Python 3.4+:
33 from importlib import reload
34 except ImportError:
35 # Python 3.0 - 3.3
36 from imp import reload
37
38reload(sys)
39
40# Force encoding to utf-8, as this test otherwise fails
41# on some systems (see #5094). In Python 3+ there is no attribute
42# sys.setdefaultencoding anymore.
43if (3 < sys.version_info[0]):
44 sys.setdefaultencoding('utf8')
45
46srcdir = "../.."
47gnunet_pyexpect_dir = os.path.join(srcdir, "contrib/scripts")
48if gnunet_pyexpect_dir not in sys.path:
49 sys.path.append(gnunet_pyexpect_dir)
50
51from gnunet_pyexpect import pexpect
52
53if os.name == 'posix':
54 download = './gnunet-download'
55 gnunetarm = 'gnunet-arm'
56 publish = './gnunet-publish'
57 unindex = './gnunet-unindex'
58 search = './gnunet-search'
59elif os.name == 'nt':
60 download = './gnunet-download.exe'
61 gnunetarm = 'gnunet-arm.exe'
62 publish = './gnunet-publish.exe'
63 unindex = './gnunet-unindex.exe'
64 search = './gnunet-search.exe'
65
66if "GNUNET_PREFIX" in os.environ:
67 pass
68else:
69 print("You need to export GNUNET_PREFIX")
70 sys.exit(1)
71
72if os.name == "nt":
73 shutil.rmtree(
74 os.path.join(os.getenv("TEMP"), "gnunet-test-fs-py-psd"), True
75 )
76else:
77 shutil.rmtree("/tmp/gnunet-test-fs-py-psd", True)
78
79arm = subprocess.Popen([gnunetarm, '-sq', '-c', 'test_gnunet_fs_psd_data.conf'])
80arm.communicate()
81
82# first, basic publish-search-download run
83try:
84 pub = pexpect()
85 pub.spawn(
86 None, [
87 publish, '-c', 'test_gnunet_fs_psd_data.conf', '-n', '-m',
88 "description:Test archive", '-k', 'tst',
89 'test_gnunet_fs_rec_data.tgz'
90 ],
91 stdout=subprocess.PIPE,
92 stderr=subprocess.STDOUT
93 )
94 pub.expect(
95 "stdout",
96 re.compile(r"Publishing `.+test_gnunet_fs_rec_data.tgz' done\.\r?\n")
97 )
98 pub.expect(
99 "stdout",
100 re.compile(
101 r"URI is `gnunet://fs/chk/2ZMHKPV74CB6GB1GFKQRR95BXJQA2SER25FN48GAW7WSBPA0GDEM5Y74V1ZJHM0NA6919TVW376BHTFDRE3RYS0KRY92M1QJVKPHFCR\.49BT3V5C10KA1695JF71FCT8ZZG4JMJSH04BD9CT22R6KEM915A7CEST17RD0QYTHXV5M4HHEGJMEZSFRDB7JAYC0EMJAN2V781E9DG\.17822'\.\r?\n"
102 )
103 )
104
105 s = pexpect()
106 s.spawn(
107 None, [
108 search, '-V', '-t', '1000 ms', '-N', '1', '-c',
109 'test_gnunet_fs_psd_data.conf', 'tst'
110 ],
111 stdout=subprocess.PIPE,
112 stderr=subprocess.STDOUT
113 )
114 s.expect(
115 "stdout",
116 re.compile(
117 r'gnunet-download -o "test_gnunet_fs_rec_data.tgz" gnunet://fs/chk/2ZMHKPV74CB6GB1GFKQRR95BXJQA2SER25FN48GAW7WSBPA0GDEM5Y74V1ZJHM0NA6919TVW376BHTFDRE3RYS0KRY92M1QJVKPHFCR\.49BT3V5C10KA1695JF71FCT8ZZG4JMJSH04BD9CT22R6KEM915A7CEST17RD0QYTHXV5M4HHEGJMEZSFRDB7JAYC0EMJAN2V781E9DG\.17822\r?\n'
118 )
119 )
120
121 down = pexpect()
122 down.spawn(
123 None, [
124 download, '-c', 'test_gnunet_fs_psd_data.conf', '-o',
125 'test_gnunet_fs_rec_data.tar.gz',
126 'gnunet://fs/chk/2ZMHKPV74CB6GB1GFKQRR95BXJQA2SER25FN48GAW7WSBPA0GDEM5Y74V1ZJHM0NA6919TVW376BHTFDRE3RYS0KRY92M1QJVKPHFCR.49BT3V5C10KA1695JF71FCT8ZZG4JMJSH04BD9CT22R6KEM915A7CEST17RD0QYTHXV5M4HHEGJMEZSFRDB7JAYC0EMJAN2V781E9DG.17822'
127 ],
128 stdout=subprocess.PIPE,
129 stderr=subprocess.STDOUT
130 )
131 down.expect(
132 "stdout",
133 re.compile(
134 r"Downloading `test_gnunet_fs_rec_data.tar.gz' done (.*).\r?\n"
135 )
136 )
137 os.remove("test_gnunet_fs_rec_data.tar.gz")
138
139finally:
140 arm = subprocess.Popen([
141 gnunetarm, '-eq', '-c', 'test_gnunet_fs_psd_data.conf'
142 ])
143 arm.communicate()
144 if os.name == "nt":
145 shutil.rmtree(
146 os.path.join(os.getenv("TEMP"), "gnunet-test-fs-py-psd"), True
147 )
148 else:
149 shutil.rmtree("/tmp/gnunet-test-fs-py-psd", True)
diff --git a/src/fs/test_gnunet_fs_psd_data.conf b/src/fs/test_gnunet_fs_psd_data.conf
deleted file mode 100644
index f6c05ecdd..000000000
--- a/src/fs/test_gnunet_fs_psd_data.conf
+++ /dev/null
@@ -1,7 +0,0 @@
1@INLINE@ test_fs_defaults.conf
2[PATHS]
3GNUNET_TEST_HOME = $GNUNET_TMP/gnunet-test-fs-py-psd/
4
5[transport]
6PLUGINS =
7
diff --git a/src/fs/test_gnunet_fs_rec.py.in b/src/fs/test_gnunet_fs_rec.py.in
deleted file mode 100755
index f7e84e3da..000000000
--- a/src/fs/test_gnunet_fs_rec.py.in
+++ /dev/null
@@ -1,171 +0,0 @@
1#!@PYTHONEXE@
2# This file is part of GNUnet.
3# (C) 2010 Christian Grothoff (and other contributing authors)
4#
5# GNUnet is free software: you can redistribute it and/or modify it
6# under the terms of the GNU Affero General Public License as published
7# by the Free Software Foundation, either version 3 of the License,
8# or (at your option) any later version.
9#
10# GNUnet is distributed in the hope that it will be useful, but
11# WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13# Affero General Public License for more details.
14#
15# You should have received a copy of the GNU Affero General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.
17#
18# SPDX-License-Identifier: AGPL3.0-or-later
19#
20# Testcase for file-sharing command-line tools (recursive publishing & download)
21import sys
22import os
23import subprocess
24import re
25import shutil
26import tarfile
27import filecmp
28
29srcdir = "../.."
30gnunet_pyexpect_dir = os.path.join(srcdir, "contrib/scripts")
31if gnunet_pyexpect_dir not in sys.path:
32 sys.path.append(gnunet_pyexpect_dir)
33
34from gnunet_pyexpect import pexpect
35from pydiffer import dcdiff
36
37if os.name == 'posix':
38 download = './gnunet-download'
39 gnunetarm = 'gnunet-arm'
40 publish = './gnunet-publish'
41 unindex = './gnunet-unindex'
42 search = './gnunet-search'
43 directory = './gnunet-directory'
44elif os.name == 'nt':
45 download = './gnunet-download.exe'
46 gnunetarm = 'gnunet-arm.exe'
47 publish = './gnunet-publish.exe'
48 unindex = './gnunet-unindex.exe'
49 search = './gnunet-search.exe'
50 directory = './gnunet-directory.exe'
51
52if os.name == "nt":
53 shutil.rmtree(
54 os.path.join(os.getenv("TEMP"), "gnunet-test-fs-py-rec"), True
55 )
56else:
57 shutil.rmtree("/tmp/gnunet-test-fs-py-rec", True)
58
59arm = subprocess.Popen([gnunetarm, '-sq', '-c', 'test_gnunet_fs_rec_data.conf'])
60arm.communicate()
61
62tar = tarfile.open('test_gnunet_fs_rec_data.tgz')
63tar.extractall()
64# first, basic publish-search-download run
65try:
66 pub = pexpect()
67 pub.spawn(
68 None, [
69 publish, '-c', 'test_gnunet_fs_rec_data.conf', '-k', 'testdir',
70 'dir/'
71 ],
72 stdout=subprocess.PIPE,
73 stderr=subprocess.STDOUT
74 )
75 # Can't say much for publishing, except that the last one is the toplevel directory
76 pub.expect("stdout", re.compile(r"Publishing `.+' done\.\r?\n"))
77 pub.expect(
78 "stdout",
79 re.compile(
80 r"URI is `gnunet://fs/chk/[A-Z0-9]{103}\.[A-Z0-9]{103}\.\d+'\.\r?\n"
81 )
82 )
83 pub.expect("stdout", re.compile(r"Publishing `.+' done\.\r?\n"))
84 pub.expect(
85 "stdout",
86 re.compile(
87 r"URI is `gnunet://fs/chk/[A-Z0-9]{103}\.[A-Z0-9]{103}\.\d+'\.\r?\n"
88 )
89 )
90 pub.expect("stdout", re.compile(r"Publishing `.+' done\.\r?\n"))
91 pub.expect(
92 "stdout",
93 re.compile(
94 r"URI is `gnunet://fs/chk/[A-Z0-9]{103}\.[A-Z0-9]{103}\.\d+'\.\r?\n"
95 )
96 )
97 pub.expect("stdout", re.compile(r"Publishing `.+' done\.\r?\n"))
98 pub.expect(
99 "stdout",
100 re.compile(
101 r"URI is `gnunet://fs/chk/[A-Z0-9]{103}\.[A-Z0-9]{103}\.\d+'\.\r?\n"
102 )
103 )
104 pub.expect("stdout", re.compile(r"Publishing `.+' done\.\r?\n"))
105 pub.expect(
106 "stdout",
107 re.compile(
108 r"URI is `gnunet://fs/chk/[A-Z0-9]{103}\.[A-Z0-9]{103}\.\d+'\.\r?\n"
109 )
110 )
111 pub.expect("stdout", re.compile(r"Publishing `.+' done\.\r?\n"))
112 pub.expect(
113 "stdout",
114 re.compile(
115 r"URI is `gnunet://fs/chk/[A-Z0-9]{103}\.[A-Z0-9]{103}\.\d+'\.\r?\n"
116 )
117 )
118 pub.expect(
119 "stdout", re.compile(r"Publishing `.+[\\/]dir[\\/]' done\.\r?\n")
120 )
121 m = pub.expect("stdout", re.compile(r".+\r?\n"))
122 if not m:
123 sys.exit(3)
124 output = m.string
125 url = output[output.find("`") + 1:output.find("'")]
126
127 down = pexpect()
128 down.spawn(
129 None, [
130 download, '-c', 'test_gnunet_fs_rec_data.conf', '-R', '-o',
131 'rdir.gnd', url
132 ],
133 stdout=subprocess.PIPE,
134 stderr=subprocess.STDOUT
135 )
136 down.expect("stdout", re.compile(r"Downloading `rdir.gnd' done (.*).\r?\n"))
137
138 d = pexpect()
139 d.spawn(
140 None, [directory, '-c', 'test_gnunet_fs_rec_data.conf', 'rdir/a.gnd'],
141 stdout=subprocess.PIPE,
142 stderr=subprocess.STDOUT
143 )
144 d.expect("stdout", re.compile(r"Directory `a/' meta data:\r?\n"))
145 d.expect("stdout", re.compile(r"Directory `a/' contents:\r?\n"))
146 d.expect("stdout", re.compile(r"COPYING (.*)\r?\n"))
147 d.expect("stdout", re.compile(r"INSTALL (.*)\r?\n"))
148
149 os.remove("rdir/b.gnd")
150 os.remove("rdir/a.gnd")
151 diff = dcdiff('dir', 'rdir')
152 if len(diff) != 0:
153 raise Exception(
154 "Unexpected difference between source directory and downloaded result:\n{}"
155 .format(diff)
156 )
157
158finally:
159 arm = subprocess.Popen([
160 gnunetarm, '-eq', '-c', 'test_gnunet_fs_rec_data.conf'
161 ])
162 arm.communicate()
163 if os.name == "nt":
164 shutil.rmtree(
165 os.path.join(os.getenv("TEMP"), "gnunet-test-fs-py-rec"), True
166 )
167 else:
168 shutil.rmtree("/tmp/gnunet-test-fs-py-rec", True)
169 shutil.rmtree("dir", True)
170 shutil.rmtree("rdir", True)
171 shutil.rmtree("rdir.gnd", True)
diff --git a/src/fs/test_gnunet_fs_rec_data.conf b/src/fs/test_gnunet_fs_rec_data.conf
deleted file mode 100644
index 82ddb8f49..000000000
--- a/src/fs/test_gnunet_fs_rec_data.conf
+++ /dev/null
@@ -1,7 +0,0 @@
1@INLINE@ test_fs_defaults.conf
2[PATHS]
3GNUNET_TEST_HOME = $GNUNET_TMP/gnunet-test-fs-py-rec/
4
5[transport]
6PLUGINS =
7
diff --git a/src/plugin/Makefile.am b/src/plugin/Makefile.am
index 5b1464d89..574c57639 100644
--- a/src/plugin/Makefile.am
+++ b/src/plugin/Makefile.am
@@ -5,4 +5,5 @@ SUBDIRS = \
5 namecache \ 5 namecache \
6 namestore \ 6 namestore \
7 revocation \ 7 revocation \
8 gns 8 gns \
9 fs
diff --git a/src/plugin/fs/Makefile.am b/src/plugin/fs/Makefile.am
new file mode 100644
index 000000000..928997e4d
--- /dev/null
+++ b/src/plugin/fs/Makefile.am
@@ -0,0 +1,36 @@
1# This Makefile.am is in the public domain
2AM_CPPFLAGS = -I$(top_srcdir)/src/include
3
4if USE_COVERAGE
5 AM_CFLAGS = --coverage -O0
6 XLIB = -lgcov
7endif
8
9pkgcfgdir= $(pkgdatadir)/config.d/
10
11libexecdir= $(pkglibdir)/libexec/
12
13plugindir = $(libdir)/gnunet
14
15plugin_LTLIBRARIES = \
16 libgnunet_plugin_block_fs.la
17
18libgnunet_plugin_block_fs_la_SOURCES = \
19 plugin_block_fs.c
20libgnunet_plugin_block_fs_la_LIBADD = \
21 $(top_builddir)/src/lib/block/libgnunetblockgroup.la \
22 $(top_builddir)/src/lib/block/libgnunetblock.la \
23 $(top_builddir)/src/service/fs/libgnunetfs.la \
24 $(top_builddir)/src/lib/util/libgnunetutil.la \
25 $(LTLIBINTL)
26libgnunet_plugin_block_fs_la_LDFLAGS = \
27 $(GN_PLUGIN_LDFLAGS)
28
29check_PROGRAMS = \
30 test_plugin_block_fs
31
32test_plugin_block_fs_SOURCES = \
33 test_plugin_block_fs.c
34test_plugin_block_fs_LDADD = \
35 $(top_builddir)/src/lib/block/libgnunetblock.la \
36 $(top_builddir)/src/lib/util/libgnunetutil.la
diff --git a/src/fs/plugin_block_fs.c b/src/plugin/fs/plugin_block_fs.c
index bbd0ff57b..bbd0ff57b 100644
--- a/src/fs/plugin_block_fs.c
+++ b/src/plugin/fs/plugin_block_fs.c
diff --git a/src/service/Makefile.am b/src/service/Makefile.am
index 34ae7945f..ff17f89a2 100644
--- a/src/service/Makefile.am
+++ b/src/service/Makefile.am
@@ -26,5 +26,6 @@ SUBDIRS = \
26 revocation \ 26 revocation \
27 vpn \ 27 vpn \
28 gns \ 28 gns \
29 zonemaster 29 zonemaster \
30 fs
30 31
diff --git a/src/fs/.gitignore b/src/service/fs/.gitignore
index f0e2a4f7b..f3637f186 100644
--- a/src/fs/.gitignore
+++ b/src/service/fs/.gitignore
@@ -1,13 +1,6 @@
1gnunet-unindex
2gnunet-auto-share
3gnunet-daemon-fsprofiler 1gnunet-daemon-fsprofiler
4gnunet-directory
5gnunet-download
6gnunet-fs
7gnunet-fs-profiler 2gnunet-fs-profiler
8gnunet-helper-fs-publish 3gnunet-helper-fs-publish
9gnunet-publish
10gnunet-search
11gnunet-service-fs 4gnunet-service-fs
12test_fs_directory 5test_fs_directory
13test_fs_download 6test_fs_download
diff --git a/src/fs/Makefile.am b/src/service/fs/Makefile.am
index 38d75c0dc..93c8814ca 100644
--- a/src/fs/Makefile.am
+++ b/src/service/fs/Makefile.am
@@ -13,14 +13,8 @@ libexecdir= $(pkglibdir)/libexec/
13pkgcfg_DATA = \ 13pkgcfg_DATA = \
14 fs.conf 14 fs.conf
15 15
16plugindir = $(libdir)/gnunet
17
18
19lib_LTLIBRARIES = libgnunetfs.la 16lib_LTLIBRARIES = libgnunetfs.la
20 17
21plugin_LTLIBRARIES = \
22 libgnunet_plugin_block_fs.la
23
24libgnunetfs_la_SOURCES = \ 18libgnunetfs_la_SOURCES = \
25 fs_api.c fs_api.h fs.h \ 19 fs_api.c fs_api.h fs.h \
26 fs_directory.c \ 20 fs_directory.c \
@@ -64,70 +58,6 @@ libexec_PROGRAMS = \
64noinst_PROGRAMS = \ 58noinst_PROGRAMS = \
65 gnunet-daemon-fsprofiler 59 gnunet-daemon-fsprofiler
66 60
67bin_PROGRAMS = \
68 gnunet-auto-share \
69 gnunet-directory \
70 gnunet-download \
71 gnunet-publish \
72 gnunet-search \
73 gnunet-fs \
74 gnunet-unindex
75
76gnunet_directory_SOURCES = \
77 gnunet-directory.c
78gnunet_directory_LDADD = \
79 libgnunetfs.la \
80 $(top_builddir)/src/lib/util/libgnunetutil.la \
81 $(GN_LIBINTL)
82
83if HAVE_LIBEXTRACTOR
84gnunet_directory_LDADD += \
85 -lextractor
86endif
87
88gnunet_fs_SOURCES = \
89 gnunet-fs.c
90gnunet_fs_LDADD = \
91 libgnunetfs.la \
92 $(top_builddir)/src/lib/util/libgnunetutil.la \
93 $(GN_LIBINTL)
94
95if HAVE_LIBEXTRACTOR
96gnunet_fs_LDADD += \
97 -lextractor
98endif
99
100gnunet_download_SOURCES = \
101 gnunet-download.c
102gnunet_download_LDADD = \
103 libgnunetfs.la \
104 $(top_builddir)/src/lib/util/libgnunetutil.la \
105 $(GN_LIBINTL)
106
107gnunet_publish_SOURCES = \
108 gnunet-publish.c
109gnunet_publish_LDADD = \
110 $(top_builddir)/src/service/identity/libgnunetidentity.la \
111 libgnunetfs.la \
112 $(top_builddir)/src/lib/util/libgnunetutil.la \
113 $(GN_LIBINTL)
114
115if HAVE_LIBEXTRACTOR
116gnunet_publish_LDADD += \
117 -lextractor
118endif
119
120gnunet_auto_share_SOURCES = \
121 gnunet-auto-share.c
122gnunet_auto_share_LDADD = \
123 $(top_builddir)/src/lib/util/libgnunetutil.la \
124 $(GN_LIBINTL)
125
126if HAVE_LIBEXTRACTOR
127gnunet_auto_share_LDADD += \
128 -lextractor
129endif
130
131gnunet_helper_fs_publish_SOURCES = \ 61gnunet_helper_fs_publish_SOURCES = \
132 gnunet-helper-fs-publish.c 62 gnunet-helper-fs-publish.c
133gnunet_helper_fs_publish_LDADD = \ 63gnunet_helper_fs_publish_LDADD = \
@@ -140,19 +70,6 @@ gnunet_helper_fs_publish_LDADD += \
140 -lextractor 70 -lextractor
141endif 71endif
142 72
143gnunet_search_SOURCES = \
144 gnunet-search.c
145gnunet_search_LDADD = \
146 libgnunetfs.la \
147 $(top_builddir)/src/lib/util/libgnunetutil.la \
148 $(GN_LIBINTL)
149
150if HAVE_LIBEXTRACTOR
151gnunet_search_LDADD += \
152 -lextractor
153endif
154
155
156gnunet_daemon_fsprofiler_SOURCES = \ 73gnunet_daemon_fsprofiler_SOURCES = \
157 gnunet-daemon-fsprofiler.c 74 gnunet-daemon-fsprofiler.c
158gnunet_daemon_fsprofiler_LDADD = \ 75gnunet_daemon_fsprofiler_LDADD = \
@@ -183,26 +100,7 @@ gnunet_service_fs_LDADD = \
183 $(top_builddir)/src/service/peerstore/libgnunetpeerstore.la \ 100 $(top_builddir)/src/service/peerstore/libgnunetpeerstore.la \
184 $(GN_LIBINTL) -lm 101 $(GN_LIBINTL) -lm
185 102
186gnunet_unindex_SOURCES = \
187 gnunet-unindex.c
188gnunet_unindex_LDADD = \
189 libgnunetfs.la \
190 $(top_builddir)/src/lib/util/libgnunetutil.la \
191 $(GN_LIBINTL)
192
193libgnunet_plugin_block_fs_la_SOURCES = \
194 plugin_block_fs.c
195libgnunet_plugin_block_fs_la_LIBADD = \
196 $(top_builddir)/src/lib/block/libgnunetblockgroup.la \
197 $(top_builddir)/src/lib/block/libgnunetblock.la \
198 libgnunetfs.la \
199 $(top_builddir)/src/lib/util/libgnunetutil.la \
200 $(LTLIBINTL)
201libgnunet_plugin_block_fs_la_LDFLAGS = \
202 $(GN_PLUGIN_LDFLAGS)
203
204check_PROGRAMS = \ 103check_PROGRAMS = \
205 test_plugin_block_fs \
206 test_fs_directory \ 104 test_fs_directory \
207 test_fs_download \ 105 test_fs_download \
208 test_fs_download_cadet \ 106 test_fs_download_cadet \
@@ -228,24 +126,6 @@ check_PROGRAMS = \
228 test_gnunet_service_fs_migration \ 126 test_gnunet_service_fs_migration \
229 $(FS_BENCHMARKS) 127 $(FS_BENCHMARKS)
230 128
231test_plugin_block_fs_SOURCES = \
232 test_plugin_block_fs.c
233test_plugin_block_fs_LDADD = \
234 $(top_builddir)/src/lib/block/libgnunetblock.la \
235 $(top_builddir)/src/lib/util/libgnunetutil.la
236
237if HAVE_PYTHON
238check_SCRIPTS = \
239 test_gnunet_fs_rec.py \
240 test_gnunet_fs_idx.py
241
242if HAVE_LIBEXTRACTOR
243check_SCRIPTS += \
244 test_gnunet_fs_psd.py
245endif
246endif
247
248
249if ENABLE_TEST_RUN 129if ENABLE_TEST_RUN
250AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; 130AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
251TESTS = test_fs_directory \ 131TESTS = test_fs_directory \
@@ -259,7 +139,6 @@ TESTS = test_fs_directory \
259 test_fs_start_stop \ 139 test_fs_start_stop \
260 test_fs_uri \ 140 test_fs_uri \
261 test_fs_meta_data 141 test_fs_meta_data
262 # $(check_SCRIPTS)
263endif 142endif
264 143
265 144
@@ -487,23 +366,6 @@ test_fs_uri_LDADD = \
487# libgnunetfs.la \ 366# libgnunetfs.la \
488# $(top_builddir)/src/lib/util/libgnunetutil.la 367# $(top_builddir)/src/lib/util/libgnunetutil.la
489 368
490test_gnunet_fs_psd.py: test_gnunet_fs_psd.py.in Makefile
491 $(AWK) -v bdir="$(bindir)" -v py="$(PYTHON)" -v awkay="$(AWK_BINARY)" -v pfx="$(prefix)" -v prl="$(PERL)" -v sysconfdirectory="$(sysconfdir)" -v pkgdatadirectory="$(pkgdatadir)" -f $(top_srcdir)/bin/dosubst.awk < $(srcdir)/test_gnunet_fs_psd.py.in > test_gnunet_fs_psd.py
492 chmod +x test_gnunet_fs_psd.py
493
494test_gnunet_fs_rec.py: test_gnunet_fs_rec.py.in Makefile
495 $(AWK) -v bdir="$(bindir)" -v py="$(PYTHON)" -v awkay="$(AWK_BINARY)" -v pfx="$(prefix)" -v prl="$(PERL)" -v sysconfdirectory="$(sysconfdir)" -v pkgdatadirectory="$(pkgdatadir)" -f $(top_srcdir)/bin/dosubst.awk < $(srcdir)/test_gnunet_fs_rec.py.in > test_gnunet_fs_rec.py
496 chmod +x test_gnunet_fs_rec.py
497
498test_gnunet_fs_ns.py: test_gnunet_fs_ns.py.in Makefile
499 $(AWK) -v bdir="$(bindir)" -v py="$(PYTHON)" -v awkay="$(AWK_BINARY)" -v pfx="$(prefix)" -v prl="$(PERL)" -v sysconfdirectory="$(sysconfdir)" -v pkgdatadirectory="$(pkgdatadir)" -f $(top_srcdir)/bin/dosubst.awk < $(srcdir)/test_gnunet_fs_ns.py.in > test_gnunet_fs_ns.py
500 chmod +x test_gnunet_fs_ns.py
501
502test_gnunet_fs_idx.py: test_gnunet_fs_idx.py.in Makefile
503 $(AWK) -v bdir="$(bindir)" -v py="$(PYTHON)" -v awkay="$(AWK_BINARY)" -v pfx="$(prefix)" -v prl="$(PERL)" -v sysconfdirectory="$(sysconfdir)" -v pkgdatadirectory="$(pkgdatadir)" -f $(top_srcdir)/bin/dosubst.awk < $(srcdir)/test_gnunet_fs_idx.py.in > test_gnunet_fs_idx.py
504 chmod +x test_gnunet_fs_idx.py
505
506
507EXTRA_DIST = \ 369EXTRA_DIST = \
508 fs_test_lib_data.conf \ 370 fs_test_lib_data.conf \
509 perf_gnunet_service_fs_p2p.conf \ 371 perf_gnunet_service_fs_p2p.conf \
@@ -517,15 +379,7 @@ EXTRA_DIST = \
517 test_fs_publish_data.conf \ 379 test_fs_publish_data.conf \
518 test_fs_search_data.conf \ 380 test_fs_search_data.conf \
519 test_fs_unindex_data.conf \ 381 test_fs_unindex_data.conf \
520 test_gnunet_fs_idx_data.conf \
521 test_gnunet_fs_psd_data.conf \
522 test_gnunet_fs_rec_data.conf \
523 test_gnunet_fs_rec_data.tgz \ 382 test_gnunet_fs_rec_data.tgz \
524 test_gnunet_fs_psd.py.in \
525 test_gnunet_fs_rec.py.in \
526 test_gnunet_fs_idx.py.in \
527 test_gnunet_service_fs_migration_data.conf \ 383 test_gnunet_service_fs_migration_data.conf \
528 test_gnunet_service_fs_p2p_cadet.conf \ 384 test_gnunet_service_fs_p2p_cadet.conf \
529 test_pseudonym_data.conf 385 test_pseudonym_data.conf
530
531CLEANFILES = $(check_SCRIPTS)
diff --git a/src/fs/fs.conf.in b/src/service/fs/fs.conf.in
index be02619bf..be02619bf 100644
--- a/src/fs/fs.conf.in
+++ b/src/service/fs/fs.conf.in
diff --git a/src/fs/fs.h b/src/service/fs/fs.h
index c3bae65d2..c3bae65d2 100644
--- a/src/fs/fs.h
+++ b/src/service/fs/fs.h
diff --git a/src/fs/fs_api.c b/src/service/fs/fs_api.c
index 627c58004..627c58004 100644
--- a/src/fs/fs_api.c
+++ b/src/service/fs/fs_api.c
diff --git a/src/fs/fs_api.h b/src/service/fs/fs_api.h
index fdda91928..fdda91928 100644
--- a/src/fs/fs_api.h
+++ b/src/service/fs/fs_api.h
diff --git a/src/fs/fs_directory.c b/src/service/fs/fs_directory.c
index c693f9216..c693f9216 100644
--- a/src/fs/fs_directory.c
+++ b/src/service/fs/fs_directory.c
diff --git a/src/fs/fs_dirmetascan.c b/src/service/fs/fs_dirmetascan.c
index 2379e29ce..2379e29ce 100644
--- a/src/fs/fs_dirmetascan.c
+++ b/src/service/fs/fs_dirmetascan.c
diff --git a/src/fs/fs_download.c b/src/service/fs/fs_download.c
index 2a21e4810..2a21e4810 100644
--- a/src/fs/fs_download.c
+++ b/src/service/fs/fs_download.c
diff --git a/src/fs/fs_file_information.c b/src/service/fs/fs_file_information.c
index f23b9da2a..f23b9da2a 100644
--- a/src/fs/fs_file_information.c
+++ b/src/service/fs/fs_file_information.c
diff --git a/src/fs/fs_getopt.c b/src/service/fs/fs_getopt.c
index 0135e2e05..0135e2e05 100644
--- a/src/fs/fs_getopt.c
+++ b/src/service/fs/fs_getopt.c
diff --git a/src/fs/fs_list_indexed.c b/src/service/fs/fs_list_indexed.c
index 78816cad1..78816cad1 100644
--- a/src/fs/fs_list_indexed.c
+++ b/src/service/fs/fs_list_indexed.c
diff --git a/src/fs/fs_misc.c b/src/service/fs/fs_misc.c
index a8e23f042..a8e23f042 100644
--- a/src/fs/fs_misc.c
+++ b/src/service/fs/fs_misc.c
diff --git a/src/fs/fs_namespace.c b/src/service/fs/fs_namespace.c
index f8b7b91c0..f8b7b91c0 100644
--- a/src/fs/fs_namespace.c
+++ b/src/service/fs/fs_namespace.c
diff --git a/src/fs/fs_publish.c b/src/service/fs/fs_publish.c
index d1662c78b..d1662c78b 100644
--- a/src/fs/fs_publish.c
+++ b/src/service/fs/fs_publish.c
diff --git a/src/fs/fs_publish_ksk.c b/src/service/fs/fs_publish_ksk.c
index 3981ad335..3981ad335 100644
--- a/src/fs/fs_publish_ksk.c
+++ b/src/service/fs/fs_publish_ksk.c
diff --git a/src/fs/fs_publish_ublock.c b/src/service/fs/fs_publish_ublock.c
index ad12d9b08..ad12d9b08 100644
--- a/src/fs/fs_publish_ublock.c
+++ b/src/service/fs/fs_publish_ublock.c
diff --git a/src/fs/fs_publish_ublock.h b/src/service/fs/fs_publish_ublock.h
index 4adffc6c1..4adffc6c1 100644
--- a/src/fs/fs_publish_ublock.h
+++ b/src/service/fs/fs_publish_ublock.h
diff --git a/src/fs/fs_search.c b/src/service/fs/fs_search.c
index 8b8c54c67..8b8c54c67 100644
--- a/src/fs/fs_search.c
+++ b/src/service/fs/fs_search.c
diff --git a/src/fs/fs_sharetree.c b/src/service/fs/fs_sharetree.c
index 6c246a3ad..6c246a3ad 100644
--- a/src/fs/fs_sharetree.c
+++ b/src/service/fs/fs_sharetree.c
diff --git a/src/fs/fs_test_lib.c b/src/service/fs/fs_test_lib.c
index f80a2859c..f80a2859c 100644
--- a/src/fs/fs_test_lib.c
+++ b/src/service/fs/fs_test_lib.c
diff --git a/src/fs/fs_test_lib.h b/src/service/fs/fs_test_lib.h
index 36244eb19..36244eb19 100644
--- a/src/fs/fs_test_lib.h
+++ b/src/service/fs/fs_test_lib.h
diff --git a/src/fs/fs_test_lib_data.conf b/src/service/fs/fs_test_lib_data.conf
index c99674798..c99674798 100644
--- a/src/fs/fs_test_lib_data.conf
+++ b/src/service/fs/fs_test_lib_data.conf
diff --git a/src/fs/fs_tree.c b/src/service/fs/fs_tree.c
index 65f589966..65f589966 100644
--- a/src/fs/fs_tree.c
+++ b/src/service/fs/fs_tree.c
diff --git a/src/fs/fs_tree.h b/src/service/fs/fs_tree.h
index 1fb681d27..1fb681d27 100644
--- a/src/fs/fs_tree.h
+++ b/src/service/fs/fs_tree.h
diff --git a/src/fs/fs_unindex.c b/src/service/fs/fs_unindex.c
index 68ba667c4..68ba667c4 100644
--- a/src/fs/fs_unindex.c
+++ b/src/service/fs/fs_unindex.c
diff --git a/src/fs/fs_uri.c b/src/service/fs/fs_uri.c
index b0be0db4f..b0be0db4f 100644
--- a/src/fs/fs_uri.c
+++ b/src/service/fs/fs_uri.c
diff --git a/src/fs/gnunet-daemon-fsprofiler.c b/src/service/fs/gnunet-daemon-fsprofiler.c
index b99933cfa..b99933cfa 100644
--- a/src/fs/gnunet-daemon-fsprofiler.c
+++ b/src/service/fs/gnunet-daemon-fsprofiler.c
diff --git a/src/fs/gnunet-fs-profiler.c b/src/service/fs/gnunet-fs-profiler.c
index 62da46834..62da46834 100644
--- a/src/fs/gnunet-fs-profiler.c
+++ b/src/service/fs/gnunet-fs-profiler.c
diff --git a/src/fs/gnunet-helper-fs-publish.c b/src/service/fs/gnunet-helper-fs-publish.c
index 0e07b79dc..0e07b79dc 100644
--- a/src/fs/gnunet-helper-fs-publish.c
+++ b/src/service/fs/gnunet-helper-fs-publish.c
diff --git a/src/fs/gnunet-service-fs.c b/src/service/fs/gnunet-service-fs.c
index 1ab6ac2b8..1ab6ac2b8 100644
--- a/src/fs/gnunet-service-fs.c
+++ b/src/service/fs/gnunet-service-fs.c
diff --git a/src/fs/gnunet-service-fs.h b/src/service/fs/gnunet-service-fs.h
index e102a1fba..e102a1fba 100644
--- a/src/fs/gnunet-service-fs.h
+++ b/src/service/fs/gnunet-service-fs.h
diff --git a/src/fs/gnunet-service-fs_cadet.h b/src/service/fs/gnunet-service-fs_cadet.h
index c02021a0d..c02021a0d 100644
--- a/src/fs/gnunet-service-fs_cadet.h
+++ b/src/service/fs/gnunet-service-fs_cadet.h
diff --git a/src/fs/gnunet-service-fs_cadet_client.c b/src/service/fs/gnunet-service-fs_cadet_client.c
index 398fcd604..398fcd604 100644
--- a/src/fs/gnunet-service-fs_cadet_client.c
+++ b/src/service/fs/gnunet-service-fs_cadet_client.c
diff --git a/src/fs/gnunet-service-fs_cadet_server.c b/src/service/fs/gnunet-service-fs_cadet_server.c
index 8bfe91cf0..8bfe91cf0 100644
--- a/src/fs/gnunet-service-fs_cadet_server.c
+++ b/src/service/fs/gnunet-service-fs_cadet_server.c
diff --git a/src/fs/gnunet-service-fs_cp.c b/src/service/fs/gnunet-service-fs_cp.c
index 74dd42daf..74dd42daf 100644
--- a/src/fs/gnunet-service-fs_cp.c
+++ b/src/service/fs/gnunet-service-fs_cp.c
diff --git a/src/fs/gnunet-service-fs_cp.h b/src/service/fs/gnunet-service-fs_cp.h
index cea82b10c..cea82b10c 100644
--- a/src/fs/gnunet-service-fs_cp.h
+++ b/src/service/fs/gnunet-service-fs_cp.h
diff --git a/src/fs/gnunet-service-fs_indexing.c b/src/service/fs/gnunet-service-fs_indexing.c
index 8fb34c067..8fb34c067 100644
--- a/src/fs/gnunet-service-fs_indexing.c
+++ b/src/service/fs/gnunet-service-fs_indexing.c
diff --git a/src/fs/gnunet-service-fs_indexing.h b/src/service/fs/gnunet-service-fs_indexing.h
index 244a51900..244a51900 100644
--- a/src/fs/gnunet-service-fs_indexing.h
+++ b/src/service/fs/gnunet-service-fs_indexing.h
diff --git a/src/fs/gnunet-service-fs_pe.c b/src/service/fs/gnunet-service-fs_pe.c
index 60dd0ab70..60dd0ab70 100644
--- a/src/fs/gnunet-service-fs_pe.c
+++ b/src/service/fs/gnunet-service-fs_pe.c
diff --git a/src/fs/gnunet-service-fs_pe.h b/src/service/fs/gnunet-service-fs_pe.h
index d532b6b71..d532b6b71 100644
--- a/src/fs/gnunet-service-fs_pe.h
+++ b/src/service/fs/gnunet-service-fs_pe.h
diff --git a/src/fs/gnunet-service-fs_pr.c b/src/service/fs/gnunet-service-fs_pr.c
index f192c017d..f192c017d 100644
--- a/src/fs/gnunet-service-fs_pr.c
+++ b/src/service/fs/gnunet-service-fs_pr.c
diff --git a/src/fs/gnunet-service-fs_pr.h b/src/service/fs/gnunet-service-fs_pr.h
index 339e409c5..339e409c5 100644
--- a/src/fs/gnunet-service-fs_pr.h
+++ b/src/service/fs/gnunet-service-fs_pr.h
diff --git a/src/fs/gnunet-service-fs_push.c b/src/service/fs/gnunet-service-fs_push.c
index 92dbba8e6..92dbba8e6 100644
--- a/src/fs/gnunet-service-fs_push.c
+++ b/src/service/fs/gnunet-service-fs_push.c
diff --git a/src/fs/gnunet-service-fs_push.h b/src/service/fs/gnunet-service-fs_push.h
index 2cd621bbb..2cd621bbb 100644
--- a/src/fs/gnunet-service-fs_push.h
+++ b/src/service/fs/gnunet-service-fs_push.h
diff --git a/src/fs/gnunet-service-fs_put.c b/src/service/fs/gnunet-service-fs_put.c
index ca2c85724..ca2c85724 100644
--- a/src/fs/gnunet-service-fs_put.c
+++ b/src/service/fs/gnunet-service-fs_put.c
diff --git a/src/fs/gnunet-service-fs_put.h b/src/service/fs/gnunet-service-fs_put.h
index b6c9ba86f..b6c9ba86f 100644
--- a/src/fs/gnunet-service-fs_put.h
+++ b/src/service/fs/gnunet-service-fs_put.h
diff --git a/src/fs/meson.build b/src/service/fs/meson.build
index 4246e4fcf..4246e4fcf 100644
--- a/src/fs/meson.build
+++ b/src/service/fs/meson.build
diff --git a/src/fs/meta_data.c b/src/service/fs/meta_data.c
index 1e75ecf6c..1e75ecf6c 100644
--- a/src/fs/meta_data.c
+++ b/src/service/fs/meta_data.c
diff --git a/src/fs/perf_gnunet_service_fs_p2p.c b/src/service/fs/perf_gnunet_service_fs_p2p.c
index 2c7830f5f..2c7830f5f 100644
--- a/src/fs/perf_gnunet_service_fs_p2p.c
+++ b/src/service/fs/perf_gnunet_service_fs_p2p.c
diff --git a/src/fs/perf_gnunet_service_fs_p2p.conf b/src/service/fs/perf_gnunet_service_fs_p2p.conf
index 00f0f512e..00f0f512e 100644
--- a/src/fs/perf_gnunet_service_fs_p2p.conf
+++ b/src/service/fs/perf_gnunet_service_fs_p2p.conf
diff --git a/src/fs/perf_gnunet_service_fs_p2p_respect.c b/src/service/fs/perf_gnunet_service_fs_p2p_respect.c
index 6b71b1f93..6b71b1f93 100644
--- a/src/fs/perf_gnunet_service_fs_p2p_respect.c
+++ b/src/service/fs/perf_gnunet_service_fs_p2p_respect.c
diff --git a/src/fs/test_fs.c b/src/service/fs/test_fs.c
index 7a57e98b0..7a57e98b0 100644
--- a/src/fs/test_fs.c
+++ b/src/service/fs/test_fs.c
diff --git a/src/fs/test_fs_data.conf b/src/service/fs/test_fs_data.conf
index 993141064..993141064 100644
--- a/src/fs/test_fs_data.conf
+++ b/src/service/fs/test_fs_data.conf
diff --git a/src/fs/test_fs_defaults.conf b/src/service/fs/test_fs_defaults.conf
index 6ead78257..6ead78257 100644
--- a/src/fs/test_fs_defaults.conf
+++ b/src/service/fs/test_fs_defaults.conf
diff --git a/src/fs/test_fs_directory.c b/src/service/fs/test_fs_directory.c
index f5121a3e7..f5121a3e7 100644
--- a/src/fs/test_fs_directory.c
+++ b/src/service/fs/test_fs_directory.c
diff --git a/src/fs/test_fs_download.c b/src/service/fs/test_fs_download.c
index fc6b32c0f..fc6b32c0f 100644
--- a/src/fs/test_fs_download.c
+++ b/src/service/fs/test_fs_download.c
diff --git a/src/fs/test_fs_download_data.conf b/src/service/fs/test_fs_download_data.conf
index 160dec3ae..160dec3ae 100644
--- a/src/fs/test_fs_download_data.conf
+++ b/src/service/fs/test_fs_download_data.conf
diff --git a/src/fs/test_fs_download_indexed.conf b/src/service/fs/test_fs_download_indexed.conf
index 7f1e36935..7f1e36935 100644
--- a/src/fs/test_fs_download_indexed.conf
+++ b/src/service/fs/test_fs_download_indexed.conf
diff --git a/src/fs/test_fs_download_persistence.c b/src/service/fs/test_fs_download_persistence.c
index b66fefd6b..b66fefd6b 100644
--- a/src/fs/test_fs_download_persistence.c
+++ b/src/service/fs/test_fs_download_persistence.c
diff --git a/src/fs/test_fs_file_information.c b/src/service/fs/test_fs_file_information.c
index 15380bfc4..15380bfc4 100644
--- a/src/fs/test_fs_file_information.c
+++ b/src/service/fs/test_fs_file_information.c
diff --git a/src/fs/test_fs_file_information_data.conf b/src/service/fs/test_fs_file_information_data.conf
index c8fc0938c..c8fc0938c 100644
--- a/src/fs/test_fs_file_information_data.conf
+++ b/src/service/fs/test_fs_file_information_data.conf
diff --git a/src/fs/test_fs_getopt.c b/src/service/fs/test_fs_getopt.c
index 3d0da752b..3d0da752b 100644
--- a/src/fs/test_fs_getopt.c
+++ b/src/service/fs/test_fs_getopt.c
diff --git a/src/fs/test_fs_list_indexed.c b/src/service/fs/test_fs_list_indexed.c
index 7e06c47f5..7e06c47f5 100644
--- a/src/fs/test_fs_list_indexed.c
+++ b/src/service/fs/test_fs_list_indexed.c
diff --git a/src/fs/test_fs_list_indexed_data.conf b/src/service/fs/test_fs_list_indexed_data.conf
index 941809322..941809322 100644
--- a/src/fs/test_fs_list_indexed_data.conf
+++ b/src/service/fs/test_fs_list_indexed_data.conf
diff --git a/src/fs/test_fs_meta_data.c b/src/service/fs/test_fs_meta_data.c
index 4e7439d7b..4e7439d7b 100644
--- a/src/fs/test_fs_meta_data.c
+++ b/src/service/fs/test_fs_meta_data.c
diff --git a/src/fs/test_fs_namespace.c b/src/service/fs/test_fs_namespace.c
index 85d489598..85d489598 100644
--- a/src/fs/test_fs_namespace.c
+++ b/src/service/fs/test_fs_namespace.c
diff --git a/src/fs/test_fs_namespace_data.conf b/src/service/fs/test_fs_namespace_data.conf
index 70b954f7d..70b954f7d 100644
--- a/src/fs/test_fs_namespace_data.conf
+++ b/src/service/fs/test_fs_namespace_data.conf
diff --git a/src/fs/test_fs_namespace_list_updateable.c b/src/service/fs/test_fs_namespace_list_updateable.c
index d883b7bea..d883b7bea 100644
--- a/src/fs/test_fs_namespace_list_updateable.c
+++ b/src/service/fs/test_fs_namespace_list_updateable.c
diff --git a/src/fs/test_fs_publish.c b/src/service/fs/test_fs_publish.c
index 0e379bc29..0e379bc29 100644
--- a/src/fs/test_fs_publish.c
+++ b/src/service/fs/test_fs_publish.c
diff --git a/src/fs/test_fs_publish_data.conf b/src/service/fs/test_fs_publish_data.conf
index 0930cdfed..0930cdfed 100644
--- a/src/fs/test_fs_publish_data.conf
+++ b/src/service/fs/test_fs_publish_data.conf
diff --git a/src/fs/test_fs_publish_persistence.c b/src/service/fs/test_fs_publish_persistence.c
index e1563f448..e1563f448 100644
--- a/src/fs/test_fs_publish_persistence.c
+++ b/src/service/fs/test_fs_publish_persistence.c
diff --git a/src/fs/test_fs_search.c b/src/service/fs/test_fs_search.c
index f9266582e..f9266582e 100644
--- a/src/fs/test_fs_search.c
+++ b/src/service/fs/test_fs_search.c
diff --git a/src/fs/test_fs_search_data.conf b/src/service/fs/test_fs_search_data.conf
index 8b24e328d..8b24e328d 100644
--- a/src/fs/test_fs_search_data.conf
+++ b/src/service/fs/test_fs_search_data.conf
diff --git a/src/fs/test_fs_search_persistence.c b/src/service/fs/test_fs_search_persistence.c
index 4ddd40e73..4ddd40e73 100644
--- a/src/fs/test_fs_search_persistence.c
+++ b/src/service/fs/test_fs_search_persistence.c
diff --git a/src/fs/test_fs_search_probes.c b/src/service/fs/test_fs_search_probes.c
index 776babaee..776babaee 100644
--- a/src/fs/test_fs_search_probes.c
+++ b/src/service/fs/test_fs_search_probes.c
diff --git a/src/fs/test_fs_search_with_and.c b/src/service/fs/test_fs_search_with_and.c
index 9c20936b6..9c20936b6 100644
--- a/src/fs/test_fs_search_with_and.c
+++ b/src/service/fs/test_fs_search_with_and.c
diff --git a/src/fs/test_fs_start_stop.c b/src/service/fs/test_fs_start_stop.c
index 509fbe76a..509fbe76a 100644
--- a/src/fs/test_fs_start_stop.c
+++ b/src/service/fs/test_fs_start_stop.c
diff --git a/src/fs/test_fs_test_lib.c b/src/service/fs/test_fs_test_lib.c
index 714dd452e..714dd452e 100644
--- a/src/fs/test_fs_test_lib.c
+++ b/src/service/fs/test_fs_test_lib.c
diff --git a/src/fs/test_fs_unindex.c b/src/service/fs/test_fs_unindex.c
index dbc33090d..dbc33090d 100644
--- a/src/fs/test_fs_unindex.c
+++ b/src/service/fs/test_fs_unindex.c
diff --git a/src/fs/test_fs_unindex_data.conf b/src/service/fs/test_fs_unindex_data.conf
index dde401857..dde401857 100644
--- a/src/fs/test_fs_unindex_data.conf
+++ b/src/service/fs/test_fs_unindex_data.conf
diff --git a/src/fs/test_fs_unindex_persistence.c b/src/service/fs/test_fs_unindex_persistence.c
index b81ce64ab..b81ce64ab 100644
--- a/src/fs/test_fs_unindex_persistence.c
+++ b/src/service/fs/test_fs_unindex_persistence.c
diff --git a/src/fs/test_fs_uri.c b/src/service/fs/test_fs_uri.c
index e0f23097b..e0f23097b 100644
--- a/src/fs/test_fs_uri.c
+++ b/src/service/fs/test_fs_uri.c
diff --git a/src/fs/test_gnunet_fs_rec_data.tgz b/src/service/fs/test_gnunet_fs_rec_data.tgz
index 697794306..697794306 100644
--- a/src/fs/test_gnunet_fs_rec_data.tgz
+++ b/src/service/fs/test_gnunet_fs_rec_data.tgz
Binary files differ
diff --git a/src/fs/test_gnunet_service_fs_migration.c b/src/service/fs/test_gnunet_service_fs_migration.c
index 38b00f3e8..38b00f3e8 100644
--- a/src/fs/test_gnunet_service_fs_migration.c
+++ b/src/service/fs/test_gnunet_service_fs_migration.c
diff --git a/src/fs/test_gnunet_service_fs_migration_data.conf b/src/service/fs/test_gnunet_service_fs_migration_data.conf
index fca6c5a29..fca6c5a29 100644
--- a/src/fs/test_gnunet_service_fs_migration_data.conf
+++ b/src/service/fs/test_gnunet_service_fs_migration_data.conf
diff --git a/src/fs/test_gnunet_service_fs_p2p.c b/src/service/fs/test_gnunet_service_fs_p2p.c
index 2d1fbb788..2d1fbb788 100644
--- a/src/fs/test_gnunet_service_fs_p2p.c
+++ b/src/service/fs/test_gnunet_service_fs_p2p.c
diff --git a/src/fs/test_gnunet_service_fs_p2p_cadet.conf b/src/service/fs/test_gnunet_service_fs_p2p_cadet.conf
index 12e106968..12e106968 100644
--- a/src/fs/test_gnunet_service_fs_p2p_cadet.conf
+++ b/src/service/fs/test_gnunet_service_fs_p2p_cadet.conf
diff --git a/src/fs/test_plugin_block_fs.c b/src/service/fs/test_plugin_block_fs.c
index f15d10b17..f15d10b17 100644
--- a/src/fs/test_plugin_block_fs.c
+++ b/src/service/fs/test_plugin_block_fs.c
diff --git a/src/fs/test_pseudonym_data.conf b/src/service/fs/test_pseudonym_data.conf
index 5827721b8..5827721b8 100644
--- a/src/fs/test_pseudonym_data.conf
+++ b/src/service/fs/test_pseudonym_data.conf