aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cadet/.gitignore1
-rw-r--r--src/namestore/.gitignore38
-rw-r--r--src/namestore/Makefile.am10
-rw-r--r--src/namestore/test_namestore_api_monitoring_existing.c3
-rw-r--r--src/transport/.gitignore1
5 files changed, 13 insertions, 40 deletions
diff --git a/src/cadet/.gitignore b/src/cadet/.gitignore
index b556fa4c8..e72d81bd8 100644
--- a/src/cadet/.gitignore
+++ b/src/cadet/.gitignore
@@ -24,3 +24,4 @@ test_cadet_local_mq
24test_cadet_*_newtest_cadet_2_reopen 24test_cadet_*_newtest_cadet_2_reopen
25test_cadet_5_reopen 25test_cadet_5_reopen
26test_cadet_2_reopen 26test_cadet_2_reopen
27test_cadet_2_destroy
diff --git a/src/namestore/.gitignore b/src/namestore/.gitignore
index f159cdaff..b6a968d61 100644
--- a/src/namestore/.gitignore
+++ b/src/namestore/.gitignore
@@ -18,71 +18,39 @@ test_namestore_api_zone_iteration_specific_zone.nc
18test_namestore_api_zone_iteration_stop.nc 18test_namestore_api_zone_iteration_stop.nc
19test_plugin_namestore_postgres 19test_plugin_namestore_postgres
20test_plugin_namestore_sqlite 20test_plugin_namestore_sqlite
21test_plugin_namestore_flat
22gnunet-zoneimport 21gnunet-zoneimport
23test_namestore_api_lookup_nick_flat
24test_namestore_api_lookup_nick_postgres 22test_namestore_api_lookup_nick_postgres
25test_namestore_api_lookup_nick_sqlite 23test_namestore_api_lookup_nick_sqlite
26test_namestore_api_lookup_private_flat
27test_namestore_api_lookup_private_postgres 24test_namestore_api_lookup_private_postgres
28test_namestore_api_lookup_private_sqlite 25test_namestore_api_lookup_private_sqlite
29test_namestore_api_lookup_public_flat
30test_namestore_api_lookup_public_postgres 26test_namestore_api_lookup_public_postgres
31test_namestore_api_lookup_public_sqlite 27test_namestore_api_lookup_public_sqlite
32test_namestore_api_lookup_shadow_filter_flat
33test_namestore_api_lookup_shadow_filter_postgres 28test_namestore_api_lookup_shadow_filter_postgres
34test_namestore_api_lookup_shadow_filter_sqlite 29test_namestore_api_lookup_shadow_filter_sqlite
35test_namestore_api_lookup_shadow_flat
36test_namestore_api_lookup_shadow_postgres 30test_namestore_api_lookup_shadow_postgres
37test_namestore_api_lookup_shadow_sqlite 31test_namestore_api_lookup_shadow_sqlite
38test_namestore_api_monitoring_existing_flat
39test_namestore_api_monitoring_existing_postgres 32test_namestore_api_monitoring_existing_postgres
40test_namestore_api_monitoring_existing_sqlite 33test_namestore_api_monitoring_existing_sqlite
41test_namestore_api_monitoring_flat
42test_namestore_api_monitoring_postgres 34test_namestore_api_monitoring_postgres
43test_namestore_api_monitoring_sqlite 35test_namestore_api_monitoring_sqlite
44test_namestore_api_remove_flat
45test_namestore_api_remove_not_existing_record_flat
46test_namestore_api_remove_not_existing_record_postgres 36test_namestore_api_remove_not_existing_record_postgres
47test_namestore_api_remove_not_existing_record_sqlite 37test_namestore_api_remove_not_existing_record_sqlite
48test_namestore_api_remove_postgres 38test_namestore_api_remove_postgres
49test_namestore_api_remove_sqlite 39test_namestore_api_remove_sqlite
50test_namestore_api_store_flat
51test_namestore_api_store_postgres 40test_namestore_api_store_postgres
52test_namestore_api_store_sqlite 41test_namestore_api_store_sqlite
53test_namestore_api_store_update_flat
54test_namestore_api_store_update_postgres 42test_namestore_api_store_update_postgres
55test_namestore_api_store_update_sqlite 43test_namestore_api_store_update_sqlite
56test_namestore_api_zone_iteration_flat
57test_namestore_api_zone_iteration_nick_flat
58test_namestore_api_zone_iteration_nick_postgres 44test_namestore_api_zone_iteration_nick_postgres
59test_namestore_api_zone_iteration_nick_sqlite 45test_namestore_api_zone_iteration_nick_sqlite
60test_namestore_api_zone_iteration_postgres 46test_namestore_api_zone_iteration_postgres
61test_namestore_api_zone_iteration_specific_zone_flat
62test_namestore_api_zone_iteration_specific_zone_postgres 47test_namestore_api_zone_iteration_specific_zone_postgres
63test_namestore_api_zone_iteration_specific_zone_sqlite 48test_namestore_api_zone_iteration_specific_zone_sqlite
64test_namestore_api_zone_iteration_sqlite 49test_namestore_api_zone_iteration_sqlite
65test_namestore_api_zone_iteration_stop_flat
66test_namestore_api_zone_iteration_stop_postgres 50test_namestore_api_zone_iteration_stop_postgres
67test_namestore_api_zone_iteration_stop_sqlite 51test_namestore_api_zone_iteration_stop_sqlite
68test_namestore_api_zone_to_name_flat
69test_namestore_api_zone_to_name_postgres 52test_namestore_api_zone_to_name_postgres
70test_namestore_api_zone_to_name_sqlite 53test_namestore_api_zone_to_name_sqlite
71test_namestore_api_lookup_nick_flat 54test_namestore_api_tx_rollback_postgres
72test_namestore_api_lookup_private_flat 55test_namestore_api_tx_rollback_sqlite
73test_namestore_api_lookup_public_flat 56test_namestore_api_edit_records_postgres
74test_namestore_api_lookup_shadow_filter_flat
75test_namestore_api_lookup_shadow_flat
76test_namestore_api_monitoring_existing_flat
77test_namestore_api_monitoring_flat
78test_namestore_api_remove_flat
79test_namestore_api_remove_not_existing_record_flat
80test_namestore_api_store_flat
81test_namestore_api_store_update_flat
82test_namestore_api_zone_iteration_flat
83test_namestore_api_zone_iteration_nick_flat
84test_namestore_api_zone_iteration_specific_zone_flat
85test_namestore_api_zone_iteration_stop_flat
86test_namestore_api_zone_to_name_flat
87test_plugin_namestore_flat
88perf_namestore_api_zone_iteration_flat
diff --git a/src/namestore/Makefile.am b/src/namestore/Makefile.am
index b71896894..5142058ad 100644
--- a/src/namestore/Makefile.am
+++ b/src/namestore/Makefile.am
@@ -15,6 +15,7 @@ if USE_COVERAGE
15 XLIBS = -lgcov 15 XLIBS = -lgcov
16endif 16endif
17 17
18
18if HAVE_SQLITE 19if HAVE_SQLITE
19SQLITE_PLUGIN = libgnunet_plugin_namestore_sqlite.la 20SQLITE_PLUGIN = libgnunet_plugin_namestore_sqlite.la
20SQLITE_TESTS = test_plugin_namestore_sqlite \ 21SQLITE_TESTS = test_plugin_namestore_sqlite \
@@ -38,6 +39,7 @@ SQLITE_TESTS = test_plugin_namestore_sqlite \
38 test_namestore_api_tx_rollback_sqlite 39 test_namestore_api_tx_rollback_sqlite
39endif 40endif
40 41
42
41if HAVE_POSTGRESQL 43if HAVE_POSTGRESQL
42POSTGRES_PLUGIN = libgnunet_plugin_namestore_postgres.la 44POSTGRES_PLUGIN = libgnunet_plugin_namestore_postgres.la
43POSTGRES_TESTS = test_plugin_namestore_postgres \ 45POSTGRES_TESTS = test_plugin_namestore_postgres \
@@ -58,8 +60,10 @@ POSTGRES_TESTS = test_plugin_namestore_postgres \
58 test_namestore_api_monitoring_existing_postgres \ 60 test_namestore_api_monitoring_existing_postgres \
59 test_namestore_api_zone_to_name_postgres \ 61 test_namestore_api_zone_to_name_postgres \
60 perf_namestore_api_zone_iteration_postgres \ 62 perf_namestore_api_zone_iteration_postgres \
61 test_namestore_api_tx_rollback_postgres \ 63 test_namestore_api_tx_rollback_postgres
62 test_namestore_api_edit_records_postgres 64if HAVE_EXPERIMENTAL
65POSTGRES_TESTS += test_namestore_api_edit_records_postgres
66endif
63endif 67endif
64 68
65if HAVE_SQLITE 69if HAVE_SQLITE
@@ -443,6 +447,7 @@ test_namestore_api_tx_rollback_postgres_LDADD = \
443 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ 447 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
444 $(top_builddir)/src/util/libgnunetutil.la 448 $(top_builddir)/src/util/libgnunetutil.la
445 449
450if HAVE_EXPERIMENTAL
446test_namestore_api_edit_records_postgres_SOURCES = \ 451test_namestore_api_edit_records_postgres_SOURCES = \
447 test_namestore_api_edit_records.c 452 test_namestore_api_edit_records.c
448test_namestore_api_edit_records_postgres_LDADD = \ 453test_namestore_api_edit_records_postgres_LDADD = \
@@ -451,6 +456,7 @@ test_namestore_api_edit_records_postgres_LDADD = \
451 libgnunetnamestore.la \ 456 libgnunetnamestore.la \
452 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ 457 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
453 $(top_builddir)/src/util/libgnunetutil.la 458 $(top_builddir)/src/util/libgnunetutil.la
459endif
454 460
455test_namestore_api_zone_iteration_sqlite_SOURCES = \ 461test_namestore_api_zone_iteration_sqlite_SOURCES = \
456 test_namestore_api_zone_iteration.c 462 test_namestore_api_zone_iteration.c
diff --git a/src/namestore/test_namestore_api_monitoring_existing.c b/src/namestore/test_namestore_api_monitoring_existing.c
index 95907f34a..1803b8ba4 100644
--- a/src/namestore/test_namestore_api_monitoring_existing.c
+++ b/src/namestore/test_namestore_api_monitoring_existing.c
@@ -248,9 +248,6 @@ put_cont (void *cls,
248 return; 248 return;
249 } 249 }
250 250
251 if (3 == c)
252 {
253 }
254} 251}
255 252
256 253
diff --git a/src/transport/.gitignore b/src/transport/.gitignore
index c9a208f5e..5a82a787b 100644
--- a/src/transport/.gitignore
+++ b/src/transport/.gitignore
@@ -90,3 +90,4 @@ gnunet-communicator-udp
90test_communicator_unix 90test_communicator_unix
91test_communicator_basic_unix 91test_communicator_basic_unix
92test_transport_start_with_config 92test_transport_start_with_config
93test_transport_api2_tcp