aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2024-03-02 10:36:55 +0100
committerMartin Schanzenbach <schanzen@gnunet.org>2024-03-02 10:36:55 +0100
commitcb15c8d956ef104a2b894b667ec121ab49094a4d (patch)
treeb6c21cdf4a041dc2e1242f6f03e9c79b9ad44940
parentd28f3bcc0d287df747f4831954c649325195db96 (diff)
downloadgnunet-cb15c8d956ef104a2b894b667ec121ab49094a4d.tar.gz
gnunet-cb15c8d956ef104a2b894b667ec121ab49094a4d.zip
TESTS: Fix various tests
-rw-r--r--src/plugin/peerstore/test_plugin_peerstore.c2
-rw-r--r--src/service/fs/Makefile.am2
-rw-r--r--src/service/regex/test_regex_iterate_api.c2
3 files changed, 4 insertions, 2 deletions
diff --git a/src/plugin/peerstore/test_plugin_peerstore.c b/src/plugin/peerstore/test_plugin_peerstore.c
index bce62dda9..1377845aa 100644
--- a/src/plugin/peerstore/test_plugin_peerstore.c
+++ b/src/plugin/peerstore/test_plugin_peerstore.c
@@ -96,6 +96,7 @@ load_plugin (const struct GNUNET_CONFIGURATION_Handle *cfg)
96 96
97static void 97static void
98test_record (void *cls, 98test_record (void *cls,
99 uint64_t seq,
99 const struct GNUNET_PEERSTORE_Record *record, 100 const struct GNUNET_PEERSTORE_Record *record,
100 const char *error) 101 const char *error)
101{ 102{
@@ -130,6 +131,7 @@ get_record (struct GNUNET_PEERSTORE_PluginFunctions *psp,
130 "subsys", 131 "subsys",
131 identity, 132 identity,
132 "key", 133 "key",
134 0, 1,
133 &test_record, 135 &test_record,
134 (void *) identity)); 136 (void *) identity));
135} 137}
diff --git a/src/service/fs/Makefile.am b/src/service/fs/Makefile.am
index c1d545af1..0a10f688a 100644
--- a/src/service/fs/Makefile.am
+++ b/src/service/fs/Makefile.am
@@ -122,8 +122,8 @@ check_PROGRAMS = \
122 test_fs_unindex_persistence \ 122 test_fs_unindex_persistence \
123 test_fs_uri \ 123 test_fs_uri \
124 test_fs_meta_data \ 124 test_fs_meta_data \
125 test_gnunet_service_fs_migration \
126 $(FS_BENCHMARKS) 125 $(FS_BENCHMARKS)
126# test_gnunet_service_fs_migration
127 127
128if ENABLE_TEST_RUN 128if ENABLE_TEST_RUN
129AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; 129AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
diff --git a/src/service/regex/test_regex_iterate_api.c b/src/service/regex/test_regex_iterate_api.c
index 4fb4f7817..6355e8218 100644
--- a/src/service/regex/test_regex_iterate_api.c
+++ b/src/service/regex/test_regex_iterate_api.c
@@ -26,7 +26,7 @@
26#include <regex.h> 26#include <regex.h>
27#include <time.h> 27#include <time.h>
28#include "regex_internal_lib.h" 28#include "regex_internal_lib.h"
29#include "regex_block_lib.h" 29#include "../../plugin/regex/regex_block_lib.h"
30#include "regex_internal.h" 30#include "regex_internal.h"
31 31
32/** 32/**