diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-06-09 15:35:06 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-06-09 15:35:06 +0000 |
commit | e0033c1da56e1889775d7dccf92ea78ee52e4d5c (patch) | |
tree | 82a835de1f924de68dff5702d9e2b46b2f64ffdd | |
parent | 5e29c9683d2c0dfff71d2ead9ebb98d74a844bd5 (diff) | |
download | gnunet-e0033c1da56e1889775d7dccf92ea78ee52e4d5c.tar.gz gnunet-e0033c1da56e1889775d7dccf92ea78ee52e4d5c.zip |
-moving old testing code to legacy location
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | src/Makefile.am | 3 | ||||
-rw-r--r-- | src/dht/Makefile.am | 16 | ||||
-rw-r--r-- | src/fs/Makefile.am | 16 | ||||
-rw-r--r-- | src/mesh/Makefile.am | 10 | ||||
-rw-r--r-- | src/nse/Makefile.am | 4 | ||||
-rw-r--r-- | src/testing/Makefile.am | 267 | ||||
-rw-r--r-- | src/testing_old/Makefile.am | 283 | ||||
-rwxr-xr-x | src/testing_old/gnunet-testing-remote-peer-start.pl (renamed from src/testing/gnunet-testing-remote-peer-start.pl) | 0 | ||||
-rw-r--r-- | src/testing_old/gnunet-testing.c (renamed from src/testing/gnunet-testing.c) | 0 | ||||
-rw-r--r-- | src/testing_old/helper.c (renamed from src/testing/helper.c) | 0 | ||||
-rw-r--r-- | src/testing_old/test_testing.c (renamed from src/testing/test_testing.c) | 0 | ||||
-rw-r--r-- | src/testing_old/test_testing_2dtorus.c (renamed from src/testing/test_testing_2dtorus.c) | 0 | ||||
-rw-r--r-- | src/testing_old/test_testing_2dtorus.conf (renamed from src/testing/test_testing_2dtorus.conf) | 2 | ||||
-rw-r--r-- | src/testing_old/test_testing_connect.c (renamed from src/testing/test_testing_connect.c) | 0 | ||||
-rw-r--r-- | src/testing_old/test_testing_connect_peer1.conf (renamed from src/testing/test_testing_connect_peer1.conf) | 0 | ||||
-rw-r--r-- | src/testing_old/test_testing_connect_peer2.conf (renamed from src/testing/test_testing_connect_peer2.conf) | 0 | ||||
-rw-r--r-- | src/testing_old/test_testing_data.conf (renamed from src/testing/test_testing_data.conf) | 0 | ||||
-rw-r--r-- | src/testing_old/test_testing_data_remote.conf (renamed from src/testing/test_testing_data_remote.conf) | 2 | ||||
-rw-r--r-- | src/testing_old/test_testing_data_topology_2d_torus.conf (renamed from src/testing/test_testing_data_topology_2d_torus.conf) | 2 | ||||
-rw-r--r-- | src/testing_old/test_testing_data_topology_blacklist.conf (renamed from src/testing/test_testing_data_topology_blacklist.conf) | 2 | ||||
-rw-r--r-- | src/testing_old/test_testing_data_topology_churn.conf (renamed from src/testing/test_testing_data_topology_churn.conf) | 2 | ||||
-rw-r--r-- | src/testing_old/test_testing_data_topology_clique.conf (renamed from src/testing/test_testing_data_topology_clique.conf) | 2 | ||||
-rw-r--r-- | src/testing_old/test_testing_data_topology_clique_dfs.conf (renamed from src/testing/test_testing_data_topology_clique_dfs.conf) | 2 | ||||
-rw-r--r-- | src/testing_old/test_testing_data_topology_clique_minimum.conf (renamed from src/testing/test_testing_data_topology_clique_minimum.conf) | 2 | ||||
-rw-r--r-- | src/testing_old/test_testing_data_topology_clique_random.conf (renamed from src/testing/test_testing_data_topology_clique_random.conf) | 2 | ||||
-rw-r--r-- | src/testing_old/test_testing_data_topology_erdos_renyi.conf (renamed from src/testing/test_testing_data_topology_erdos_renyi.conf) | 2 | ||||
-rw-r--r-- | src/testing_old/test_testing_data_topology_internat.conf (renamed from src/testing/test_testing_data_topology_internat.conf) | 2 | ||||
-rw-r--r-- | src/testing_old/test_testing_data_topology_none.conf (renamed from src/testing/test_testing_data_topology_none.conf) | 2 | ||||
-rw-r--r-- | src/testing_old/test_testing_data_topology_ring.conf (renamed from src/testing/test_testing_data_topology_ring.conf) | 2 | ||||
-rw-r--r-- | src/testing_old/test_testing_data_topology_scale_free.conf (renamed from src/testing/test_testing_data_topology_scale_free.conf) | 2 | ||||
-rw-r--r-- | src/testing_old/test_testing_data_topology_small_world_ring.conf (renamed from src/testing/test_testing_data_topology_small_world_ring.conf) | 2 | ||||
-rw-r--r-- | src/testing_old/test_testing_data_topology_small_world_torus.conf (renamed from src/testing/test_testing_data_topology_small_world_torus.conf) | 2 | ||||
-rw-r--r-- | src/testing_old/test_testing_data_topology_stability.conf (renamed from src/testing/test_testing_data_topology_stability.conf) | 2 | ||||
-rw-r--r-- | src/testing_old/test_testing_defaults.conf (renamed from src/testing/test_testing_defaults.conf) | 2 | ||||
-rw-r--r-- | src/testing_old/test_testing_group.c (renamed from src/testing/test_testing_group.c) | 0 | ||||
-rw-r--r-- | src/testing_old/test_testing_group_remote.c (renamed from src/testing/test_testing_group_remote.c) | 0 | ||||
-rw-r--r-- | src/testing_old/test_testing_large_topology.c (renamed from src/testing/test_testing_large_topology.c) | 0 | ||||
-rw-r--r-- | src/testing_old/test_testing_peergroup.c (renamed from src/testing/test_testing_peergroup.c) | 0 | ||||
-rw-r--r-- | src/testing_old/test_testing_peergroup_data.conf (renamed from src/testing/test_testing_peergroup_data.conf) | 2 | ||||
-rw-r--r-- | src/testing_old/test_testing_reconnect.c (renamed from src/testing/test_testing_reconnect.c) | 0 | ||||
-rw-r--r-- | src/testing_old/test_testing_topology.c (renamed from src/testing/test_testing_topology.c) | 0 | ||||
-rw-r--r-- | src/testing_old/test_testing_topology_blacklist.c (renamed from src/testing/test_testing_topology_blacklist.c) | 0 | ||||
-rw-r--r-- | src/testing_old/test_testing_topology_churn.c (renamed from src/testing/test_testing_topology_churn.c) | 0 | ||||
-rw-r--r-- | src/testing_old/testing.c (renamed from src/testing/testing.c) | 2 | ||||
-rw-r--r-- | src/testing_old/testing.conf | 11 | ||||
-rw-r--r-- | src/testing_old/testing_group.c (renamed from src/testing/testing_group.c) | 60 | ||||
-rw-r--r-- | src/testing_old/testing_peergroup.c (renamed from src/testing/testing_peergroup.c) | 50 | ||||
-rw-r--r-- | src/topology/Makefile.am | 2 |
49 files changed, 402 insertions, 361 deletions
diff --git a/configure.ac b/configure.ac index e7418a667..e711a12a9 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1058,6 +1058,7 @@ src/stream/Makefile | |||
1058 | src/template/Makefile | 1058 | src/template/Makefile |
1059 | src/testbed/Makefile | 1059 | src/testbed/Makefile |
1060 | src/testing/Makefile | 1060 | src/testing/Makefile |
1061 | src/testing_old/Makefile | ||
1061 | src/topology/Makefile | 1062 | src/topology/Makefile |
1062 | src/transport/Makefile | 1063 | src/transport/Makefile |
1063 | src/transport/transport.conf | 1064 | src/transport/transport.conf |
diff --git a/src/Makefile.am b/src/Makefile.am index 37bcbf676..0afd18063 100644 --- a/src/Makefile.am +++ b/src/Makefile.am | |||
@@ -28,6 +28,7 @@ SUBDIRS = \ | |||
28 | block \ | 28 | block \ |
29 | statistics \ | 29 | statistics \ |
30 | arm \ | 30 | arm \ |
31 | testing \ | ||
31 | peerinfo \ | 32 | peerinfo \ |
32 | $(MYSQL_DIR) \ | 33 | $(MYSQL_DIR) \ |
33 | $(POSTGRES_DIR) \ | 34 | $(POSTGRES_DIR) \ |
@@ -41,7 +42,7 @@ SUBDIRS = \ | |||
41 | transport \ | 42 | transport \ |
42 | peerinfo-tool \ | 43 | peerinfo-tool \ |
43 | core \ | 44 | core \ |
44 | testing \ | 45 | testing_old \ |
45 | testbed \ | 46 | testbed \ |
46 | nse \ | 47 | nse \ |
47 | dht \ | 48 | dht \ |
diff --git a/src/dht/Makefile.am b/src/dht/Makefile.am index 0ea452db1..0b840dc9a 100644 --- a/src/dht/Makefile.am +++ b/src/dht/Makefile.am | |||
@@ -141,7 +141,7 @@ test_dht_twopeer_SOURCES = \ | |||
141 | test_dht_twopeer.c | 141 | test_dht_twopeer.c |
142 | test_dht_twopeer_LDADD = \ | 142 | test_dht_twopeer_LDADD = \ |
143 | $(top_builddir)/src/util/libgnunetutil.la \ | 143 | $(top_builddir)/src/util/libgnunetutil.la \ |
144 | $(top_builddir)/src/testing/libgnunettesting.la \ | 144 | $(top_builddir)/src/testing_old/libgnunettesting_old.la \ |
145 | $(top_builddir)/src/dht/libgnunetdht.la | 145 | $(top_builddir)/src/dht/libgnunetdht.la |
146 | test_dht_twopeer_DEPENDENCIES = \ | 146 | test_dht_twopeer_DEPENDENCIES = \ |
147 | libgnunetdht.la | 147 | libgnunetdht.la |
@@ -150,21 +150,21 @@ test_dht_twopeer_put_get_SOURCES = \ | |||
150 | test_dht_twopeer_put_get.c | 150 | test_dht_twopeer_put_get.c |
151 | test_dht_twopeer_put_get_LDADD = \ | 151 | test_dht_twopeer_put_get_LDADD = \ |
152 | $(top_builddir)/src/util/libgnunetutil.la \ | 152 | $(top_builddir)/src/util/libgnunetutil.la \ |
153 | $(top_builddir)/src/testing/libgnunettesting.la \ | 153 | $(top_builddir)/src/testing_old/libgnunettesting_old.la \ |
154 | $(top_builddir)/src/dht/libgnunetdht.la | 154 | $(top_builddir)/src/dht/libgnunetdht.la |
155 | 155 | ||
156 | test_dht_twopeer_get_put_SOURCES = \ | 156 | test_dht_twopeer_get_put_SOURCES = \ |
157 | test_dht_twopeer_get_put.c | 157 | test_dht_twopeer_get_put.c |
158 | test_dht_twopeer_get_put_LDADD = \ | 158 | test_dht_twopeer_get_put_LDADD = \ |
159 | $(top_builddir)/src/util/libgnunetutil.la \ | 159 | $(top_builddir)/src/util/libgnunetutil.la \ |
160 | $(top_builddir)/src/testing/libgnunettesting.la \ | 160 | $(top_builddir)/src/testing_old/libgnunettesting_old.la \ |
161 | $(top_builddir)/src/dht/libgnunetdht.la | 161 | $(top_builddir)/src/dht/libgnunetdht.la |
162 | 162 | ||
163 | test_dht_twopeer_path_tracking_SOURCES = \ | 163 | test_dht_twopeer_path_tracking_SOURCES = \ |
164 | test_dht_twopeer_path_tracking.c | 164 | test_dht_twopeer_path_tracking.c |
165 | test_dht_twopeer_path_tracking_LDADD = \ | 165 | test_dht_twopeer_path_tracking_LDADD = \ |
166 | $(top_builddir)/src/util/libgnunetutil.la \ | 166 | $(top_builddir)/src/util/libgnunetutil.la \ |
167 | $(top_builddir)/src/testing/libgnunettesting.la \ | 167 | $(top_builddir)/src/testing_old/libgnunettesting_old.la \ |
168 | $(top_builddir)/src/dht/libgnunetdht.la | 168 | $(top_builddir)/src/dht/libgnunetdht.la |
169 | 169 | ||
170 | test_dht_multipeer_SOURCES = \ | 170 | test_dht_multipeer_SOURCES = \ |
@@ -172,7 +172,7 @@ test_dht_multipeer_SOURCES = \ | |||
172 | test_dht_multipeer_LDADD = \ | 172 | test_dht_multipeer_LDADD = \ |
173 | $(top_builddir)/src/util/libgnunetutil.la \ | 173 | $(top_builddir)/src/util/libgnunetutil.la \ |
174 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | 174 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ |
175 | $(top_builddir)/src/testing/libgnunettesting.la \ | 175 | $(top_builddir)/src/testing_old/libgnunettesting_old.la \ |
176 | $(top_builddir)/src/dht/libgnunetdht.la | 176 | $(top_builddir)/src/dht/libgnunetdht.la |
177 | test_dht_multipeer_DEPENDENCIES = \ | 177 | test_dht_multipeer_DEPENDENCIES = \ |
178 | libgnunetdht.la | 178 | libgnunetdht.la |
@@ -181,7 +181,7 @@ test_dht_2dtorus_SOURCES = \ | |||
181 | test_dht_topo.c | 181 | test_dht_topo.c |
182 | test_dht_2dtorus_LDADD = \ | 182 | test_dht_2dtorus_LDADD = \ |
183 | $(top_builddir)/src/util/libgnunetutil.la \ | 183 | $(top_builddir)/src/util/libgnunetutil.la \ |
184 | $(top_builddir)/src/testing/libgnunettesting.la \ | 184 | $(top_builddir)/src/testing_old/libgnunettesting_old.la \ |
185 | $(top_builddir)/src/dht/libgnunetdht.la | 185 | $(top_builddir)/src/dht/libgnunetdht.la |
186 | test_dht_2dtorus_DEPENDENCIES = \ | 186 | test_dht_2dtorus_DEPENDENCIES = \ |
187 | libgnunetdht.la | 187 | libgnunetdht.la |
@@ -190,7 +190,7 @@ test_dht_line_SOURCES = \ | |||
190 | test_dht_topo.c | 190 | test_dht_topo.c |
191 | test_dht_line_LDADD = \ | 191 | test_dht_line_LDADD = \ |
192 | $(top_builddir)/src/util/libgnunetutil.la \ | 192 | $(top_builddir)/src/util/libgnunetutil.la \ |
193 | $(top_builddir)/src/testing/libgnunettesting.la \ | 193 | $(top_builddir)/src/testing_old/libgnunettesting_old.la \ |
194 | $(top_builddir)/src/dht/libgnunetdht.la | 194 | $(top_builddir)/src/dht/libgnunetdht.la |
195 | test_dht_line_DEPENDENCIES = \ | 195 | test_dht_line_DEPENDENCIES = \ |
196 | libgnunetdht.la | 196 | libgnunetdht.la |
@@ -198,7 +198,7 @@ test_dht_line_DEPENDENCIES = \ | |||
198 | test_dht_monitor_SOURCES = test_dht_monitor.c | 198 | test_dht_monitor_SOURCES = test_dht_monitor.c |
199 | test_dht_monitor_LDADD = \ | 199 | test_dht_monitor_LDADD = \ |
200 | $(top_builddir)/src/util/libgnunetutil.la \ | 200 | $(top_builddir)/src/util/libgnunetutil.la \ |
201 | $(top_builddir)/src/testing/libgnunettesting.la \ | 201 | $(top_builddir)/src/testing_old/libgnunettesting_old.la \ |
202 | $(top_builddir)/src/dht/libgnunetdht.la | 202 | $(top_builddir)/src/dht/libgnunetdht.la |
203 | test_dht_monitor_DEPENDENCIES = \ | 203 | test_dht_monitor_DEPENDENCIES = \ |
204 | libgnunetdht.la | 204 | libgnunetdht.la |
diff --git a/src/fs/Makefile.am b/src/fs/Makefile.am index f68cad75b..c88427d83 100644 --- a/src/fs/Makefile.am +++ b/src/fs/Makefile.am | |||
@@ -57,7 +57,7 @@ libgnunetfstest_a_SOURCES = \ | |||
57 | fs_test_lib.c fs_test_lib.h | 57 | fs_test_lib.c fs_test_lib.h |
58 | 58 | ||
59 | libgnunetfstest_a_LIBADD = \ | 59 | libgnunetfstest_a_LIBADD = \ |
60 | $(top_builddir)/src/testing/libgnunettesting.la | 60 | $(top_builddir)/src/testing_old/libgnunettesting_old.la |
61 | 61 | ||
62 | bin_PROGRAMS = \ | 62 | bin_PROGRAMS = \ |
63 | gnunet-directory \ | 63 | gnunet-directory \ |
@@ -375,7 +375,7 @@ test_fs_test_lib_SOURCES = \ | |||
375 | test_fs_test_lib.c | 375 | test_fs_test_lib.c |
376 | test_fs_test_lib_LDADD = \ | 376 | test_fs_test_lib_LDADD = \ |
377 | $(top_builddir)/src/fs/libgnunetfstest.a \ | 377 | $(top_builddir)/src/fs/libgnunetfstest.a \ |
378 | $(top_builddir)/src/testing/libgnunettesting.la \ | 378 | $(top_builddir)/src/testing_old/libgnunettesting_old.la \ |
379 | $(top_builddir)/src/fs/libgnunetfs.la \ | 379 | $(top_builddir)/src/fs/libgnunetfs.la \ |
380 | $(top_builddir)/src/util/libgnunetutil.la | 380 | $(top_builddir)/src/util/libgnunetutil.la |
381 | 381 | ||
@@ -383,7 +383,7 @@ test_gnunet_service_fs_p2p_SOURCES = \ | |||
383 | test_gnunet_service_fs_p2p.c | 383 | test_gnunet_service_fs_p2p.c |
384 | test_gnunet_service_fs_p2p_LDADD = \ | 384 | test_gnunet_service_fs_p2p_LDADD = \ |
385 | $(top_builddir)/src/fs/libgnunetfstest.a \ | 385 | $(top_builddir)/src/fs/libgnunetfstest.a \ |
386 | $(top_builddir)/src/testing/libgnunettesting.la \ | 386 | $(top_builddir)/src/testing_old/libgnunettesting_old.la \ |
387 | $(top_builddir)/src/fs/libgnunetfs.la \ | 387 | $(top_builddir)/src/fs/libgnunetfs.la \ |
388 | $(top_builddir)/src/util/libgnunetutil.la | 388 | $(top_builddir)/src/util/libgnunetutil.la |
389 | 389 | ||
@@ -391,7 +391,7 @@ test_gnunet_service_fs_migration_SOURCES = \ | |||
391 | test_gnunet_service_fs_migration.c | 391 | test_gnunet_service_fs_migration.c |
392 | test_gnunet_service_fs_migration_LDADD = \ | 392 | test_gnunet_service_fs_migration_LDADD = \ |
393 | $(top_builddir)/src/fs/libgnunetfstest.a \ | 393 | $(top_builddir)/src/fs/libgnunetfstest.a \ |
394 | $(top_builddir)/src/testing/libgnunettesting.la \ | 394 | $(top_builddir)/src/testing_old/libgnunettesting_old.la \ |
395 | $(top_builddir)/src/fs/libgnunetfs.la \ | 395 | $(top_builddir)/src/fs/libgnunetfs.la \ |
396 | $(top_builddir)/src/util/libgnunetutil.la | 396 | $(top_builddir)/src/util/libgnunetutil.la |
397 | 397 | ||
@@ -400,7 +400,7 @@ perf_gnunet_service_fs_p2p_SOURCES = \ | |||
400 | perf_gnunet_service_fs_p2p_LDADD = \ | 400 | perf_gnunet_service_fs_p2p_LDADD = \ |
401 | $(top_builddir)/src/fs/libgnunetfstest.a \ | 401 | $(top_builddir)/src/fs/libgnunetfstest.a \ |
402 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | 402 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ |
403 | $(top_builddir)/src/testing/libgnunettesting.la \ | 403 | $(top_builddir)/src/testing_old/libgnunettesting_old.la \ |
404 | $(top_builddir)/src/fs/libgnunetfs.la \ | 404 | $(top_builddir)/src/fs/libgnunetfs.la \ |
405 | $(top_builddir)/src/util/libgnunetutil.la | 405 | $(top_builddir)/src/util/libgnunetutil.la |
406 | 406 | ||
@@ -409,7 +409,7 @@ perf_gnunet_service_fs_p2p_index_SOURCES = \ | |||
409 | perf_gnunet_service_fs_p2p_index_LDADD = \ | 409 | perf_gnunet_service_fs_p2p_index_LDADD = \ |
410 | $(top_builddir)/src/fs/libgnunetfstest.a \ | 410 | $(top_builddir)/src/fs/libgnunetfstest.a \ |
411 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | 411 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ |
412 | $(top_builddir)/src/testing/libgnunettesting.la \ | 412 | $(top_builddir)/src/testing_old/libgnunettesting_old.la \ |
413 | $(top_builddir)/src/fs/libgnunetfs.la \ | 413 | $(top_builddir)/src/fs/libgnunetfs.la \ |
414 | $(top_builddir)/src/util/libgnunetutil.la | 414 | $(top_builddir)/src/util/libgnunetutil.la |
415 | 415 | ||
@@ -418,7 +418,7 @@ perf_gnunet_service_fs_p2p_dht_SOURCES = \ | |||
418 | perf_gnunet_service_fs_p2p_dht_LDADD = \ | 418 | perf_gnunet_service_fs_p2p_dht_LDADD = \ |
419 | $(top_builddir)/src/fs/libgnunetfstest.a \ | 419 | $(top_builddir)/src/fs/libgnunetfstest.a \ |
420 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | 420 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ |
421 | $(top_builddir)/src/testing/libgnunettesting.la \ | 421 | $(top_builddir)/src/testing_old/libgnunettesting_old.la \ |
422 | $(top_builddir)/src/fs/libgnunetfs.la \ | 422 | $(top_builddir)/src/fs/libgnunetfs.la \ |
423 | $(top_builddir)/src/util/libgnunetutil.la | 423 | $(top_builddir)/src/util/libgnunetutil.la |
424 | 424 | ||
@@ -427,7 +427,7 @@ perf_gnunet_service_fs_p2p_trust_SOURCES = \ | |||
427 | perf_gnunet_service_fs_p2p_trust_LDADD = \ | 427 | perf_gnunet_service_fs_p2p_trust_LDADD = \ |
428 | $(top_builddir)/src/fs/libgnunetfstest.a \ | 428 | $(top_builddir)/src/fs/libgnunetfstest.a \ |
429 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | 429 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ |
430 | $(top_builddir)/src/testing/libgnunettesting.la \ | 430 | $(top_builddir)/src/testing_old/libgnunettesting_old.la \ |
431 | $(top_builddir)/src/fs/libgnunetfs.la \ | 431 | $(top_builddir)/src/fs/libgnunetfs.la \ |
432 | $(top_builddir)/src/util/libgnunetutil.la | 432 | $(top_builddir)/src/util/libgnunetutil.la |
433 | 433 | ||
diff --git a/src/mesh/Makefile.am b/src/mesh/Makefile.am index 4c5dbb5d9..e116b889a 100644 --- a/src/mesh/Makefile.am +++ b/src/mesh/Makefile.am | |||
@@ -105,14 +105,14 @@ test_mesh_2dtorus_SOURCES = \ | |||
105 | test_mesh_2dtorus.c | 105 | test_mesh_2dtorus.c |
106 | test_mesh_2dtorus_LDADD = \ | 106 | test_mesh_2dtorus_LDADD = \ |
107 | $(top_builddir)/src/util/libgnunetutil.la \ | 107 | $(top_builddir)/src/util/libgnunetutil.la \ |
108 | $(top_builddir)/src/testing/libgnunettesting.la | 108 | $(top_builddir)/src/testing_old/libgnunettesting_old.la |
109 | 109 | ||
110 | test_mesh_small_unicast_SOURCES = \ | 110 | test_mesh_small_unicast_SOURCES = \ |
111 | test_mesh_small.c | 111 | test_mesh_small.c |
112 | test_mesh_small_unicast_LDADD = \ | 112 | test_mesh_small_unicast_LDADD = \ |
113 | $(top_builddir)/src/mesh/libgnunetmesh.la \ | 113 | $(top_builddir)/src/mesh/libgnunetmesh.la \ |
114 | $(top_builddir)/src/util/libgnunetutil.la \ | 114 | $(top_builddir)/src/util/libgnunetutil.la \ |
115 | $(top_builddir)/src/testing/libgnunettesting.la | 115 | $(top_builddir)/src/testing_old/libgnunettesting_old.la |
116 | test_mesh_small_unicast_DEPENDENCIES = \ | 116 | test_mesh_small_unicast_DEPENDENCIES = \ |
117 | libgnunetmesh.la | 117 | libgnunetmesh.la |
118 | 118 | ||
@@ -121,7 +121,7 @@ test_mesh_small_multicast_SOURCES = \ | |||
121 | test_mesh_small_multicast_LDADD = \ | 121 | test_mesh_small_multicast_LDADD = \ |
122 | $(top_builddir)/src/mesh/libgnunetmesh.la \ | 122 | $(top_builddir)/src/mesh/libgnunetmesh.la \ |
123 | $(top_builddir)/src/util/libgnunetutil.la \ | 123 | $(top_builddir)/src/util/libgnunetutil.la \ |
124 | $(top_builddir)/src/testing/libgnunettesting.la | 124 | $(top_builddir)/src/testing_old/libgnunettesting_old.la |
125 | test_mesh_small_multicast_DEPENDENCIES = \ | 125 | test_mesh_small_multicast_DEPENDENCIES = \ |
126 | libgnunetmesh.la | 126 | libgnunetmesh.la |
127 | 127 | ||
@@ -130,7 +130,7 @@ test_mesh_small_speed_SOURCES = \ | |||
130 | test_mesh_small_speed_LDADD = \ | 130 | test_mesh_small_speed_LDADD = \ |
131 | $(top_builddir)/src/mesh/libgnunetmesh.la \ | 131 | $(top_builddir)/src/mesh/libgnunetmesh.la \ |
132 | $(top_builddir)/src/util/libgnunetutil.la \ | 132 | $(top_builddir)/src/util/libgnunetutil.la \ |
133 | $(top_builddir)/src/testing/libgnunettesting.la | 133 | $(top_builddir)/src/testing_old/libgnunettesting_old.la |
134 | test_mesh_small_speed_DEPENDENCIES = \ | 134 | test_mesh_small_speed_DEPENDENCIES = \ |
135 | libgnunetmesh.la | 135 | libgnunetmesh.la |
136 | 136 | ||
@@ -139,7 +139,7 @@ test_mesh_small_speed_ack_SOURCES = \ | |||
139 | test_mesh_small_speed_ack_LDADD = \ | 139 | test_mesh_small_speed_ack_LDADD = \ |
140 | $(top_builddir)/src/mesh/libgnunetmesh.la \ | 140 | $(top_builddir)/src/mesh/libgnunetmesh.la \ |
141 | $(top_builddir)/src/util/libgnunetutil.la \ | 141 | $(top_builddir)/src/util/libgnunetutil.la \ |
142 | $(top_builddir)/src/testing/libgnunettesting.la | 142 | $(top_builddir)/src/testing_old/libgnunettesting_old.la |
143 | test_mesh_small_speed_ack_DEPENDENCIES = \ | 143 | test_mesh_small_speed_ack_DEPENDENCIES = \ |
144 | libgnunetmesh.la | 144 | libgnunetmesh.la |
145 | 145 | ||
diff --git a/src/nse/Makefile.am b/src/nse/Makefile.am index 054a77663..2011661cf 100644 --- a/src/nse/Makefile.am +++ b/src/nse/Makefile.am | |||
@@ -39,7 +39,7 @@ gnunet_nse_profiler_LDADD = -lm \ | |||
39 | $(top_builddir)/src/nse/libgnunetnse.la \ | 39 | $(top_builddir)/src/nse/libgnunetnse.la \ |
40 | $(top_builddir)/src/util/libgnunetutil.la \ | 40 | $(top_builddir)/src/util/libgnunetutil.la \ |
41 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | 41 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ |
42 | $(top_builddir)/src/testing/libgnunettesting.la \ | 42 | $(top_builddir)/src/testing_old/libgnunettesting_old.la \ |
43 | $(GN_LIBINTL) | 43 | $(GN_LIBINTL) |
44 | gnunet_nse_profiler_DEPENDENCIES = \ | 44 | gnunet_nse_profiler_DEPENDENCIES = \ |
45 | libgnunetnse.la | 45 | libgnunetnse.la |
@@ -80,7 +80,7 @@ test_nse_multipeer_SOURCES = \ | |||
80 | test_nse_multipeer_LDADD = \ | 80 | test_nse_multipeer_LDADD = \ |
81 | $(top_builddir)/src/nse/libgnunetnse.la \ | 81 | $(top_builddir)/src/nse/libgnunetnse.la \ |
82 | $(top_builddir)/src/util/libgnunetutil.la \ | 82 | $(top_builddir)/src/util/libgnunetutil.la \ |
83 | $(top_builddir)/src/testing/libgnunettesting.la \ | 83 | $(top_builddir)/src/testing_old/libgnunettesting_old.la \ |
84 | -lm | 84 | -lm |
85 | 85 | ||
86 | EXTRA_DIST = \ | 86 | EXTRA_DIST = \ |
diff --git a/src/testing/Makefile.am b/src/testing/Makefile.am index 455df6989..dcefc34d1 100644 --- a/src/testing/Makefile.am +++ b/src/testing/Makefile.am | |||
@@ -14,301 +14,46 @@ pkgcfgdir= $(pkgdatadir)/config.d/ | |||
14 | dist_pkgcfg_DATA = \ | 14 | dist_pkgcfg_DATA = \ |
15 | testing.conf | 15 | testing.conf |
16 | 16 | ||
17 | if HAVE_EXPENSIVE_TESTS | ||
18 | EXPENSIVE_TESTS = \ | ||
19 | test_testing_topology_stability \ | ||
20 | test_testing_topology_clique_random \ | ||
21 | test_testing_topology_clique_minimum \ | ||
22 | test_testing_topology_clique_dfs \ | ||
23 | test_testing_topology_churn \ | ||
24 | test_testing_topology_line \ | ||
25 | test_testing_topology_blacklist \ | ||
26 | test_testing_group_remote \ | ||
27 | test_testing_topology_ring \ | ||
28 | test_testing_topology_2d_torus \ | ||
29 | test_testing_topology_small_world_ring \ | ||
30 | test_testing_topology_small_world_torus \ | ||
31 | test_testing_topology_erdos_renyi \ | ||
32 | test_testing_topology_internat \ | ||
33 | test_testing_topology_scale_free | ||
34 | endif | ||
35 | |||
36 | lib_LTLIBRARIES = \ | 17 | lib_LTLIBRARIES = \ |
37 | libgnunettesting.la \ | 18 | libgnunettesting.la |
38 | libgnunettesting_new.la | ||
39 | 19 | ||
40 | libgnunettesting_la_SOURCES = \ | 20 | libgnunettesting_la_SOURCES = \ |
41 | helper.c \ | ||
42 | testing.c \ | ||
43 | testing_group.c \ | ||
44 | testing_peergroup.c | ||
45 | libgnunettesting_la_LIBADD = $(XLIB) \ | ||
46 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
47 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
48 | $(top_builddir)/src/transport/libgnunettransport.la \ | ||
49 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
50 | -lm \ | ||
51 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
52 | $(LTLIBINTL) | ||
53 | libgnunettesting_la_LDFLAGS = \ | ||
54 | $(GN_LIB_LDFLAGS) \ | ||
55 | -version-info 0:1:0 | ||
56 | |||
57 | |||
58 | libgnunettesting_new_la_SOURCES = \ | ||
59 | testing_new.c | 21 | testing_new.c |
60 | libgnunettesting_new_la_LIBADD = \ | 22 | libgnunettesting_la_LIBADD = \ |
61 | $(top_builddir)/src/util/libgnunetutil.la \ | 23 | $(top_builddir)/src/util/libgnunetutil.la \ |
62 | $(LTLIBINTL) | 24 | $(LTLIBINTL) |
63 | libgnunettesting_new_la_LDFLAGS = \ | 25 | libgnunettesting_la_LDFLAGS = \ |
64 | $(GN_LIB_LDFLAGS) \ | 26 | $(GN_LIB_LDFLAGS) \ |
65 | -version-info 0:1:0 | 27 | -version-info 0:1:0 |
66 | 28 | ||
67 | 29 | ||
68 | bin_PROGRAMS = \ | ||
69 | gnunet-testing | ||
70 | |||
71 | check_PROGRAMS = \ | 30 | check_PROGRAMS = \ |
72 | test_testing \ | ||
73 | test_testing_connect \ | ||
74 | test_testing_reconnect \ | ||
75 | test_testing_group \ | ||
76 | test_testing_peergroup \ | ||
77 | test_testing_topology_stability \ | ||
78 | test_testing_topology_clique \ | ||
79 | test_testing_topology_clique_random \ | ||
80 | test_testing_topology_clique_minimum \ | ||
81 | test_testing_topology_clique_dfs \ | ||
82 | test_testing_topology_churn \ | ||
83 | test_testing_topology_line \ | ||
84 | test_testing_topology_blacklist \ | ||
85 | test_testing_group_remote \ | ||
86 | test_testing_2dtorus \ | ||
87 | test_testing_topology_ring \ | ||
88 | test_testing_topology_2d_torus \ | ||
89 | test_testing_topology_small_world_ring \ | ||
90 | test_testing_topology_small_world_torus \ | ||
91 | test_testing_topology_erdos_renyi \ | ||
92 | test_testing_topology_internat \ | ||
93 | test_testing_topology_none \ | ||
94 | test_testing_topology_scale_free \ | ||
95 | test_testing_new_portreservation \ | 31 | test_testing_new_portreservation \ |
96 | test_testing_new_peerstartup \ | 32 | test_testing_new_peerstartup \ |
97 | test_testing_new_servicestartup | 33 | test_testing_new_servicestartup |
98 | 34 | ||
99 | if ENABLE_TEST_RUN | 35 | if ENABLE_TEST_RUN |
100 | TESTS = \ | 36 | TESTS = \ |
101 | test_testing \ | ||
102 | test_testing_connect \ | ||
103 | test_testing_reconnect \ | ||
104 | test_testing_group \ | ||
105 | test_testing_peergroup \ | ||
106 | test_testing_new_portreservation \ | 37 | test_testing_new_portreservation \ |
107 | test_testing_new_peerstartup \ | 38 | test_testing_new_peerstartup \ |
108 | test_testing_new_servicestartup | 39 | test_testing_new_servicestartup |
109 | endif | 40 | endif |
110 | 41 | ||
111 | gnunet_testing_SOURCES = \ | ||
112 | gnunet-testing.c | ||
113 | gnunet_testing_LDADD = \ | ||
114 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
115 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
116 | $(GN_LIBINTL) | ||
117 | gnunet_testing_DEPENDENCIES = \ | ||
118 | libgnunettesting.la | ||
119 | |||
120 | |||
121 | test_testing_SOURCES = \ | ||
122 | test_testing.c | ||
123 | test_testing_LDADD = \ | ||
124 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
125 | $(top_builddir)/src/util/libgnunetutil.la | ||
126 | |||
127 | test_testing_connect_SOURCES = \ | ||
128 | test_testing_connect.c | ||
129 | test_testing_connect_LDADD = \ | ||
130 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
131 | $(top_builddir)/src/util/libgnunetutil.la | ||
132 | |||
133 | test_testing_reconnect_SOURCES = \ | ||
134 | test_testing_reconnect.c | ||
135 | test_testing_reconnect_LDADD = \ | ||
136 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
137 | $(top_builddir)/src/util/libgnunetutil.la | ||
138 | |||
139 | test_testing_group_SOURCES = \ | ||
140 | test_testing_group.c | ||
141 | test_testing_group_LDADD = \ | ||
142 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
143 | $(top_builddir)/src/util/libgnunetutil.la | ||
144 | |||
145 | test_testing_peergroup_SOURCES = \ | ||
146 | test_testing_peergroup.c | ||
147 | test_testing_peergroup_LDADD = \ | ||
148 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
149 | $(top_builddir)/src/util/libgnunetutil.la | ||
150 | |||
151 | test_testing_topology_clique_SOURCES = \ | ||
152 | test_testing_topology.c | ||
153 | test_testing_topology_clique_LDADD = \ | ||
154 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
155 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
156 | $(top_builddir)/src/util/libgnunetutil.la | ||
157 | |||
158 | test_testing_topology_stability_SOURCES = \ | ||
159 | test_testing_topology.c | ||
160 | test_testing_topology_stability_LDADD = \ | ||
161 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
162 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
163 | $(top_builddir)/src/util/libgnunetutil.la | ||
164 | |||
165 | test_testing_topology_blacklist_SOURCES = \ | ||
166 | test_testing_topology_blacklist.c | ||
167 | test_testing_topology_blacklist_LDADD = \ | ||
168 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
169 | $(top_builddir)/src/util/libgnunetutil.la | ||
170 | |||
171 | test_testing_topology_churn_SOURCES = \ | ||
172 | test_testing_topology_churn.c | ||
173 | test_testing_topology_churn_LDADD = \ | ||
174 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
175 | $(top_builddir)/src/util/libgnunetutil.la | ||
176 | |||
177 | test_testing_topology_clique_random_SOURCES = \ | ||
178 | test_testing_topology.c | ||
179 | test_testing_topology_clique_random_LDADD = \ | ||
180 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
181 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
182 | $(top_builddir)/src/util/libgnunetutil.la | ||
183 | |||
184 | test_testing_topology_clique_minimum_SOURCES = \ | ||
185 | test_testing_topology.c | ||
186 | test_testing_topology_clique_minimum_LDADD = \ | ||
187 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
188 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
189 | $(top_builddir)/src/util/libgnunetutil.la | ||
190 | |||
191 | test_testing_topology_clique_dfs_SOURCES = \ | ||
192 | test_testing_topology.c | ||
193 | test_testing_topology_clique_dfs_LDADD = \ | ||
194 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
195 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
196 | $(top_builddir)/src/util/libgnunetutil.la | ||
197 | |||
198 | test_testing_topology_line_SOURCES = \ | ||
199 | test_testing_topology.c | ||
200 | test_testing_topology_line_LDADD = \ | ||
201 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
202 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
203 | $(top_builddir)/src/util/libgnunetutil.la | ||
204 | |||
205 | |||
206 | test_testing_group_remote_SOURCES = \ | ||
207 | test_testing_group_remote.c | ||
208 | test_testing_group_remote_LDADD = \ | ||
209 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
210 | $(top_builddir)/src/util/libgnunetutil.la | ||
211 | |||
212 | test_testing_2dtorus_SOURCES = \ | ||
213 | test_testing_2dtorus.c | ||
214 | test_testing_2dtorus_LDADD = \ | ||
215 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
216 | $(top_builddir)/src/util/libgnunetutil.la | ||
217 | |||
218 | test_testing_topology_ring_SOURCES = \ | ||
219 | test_testing_topology.c | ||
220 | test_testing_topology_ring_LDADD = \ | ||
221 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
222 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
223 | $(top_builddir)/src/util/libgnunetutil.la | ||
224 | |||
225 | test_testing_topology_2d_torus_SOURCES = \ | ||
226 | test_testing_topology.c | ||
227 | test_testing_topology_2d_torus_LDADD = \ | ||
228 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
229 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
230 | $(top_builddir)/src/util/libgnunetutil.la | ||
231 | |||
232 | test_testing_topology_small_world_ring_SOURCES = \ | ||
233 | test_testing_topology.c | ||
234 | test_testing_topology_small_world_ring_LDADD = \ | ||
235 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
236 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
237 | $(top_builddir)/src/util/libgnunetutil.la | ||
238 | |||
239 | test_testing_topology_small_world_torus_SOURCES = \ | ||
240 | test_testing_topology.c | ||
241 | test_testing_topology_small_world_torus_LDADD = \ | ||
242 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
243 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
244 | $(top_builddir)/src/util/libgnunetutil.la | ||
245 | |||
246 | test_testing_topology_internat_SOURCES = \ | ||
247 | test_testing_topology.c | ||
248 | test_testing_topology_internat_LDADD = \ | ||
249 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
250 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
251 | $(top_builddir)/src/util/libgnunetutil.la | ||
252 | |||
253 | test_testing_topology_erdos_renyi_SOURCES = \ | ||
254 | test_testing_topology.c | ||
255 | test_testing_topology_erdos_renyi_LDADD = \ | ||
256 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
257 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
258 | $(top_builddir)/src/util/libgnunetutil.la | ||
259 | |||
260 | test_testing_topology_scale_free_SOURCES = \ | ||
261 | test_testing_topology.c | ||
262 | test_testing_topology_scale_free_LDADD = \ | ||
263 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
264 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
265 | $(top_builddir)/src/util/libgnunetutil.la | ||
266 | |||
267 | test_testing_topology_none_SOURCES = \ | ||
268 | test_testing_topology.c | ||
269 | test_testing_topology_none_LDADD = \ | ||
270 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
271 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
272 | $(top_builddir)/src/util/libgnunetutil.la | ||
273 | |||
274 | test_testing_new_portreservation_SOURCES = \ | 42 | test_testing_new_portreservation_SOURCES = \ |
275 | test_testing_new_portreservation.c | 43 | test_testing_new_portreservation.c |
276 | test_testing_new_portreservation_LDADD = \ | 44 | test_testing_new_portreservation_LDADD = \ |
277 | $(top_builddir)/src/testing/libgnunettesting_new.la \ | 45 | $(top_builddir)/src/testing/libgnunettesting.la \ |
278 | $(top_builddir)/src/util/libgnunetutil.la | 46 | $(top_builddir)/src/util/libgnunetutil.la |
279 | 47 | ||
280 | test_testing_new_peerstartup_SOURCES = \ | 48 | test_testing_new_peerstartup_SOURCES = \ |
281 | test_testing_new_peerstartup.c | 49 | test_testing_new_peerstartup.c |
282 | test_testing_new_peerstartup_LDADD = \ | 50 | test_testing_new_peerstartup_LDADD = \ |
283 | $(top_builddir)/src/testing/libgnunettesting_new.la \ | 51 | $(top_builddir)/src/testing/libgnunettesting.la \ |
284 | $(top_builddir)/src/util/libgnunetutil.la | 52 | $(top_builddir)/src/util/libgnunetutil.la |
285 | 53 | ||
286 | test_testing_new_servicestartup_SOURCES = \ | 54 | test_testing_new_servicestartup_SOURCES = \ |
287 | test_testing_new_servicestartup.c | 55 | test_testing_new_servicestartup.c |
288 | test_testing_new_servicestartup_LDADD = \ | 56 | test_testing_new_servicestartup_LDADD = \ |
289 | $(top_builddir)/src/testing/libgnunettesting_new.la \ | 57 | $(top_builddir)/src/testing/libgnunettesting.la \ |
290 | $(top_builddir)/src/util/libgnunetutil.la | 58 | $(top_builddir)/src/util/libgnunetutil.la |
291 | 59 | ||
292 | EXTRA_DIST = \ | ||
293 | test_testing_defaults.conf \ | ||
294 | test_testing_data.conf \ | ||
295 | test_testing_connect_peer1.conf \ | ||
296 | test_testing_connect_peer2.conf \ | ||
297 | test_testing_2dtorus.conf \ | ||
298 | test_testing_data_topology_clique.conf \ | ||
299 | test_testing_data_topology_clique_random.conf \ | ||
300 | test_testing_data_topology_clique_minimum.conf \ | ||
301 | test_testing_data_topology_clique_dfs.conf \ | ||
302 | test_testing_data_topology_ring.conf \ | ||
303 | test_testing_data_topology_2d_torus.conf \ | ||
304 | test_testing_data_topology_small_world_ring.conf \ | ||
305 | test_testing_data_topology_small_world_torus.conf \ | ||
306 | test_testing_data_topology_erdos_renyi.conf \ | ||
307 | test_testing_data_topology_internat.conf \ | ||
308 | test_testing_data_topology_scale_free.conf \ | ||
309 | test_testing_data_topology_blacklist.conf \ | ||
310 | test_testing_data_topology_churn.conf \ | ||
311 | test_testing_data_topology_none.conf \ | ||
312 | test_testing_data_remote.conf \ | ||
313 | test_testing_data_topology_stability.conf \ | ||
314 | test_testing_peergroup_data.conf | ||
diff --git a/src/testing_old/Makefile.am b/src/testing_old/Makefile.am new file mode 100644 index 000000000..298483189 --- /dev/null +++ b/src/testing_old/Makefile.am | |||
@@ -0,0 +1,283 @@ | |||
1 | INCLUDES = -I$(top_srcdir)/src/include | ||
2 | |||
3 | if MINGW | ||
4 | WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols | ||
5 | endif | ||
6 | |||
7 | if USE_COVERAGE | ||
8 | AM_CFLAGS = --coverage -O0 | ||
9 | XLIB = -lgcov | ||
10 | endif | ||
11 | |||
12 | pkgcfgdir= $(pkgdatadir)/config.d/ | ||
13 | |||
14 | dist_pkgcfg_DATA = \ | ||
15 | testing_old.conf | ||
16 | |||
17 | if HAVE_EXPENSIVE_TESTS | ||
18 | EXPENSIVE_TESTS = \ | ||
19 | test_testing_topology_stability \ | ||
20 | test_testing_topology_clique_random \ | ||
21 | test_testing_topology_clique_minimum \ | ||
22 | test_testing_topology_clique_dfs \ | ||
23 | test_testing_topology_churn \ | ||
24 | test_testing_topology_line \ | ||
25 | test_testing_topology_blacklist \ | ||
26 | test_testing_group_remote \ | ||
27 | test_testing_topology_ring \ | ||
28 | test_testing_topology_2d_torus \ | ||
29 | test_testing_topology_small_world_ring \ | ||
30 | test_testing_topology_small_world_torus \ | ||
31 | test_testing_topology_erdos_renyi \ | ||
32 | test_testing_topology_internat \ | ||
33 | test_testing_topology_scale_free | ||
34 | endif | ||
35 | |||
36 | lib_LTLIBRARIES = \ | ||
37 | libgnunettestingold.la | ||
38 | |||
39 | libgnunettestingold_la_SOURCES = \ | ||
40 | helper.c \ | ||
41 | testing.c \ | ||
42 | testing_group.c \ | ||
43 | testing_peergroup.c | ||
44 | libgnunettestingold_la_LIBADD = $(XLIB) \ | ||
45 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
46 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
47 | $(top_builddir)/src/transport/libgnunettransport.la \ | ||
48 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
49 | -lm \ | ||
50 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
51 | $(LTLIBINTL) | ||
52 | libgnunettestingold_la_LDFLAGS = \ | ||
53 | $(GN_LIB_LDFLAGS) \ | ||
54 | -version-info 0:1:0 | ||
55 | |||
56 | |||
57 | bin_PROGRAMS = \ | ||
58 | gnunet-testing | ||
59 | |||
60 | check_PROGRAMS = \ | ||
61 | test_testing \ | ||
62 | test_testing_connect \ | ||
63 | test_testing_reconnect \ | ||
64 | test_testing_group \ | ||
65 | test_testing_peergroup \ | ||
66 | test_testing_topology_stability \ | ||
67 | test_testing_topology_clique \ | ||
68 | test_testing_topology_clique_random \ | ||
69 | test_testing_topology_clique_minimum \ | ||
70 | test_testing_topology_clique_dfs \ | ||
71 | test_testing_topology_churn \ | ||
72 | test_testing_topology_line \ | ||
73 | test_testing_topology_blacklist \ | ||
74 | test_testing_group_remote \ | ||
75 | test_testing_2dtorus \ | ||
76 | test_testing_topology_ring \ | ||
77 | test_testing_topology_2d_torus \ | ||
78 | test_testing_topology_small_world_ring \ | ||
79 | test_testing_topology_small_world_torus \ | ||
80 | test_testing_topology_erdos_renyi \ | ||
81 | test_testing_topology_internat \ | ||
82 | test_testing_topology_none \ | ||
83 | test_testing_topology_scale_free | ||
84 | |||
85 | if ENABLE_TEST_RUN | ||
86 | TESTS = \ | ||
87 | test_testing \ | ||
88 | test_testing_connect \ | ||
89 | test_testing_reconnect \ | ||
90 | test_testing_group \ | ||
91 | test_testing_peergroup \ | ||
92 | test_testing_new_portreservation \ | ||
93 | test_testing_new_peerstartup \ | ||
94 | test_testing_new_servicestartup | ||
95 | endif | ||
96 | |||
97 | gnunet_testing_SOURCES = \ | ||
98 | gnunet-testing.c | ||
99 | gnunet_testing_LDADD = \ | ||
100 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
101 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
102 | $(GN_LIBINTL) | ||
103 | gnunet_testing_DEPENDENCIES = \ | ||
104 | libgnunettestingold.la | ||
105 | |||
106 | |||
107 | test_testing_SOURCES = \ | ||
108 | test_testing.c | ||
109 | test_testing_LDADD = \ | ||
110 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
111 | $(top_builddir)/src/util/libgnunetutil.la | ||
112 | |||
113 | test_testing_connect_SOURCES = \ | ||
114 | test_testing_connect.c | ||
115 | test_testing_connect_LDADD = \ | ||
116 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
117 | $(top_builddir)/src/util/libgnunetutil.la | ||
118 | |||
119 | test_testing_reconnect_SOURCES = \ | ||
120 | test_testing_reconnect.c | ||
121 | test_testing_reconnect_LDADD = \ | ||
122 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
123 | $(top_builddir)/src/util/libgnunetutil.la | ||
124 | |||
125 | test_testing_group_SOURCES = \ | ||
126 | test_testing_group.c | ||
127 | test_testing_group_LDADD = \ | ||
128 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
129 | $(top_builddir)/src/util/libgnunetutil.la | ||
130 | |||
131 | test_testing_peergroup_SOURCES = \ | ||
132 | test_testing_peergroup.c | ||
133 | test_testing_peergroup_LDADD = \ | ||
134 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
135 | $(top_builddir)/src/util/libgnunetutil.la | ||
136 | |||
137 | test_testing_topology_clique_SOURCES = \ | ||
138 | test_testing_topology.c | ||
139 | test_testing_topology_clique_LDADD = \ | ||
140 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
141 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
142 | $(top_builddir)/src/util/libgnunetutil.la | ||
143 | |||
144 | test_testing_topology_stability_SOURCES = \ | ||
145 | test_testing_topology.c | ||
146 | test_testing_topology_stability_LDADD = \ | ||
147 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
148 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
149 | $(top_builddir)/src/util/libgnunetutil.la | ||
150 | |||
151 | test_testing_topology_blacklist_SOURCES = \ | ||
152 | test_testing_topology_blacklist.c | ||
153 | test_testing_topology_blacklist_LDADD = \ | ||
154 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
155 | $(top_builddir)/src/util/libgnunetutil.la | ||
156 | |||
157 | test_testing_topology_churn_SOURCES = \ | ||
158 | test_testing_topology_churn.c | ||
159 | test_testing_topology_churn_LDADD = \ | ||
160 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
161 | $(top_builddir)/src/util/libgnunetutil.la | ||
162 | |||
163 | test_testing_topology_clique_random_SOURCES = \ | ||
164 | test_testing_topology.c | ||
165 | test_testing_topology_clique_random_LDADD = \ | ||
166 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
167 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
168 | $(top_builddir)/src/util/libgnunetutil.la | ||
169 | |||
170 | test_testing_topology_clique_minimum_SOURCES = \ | ||
171 | test_testing_topology.c | ||
172 | test_testing_topology_clique_minimum_LDADD = \ | ||
173 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
174 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
175 | $(top_builddir)/src/util/libgnunetutil.la | ||
176 | |||
177 | test_testing_topology_clique_dfs_SOURCES = \ | ||
178 | test_testing_topology.c | ||
179 | test_testing_topology_clique_dfs_LDADD = \ | ||
180 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
181 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
182 | $(top_builddir)/src/util/libgnunetutil.la | ||
183 | |||
184 | test_testing_topology_line_SOURCES = \ | ||
185 | test_testing_topology.c | ||
186 | test_testing_topology_line_LDADD = \ | ||
187 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
188 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
189 | $(top_builddir)/src/util/libgnunetutil.la | ||
190 | |||
191 | |||
192 | test_testing_group_remote_SOURCES = \ | ||
193 | test_testing_group_remote.c | ||
194 | test_testing_group_remote_LDADD = \ | ||
195 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
196 | $(top_builddir)/src/util/libgnunetutil.la | ||
197 | |||
198 | test_testing_2dtorus_SOURCES = \ | ||
199 | test_testing_2dtorus.c | ||
200 | test_testing_2dtorus_LDADD = \ | ||
201 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
202 | $(top_builddir)/src/util/libgnunetutil.la | ||
203 | |||
204 | test_testing_topology_ring_SOURCES = \ | ||
205 | test_testing_topology.c | ||
206 | test_testing_topology_ring_LDADD = \ | ||
207 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
208 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
209 | $(top_builddir)/src/util/libgnunetutil.la | ||
210 | |||
211 | test_testing_topology_2d_torus_SOURCES = \ | ||
212 | test_testing_topology.c | ||
213 | test_testing_topology_2d_torus_LDADD = \ | ||
214 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
215 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
216 | $(top_builddir)/src/util/libgnunetutil.la | ||
217 | |||
218 | test_testing_topology_small_world_ring_SOURCES = \ | ||
219 | test_testing_topology.c | ||
220 | test_testing_topology_small_world_ring_LDADD = \ | ||
221 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
222 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
223 | $(top_builddir)/src/util/libgnunetutil.la | ||
224 | |||
225 | test_testing_topology_small_world_torus_SOURCES = \ | ||
226 | test_testing_topology.c | ||
227 | test_testing_topology_small_world_torus_LDADD = \ | ||
228 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
229 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
230 | $(top_builddir)/src/util/libgnunetutil.la | ||
231 | |||
232 | test_testing_topology_internat_SOURCES = \ | ||
233 | test_testing_topology.c | ||
234 | test_testing_topology_internat_LDADD = \ | ||
235 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
236 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
237 | $(top_builddir)/src/util/libgnunetutil.la | ||
238 | |||
239 | test_testing_topology_erdos_renyi_SOURCES = \ | ||
240 | test_testing_topology.c | ||
241 | test_testing_topology_erdos_renyi_LDADD = \ | ||
242 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
243 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
244 | $(top_builddir)/src/util/libgnunetutil.la | ||
245 | |||
246 | test_testing_topology_scale_free_SOURCES = \ | ||
247 | test_testing_topology.c | ||
248 | test_testing_topology_scale_free_LDADD = \ | ||
249 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
250 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
251 | $(top_builddir)/src/util/libgnunetutil.la | ||
252 | |||
253 | test_testing_topology_none_SOURCES = \ | ||
254 | test_testing_topology.c | ||
255 | test_testing_topology_none_LDADD = \ | ||
256 | $(top_builddir)/src/testing_old/libgnunettestingold.la \ | ||
257 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
258 | $(top_builddir)/src/util/libgnunetutil.la | ||
259 | |||
260 | |||
261 | EXTRA_DIST = \ | ||
262 | test_testing_defaults.conf \ | ||
263 | test_testing_data.conf \ | ||
264 | test_testing_connect_peer1.conf \ | ||
265 | test_testing_connect_peer2.conf \ | ||
266 | test_testing_2dtorus.conf \ | ||
267 | test_testing_data_topology_clique.conf \ | ||
268 | test_testing_data_topology_clique_random.conf \ | ||
269 | test_testing_data_topology_clique_minimum.conf \ | ||
270 | test_testing_data_topology_clique_dfs.conf \ | ||
271 | test_testing_data_topology_ring.conf \ | ||
272 | test_testing_data_topology_2d_torus.conf \ | ||
273 | test_testing_data_topology_small_world_ring.conf \ | ||
274 | test_testing_data_topology_small_world_torus.conf \ | ||
275 | test_testing_data_topology_erdos_renyi.conf \ | ||
276 | test_testing_data_topology_internat.conf \ | ||
277 | test_testing_data_topology_scale_free.conf \ | ||
278 | test_testing_data_topology_blacklist.conf \ | ||
279 | test_testing_data_topology_churn.conf \ | ||
280 | test_testing_data_topology_none.conf \ | ||
281 | test_testing_data_remote.conf \ | ||
282 | test_testing_data_topology_stability.conf \ | ||
283 | test_testing_peergroup_data.conf | ||
diff --git a/src/testing/gnunet-testing-remote-peer-start.pl b/src/testing_old/gnunet-testing-remote-peer-start.pl index e4f72e9d0..e4f72e9d0 100755 --- a/src/testing/gnunet-testing-remote-peer-start.pl +++ b/src/testing_old/gnunet-testing-remote-peer-start.pl | |||
diff --git a/src/testing/gnunet-testing.c b/src/testing_old/gnunet-testing.c index bdbb5e8c5..bdbb5e8c5 100644 --- a/src/testing/gnunet-testing.c +++ b/src/testing_old/gnunet-testing.c | |||
diff --git a/src/testing/helper.c b/src/testing_old/helper.c index ebb37ebe5..ebb37ebe5 100644 --- a/src/testing/helper.c +++ b/src/testing_old/helper.c | |||
diff --git a/src/testing/test_testing.c b/src/testing_old/test_testing.c index 3e2cd65ee..3e2cd65ee 100644 --- a/src/testing/test_testing.c +++ b/src/testing_old/test_testing.c | |||
diff --git a/src/testing/test_testing_2dtorus.c b/src/testing_old/test_testing_2dtorus.c index 00a66d65c..00a66d65c 100644 --- a/src/testing/test_testing_2dtorus.c +++ b/src/testing_old/test_testing_2dtorus.c | |||
diff --git a/src/testing/test_testing_2dtorus.conf b/src/testing_old/test_testing_2dtorus.conf index 54bb7c5a7..d69969f1a 100644 --- a/src/testing/test_testing_2dtorus.conf +++ b/src/testing_old/test_testing_2dtorus.conf | |||
@@ -53,7 +53,7 @@ PORT = 10003 | |||
53 | AUTOSTART = YES | 53 | AUTOSTART = YES |
54 | PORT = 10004 | 54 | PORT = 10004 |
55 | 55 | ||
56 | [testing] | 56 | [testing_old] |
57 | NUM_PEERS = 16 | 57 | NUM_PEERS = 16 |
58 | WEAKRANDOM = YES | 58 | WEAKRANDOM = YES |
59 | TOPOLOGY = 2D_TORUS | 59 | TOPOLOGY = 2D_TORUS |
diff --git a/src/testing/test_testing_connect.c b/src/testing_old/test_testing_connect.c index c69c20326..c69c20326 100644 --- a/src/testing/test_testing_connect.c +++ b/src/testing_old/test_testing_connect.c | |||
diff --git a/src/testing/test_testing_connect_peer1.conf b/src/testing_old/test_testing_connect_peer1.conf index cccda5e2a..cccda5e2a 100644 --- a/src/testing/test_testing_connect_peer1.conf +++ b/src/testing_old/test_testing_connect_peer1.conf | |||
diff --git a/src/testing/test_testing_connect_peer2.conf b/src/testing_old/test_testing_connect_peer2.conf index 08ec55113..08ec55113 100644 --- a/src/testing/test_testing_connect_peer2.conf +++ b/src/testing_old/test_testing_connect_peer2.conf | |||
diff --git a/src/testing/test_testing_data.conf b/src/testing_old/test_testing_data.conf index c46cb0d42..c46cb0d42 100644 --- a/src/testing/test_testing_data.conf +++ b/src/testing_old/test_testing_data.conf | |||
diff --git a/src/testing/test_testing_data_remote.conf b/src/testing_old/test_testing_data_remote.conf index d58666f31..477baad7e 100644 --- a/src/testing/test_testing_data_remote.conf +++ b/src/testing_old/test_testing_data_remote.conf | |||
@@ -2,7 +2,7 @@ | |||
2 | [PATHS] | 2 | [PATHS] |
3 | DEFAULTCONFIG = test_testing_data_remote.conf | 3 | DEFAULTCONFIG = test_testing_data_remote.conf |
4 | 4 | ||
5 | [TESTING] | 5 | [TESTING_old] |
6 | CONTROL_HOST = 127.0.0.1 | 6 | CONTROL_HOST = 127.0.0.1 |
7 | HOSTFILE = remote_hosts.txt | 7 | HOSTFILE = remote_hosts.txt |
8 | MAX_OUTSTANDING_SSH = 5 | 8 | MAX_OUTSTANDING_SSH = 5 |
diff --git a/src/testing/test_testing_data_topology_2d_torus.conf b/src/testing_old/test_testing_data_topology_2d_torus.conf index cbdaceb5a..62fff6925 100644 --- a/src/testing/test_testing_data_topology_2d_torus.conf +++ b/src/testing_old/test_testing_data_topology_2d_torus.conf | |||
@@ -2,6 +2,6 @@ | |||
2 | [PATHS] | 2 | [PATHS] |
3 | DEFAULTCONFIG = test_testing_data_topology_2d_torus.conf | 3 | DEFAULTCONFIG = test_testing_data_topology_2d_torus.conf |
4 | 4 | ||
5 | [TESTING] | 5 | [TESTING_old] |
6 | NUM_PEERS = 13 | 6 | NUM_PEERS = 13 |
7 | TOPOLOGY = 2D_TORUS | 7 | TOPOLOGY = 2D_TORUS |
diff --git a/src/testing/test_testing_data_topology_blacklist.conf b/src/testing_old/test_testing_data_topology_blacklist.conf index 36e378d42..28e61301a 100644 --- a/src/testing/test_testing_data_topology_blacklist.conf +++ b/src/testing_old/test_testing_data_topology_blacklist.conf | |||
@@ -2,7 +2,7 @@ | |||
2 | [PATHS] | 2 | [PATHS] |
3 | DEFAULTCONFIG = test_testing_data_topology_blacklist.conf | 3 | DEFAULTCONFIG = test_testing_data_topology_blacklist.conf |
4 | 4 | ||
5 | [TESTING] | 5 | [TESTING_old] |
6 | NUM_PEERS = 4 | 6 | NUM_PEERS = 4 |
7 | TOPOLOGY = CLIQUE | 7 | TOPOLOGY = CLIQUE |
8 | BLACKLIST_TOPOLOGY = RING | 8 | BLACKLIST_TOPOLOGY = RING |
diff --git a/src/testing/test_testing_data_topology_churn.conf b/src/testing_old/test_testing_data_topology_churn.conf index b3371658d..ae46bf0e6 100644 --- a/src/testing/test_testing_data_topology_churn.conf +++ b/src/testing_old/test_testing_data_topology_churn.conf | |||
@@ -2,7 +2,7 @@ | |||
2 | [PATHS] | 2 | [PATHS] |
3 | DEFAULTCONFIG = test_testing_data_topology_churn.conf | 3 | DEFAULTCONFIG = test_testing_data_topology_churn.conf |
4 | 4 | ||
5 | [TESTING] | 5 | [TESTING_old] |
6 | NUM_PEERS = 12 | 6 | NUM_PEERS = 12 |
7 | 7 | ||
8 | [arm] | 8 | [arm] |
diff --git a/src/testing/test_testing_data_topology_clique.conf b/src/testing_old/test_testing_data_topology_clique.conf index 69cecb7e9..c71a4b6c2 100644 --- a/src/testing/test_testing_data_topology_clique.conf +++ b/src/testing_old/test_testing_data_topology_clique.conf | |||
@@ -2,7 +2,7 @@ | |||
2 | [PATHS] | 2 | [PATHS] |
3 | DEFAULTCONFIG = test_testing_data_topology_clique.conf | 3 | DEFAULTCONFIG = test_testing_data_topology_clique.conf |
4 | 4 | ||
5 | [TESTING] | 5 | [TESTING_old] |
6 | CONNECT_TIMEOUT = 180 s | 6 | CONNECT_TIMEOUT = 180 s |
7 | CONNECT_ATTEMPTS = 14 | 7 | CONNECT_ATTEMPTS = 14 |
8 | NUM_PEERS = 4 | 8 | NUM_PEERS = 4 |
diff --git a/src/testing/test_testing_data_topology_clique_dfs.conf b/src/testing_old/test_testing_data_topology_clique_dfs.conf index c7abeae5e..349c398ed 100644 --- a/src/testing/test_testing_data_topology_clique_dfs.conf +++ b/src/testing_old/test_testing_data_topology_clique_dfs.conf | |||
@@ -2,7 +2,7 @@ | |||
2 | [PATHS] | 2 | [PATHS] |
3 | DEFAULTCONFIG = test_testing_data_topology_clique.conf | 3 | DEFAULTCONFIG = test_testing_data_topology_clique.conf |
4 | 4 | ||
5 | [TESTING] | 5 | [TESTING_old] |
6 | NUM_PEERS = 7 | 6 | NUM_PEERS = 7 |
7 | TOPOLOGY = CLIQUE | 7 | TOPOLOGY = CLIQUE |
8 | CONNECT_TOPOLOGY_OPTION = CONNECT_DFS | 8 | CONNECT_TOPOLOGY_OPTION = CONNECT_DFS |
diff --git a/src/testing/test_testing_data_topology_clique_minimum.conf b/src/testing_old/test_testing_data_topology_clique_minimum.conf index ef95cb1fd..8d8206d33 100644 --- a/src/testing/test_testing_data_topology_clique_minimum.conf +++ b/src/testing_old/test_testing_data_topology_clique_minimum.conf | |||
@@ -2,7 +2,7 @@ | |||
2 | [PATHS] | 2 | [PATHS] |
3 | DEFAULTCONFIG = test_testing_data_topology_clique.conf | 3 | DEFAULTCONFIG = test_testing_data_topology_clique.conf |
4 | 4 | ||
5 | [TESTING] | 5 | [TESTING_old] |
6 | NUM_PEERS = 20 | 6 | NUM_PEERS = 20 |
7 | TOPOLOGY = CLIQUE | 7 | TOPOLOGY = CLIQUE |
8 | CONNECT_TOPOLOGY_OPTION = CONNECT_MINIMUM | 8 | CONNECT_TOPOLOGY_OPTION = CONNECT_MINIMUM |
diff --git a/src/testing/test_testing_data_topology_clique_random.conf b/src/testing_old/test_testing_data_topology_clique_random.conf index cd44b65f0..d76175291 100644 --- a/src/testing/test_testing_data_topology_clique_random.conf +++ b/src/testing_old/test_testing_data_topology_clique_random.conf | |||
@@ -2,7 +2,7 @@ | |||
2 | [PATHS] | 2 | [PATHS] |
3 | DEFAULTCONFIG = test_testing_data_topology_clique.conf | 3 | DEFAULTCONFIG = test_testing_data_topology_clique.conf |
4 | 4 | ||
5 | [TESTING] | 5 | [TESTING_old] |
6 | NUM_PEERS = 20 | 6 | NUM_PEERS = 20 |
7 | TOPOLOGY = CLIQUE | 7 | TOPOLOGY = CLIQUE |
8 | CONNECT_TOPOLOGY_OPTION = CONNECT_RANDOM_SUBSET | 8 | CONNECT_TOPOLOGY_OPTION = CONNECT_RANDOM_SUBSET |
diff --git a/src/testing/test_testing_data_topology_erdos_renyi.conf b/src/testing_old/test_testing_data_topology_erdos_renyi.conf index 8e1741352..ece17e505 100644 --- a/src/testing/test_testing_data_topology_erdos_renyi.conf +++ b/src/testing_old/test_testing_data_topology_erdos_renyi.conf | |||
@@ -2,6 +2,6 @@ | |||
2 | [PATHS] | 2 | [PATHS] |
3 | DEFAULTCONFIG = test_testing_data_topology_clique.conf | 3 | DEFAULTCONFIG = test_testing_data_topology_clique.conf |
4 | 4 | ||
5 | [TESTING] | 5 | [TESTING_old] |
6 | TOPOLOGY = ERDOS_RENYI | 6 | TOPOLOGY = ERDOS_RENYI |
7 | 7 | ||
diff --git a/src/testing/test_testing_data_topology_internat.conf b/src/testing_old/test_testing_data_topology_internat.conf index af3f62f39..14475ce55 100644 --- a/src/testing/test_testing_data_topology_internat.conf +++ b/src/testing_old/test_testing_data_topology_internat.conf | |||
@@ -2,6 +2,6 @@ | |||
2 | [PATHS] | 2 | [PATHS] |
3 | DEFAULTCONFIG = test_testing_data_topology_clique.conf | 3 | DEFAULTCONFIG = test_testing_data_topology_clique.conf |
4 | 4 | ||
5 | [TESTING] | 5 | [TESTING_old] |
6 | TOPOLOGY = INTERNAT | 6 | TOPOLOGY = INTERNAT |
7 | 7 | ||
diff --git a/src/testing/test_testing_data_topology_none.conf b/src/testing_old/test_testing_data_topology_none.conf index dbee5d0b9..38e658680 100644 --- a/src/testing/test_testing_data_topology_none.conf +++ b/src/testing_old/test_testing_data_topology_none.conf | |||
@@ -2,7 +2,7 @@ | |||
2 | [PATHS] | 2 | [PATHS] |
3 | DEFAULTCONFIG = test_testing_data_topology_clique.conf | 3 | DEFAULTCONFIG = test_testing_data_topology_clique.conf |
4 | 4 | ||
5 | [TESTING] | 5 | [TESTING_old] |
6 | NUM_PEERS = 1000 | 6 | NUM_PEERS = 1000 |
7 | TOPOLOGY = NONE | 7 | TOPOLOGY = NONE |
8 | F2F = NO | 8 | F2F = NO |
diff --git a/src/testing/test_testing_data_topology_ring.conf b/src/testing_old/test_testing_data_topology_ring.conf index 6159030f4..5320ae068 100644 --- a/src/testing/test_testing_data_topology_ring.conf +++ b/src/testing_old/test_testing_data_topology_ring.conf | |||
@@ -2,6 +2,6 @@ | |||
2 | [PATHS] | 2 | [PATHS] |
3 | DEFAULTCONFIG = test_testing_data_topology_clique.conf | 3 | DEFAULTCONFIG = test_testing_data_topology_clique.conf |
4 | 4 | ||
5 | [TESTING] | 5 | [TESTING_old] |
6 | TOPOLOGY = RING | 6 | TOPOLOGY = RING |
7 | 7 | ||
diff --git a/src/testing/test_testing_data_topology_scale_free.conf b/src/testing_old/test_testing_data_topology_scale_free.conf index 7690eac29..ae7233588 100644 --- a/src/testing/test_testing_data_topology_scale_free.conf +++ b/src/testing_old/test_testing_data_topology_scale_free.conf | |||
@@ -2,7 +2,7 @@ | |||
2 | [PATHS] | 2 | [PATHS] |
3 | DEFAULTCONFIG = test_testing_data_topology_scale_free.conf | 3 | DEFAULTCONFIG = test_testing_data_topology_scale_free.conf |
4 | 4 | ||
5 | [TESTING] | 5 | [TESTING_old] |
6 | NUM_PEERS = 50 | 6 | NUM_PEERS = 50 |
7 | TOPOLOGY = SCALE_FREE | 7 | TOPOLOGY = SCALE_FREE |
8 | 8 | ||
diff --git a/src/testing/test_testing_data_topology_small_world_ring.conf b/src/testing_old/test_testing_data_topology_small_world_ring.conf index 01931df6d..10e398fa0 100644 --- a/src/testing/test_testing_data_topology_small_world_ring.conf +++ b/src/testing_old/test_testing_data_topology_small_world_ring.conf | |||
@@ -2,7 +2,7 @@ | |||
2 | [PATHS] | 2 | [PATHS] |
3 | DEFAULTCONFIG = test_testing_data_topology_clique.conf | 3 | DEFAULTCONFIG = test_testing_data_topology_clique.conf |
4 | 4 | ||
5 | [TESTING] | 5 | [TESTING_old] |
6 | NUM_PEERS = 25 | 6 | NUM_PEERS = 25 |
7 | TOPOLOGY = SMALL_WORLD_RING | 7 | TOPOLOGY = SMALL_WORLD_RING |
8 | 8 | ||
diff --git a/src/testing/test_testing_data_topology_small_world_torus.conf b/src/testing_old/test_testing_data_topology_small_world_torus.conf index 7c35454de..d5a58b760 100644 --- a/src/testing/test_testing_data_topology_small_world_torus.conf +++ b/src/testing_old/test_testing_data_topology_small_world_torus.conf | |||
@@ -2,6 +2,6 @@ | |||
2 | [PATHS] | 2 | [PATHS] |
3 | DEFAULTCONFIG = test_testing_data_topology_clique.conf | 3 | DEFAULTCONFIG = test_testing_data_topology_clique.conf |
4 | 4 | ||
5 | [TESTING] | 5 | [TESTING_old] |
6 | TOPOLOGY = SMALL_WORLD | 6 | TOPOLOGY = SMALL_WORLD |
7 | 7 | ||
diff --git a/src/testing/test_testing_data_topology_stability.conf b/src/testing_old/test_testing_data_topology_stability.conf index 1bfcd1bde..389c0aa25 100644 --- a/src/testing/test_testing_data_topology_stability.conf +++ b/src/testing_old/test_testing_data_topology_stability.conf | |||
@@ -2,7 +2,7 @@ | |||
2 | [PATHS] | 2 | [PATHS] |
3 | DEFAULTCONFIG = test_testing_data_topology_clique.conf | 3 | DEFAULTCONFIG = test_testing_data_topology_clique.conf |
4 | 4 | ||
5 | [TESTING] | 5 | [TESTING_old] |
6 | SETTLE_TIME = 600 s | 6 | SETTLE_TIME = 600 s |
7 | NUM_PEERS = 2 | 7 | NUM_PEERS = 2 |
8 | TOPOLOGY = CLIQUE | 8 | TOPOLOGY = CLIQUE |
diff --git a/src/testing/test_testing_defaults.conf b/src/testing_old/test_testing_defaults.conf index ba7e269a6..a89064f81 100644 --- a/src/testing/test_testing_defaults.conf +++ b/src/testing_old/test_testing_defaults.conf | |||
@@ -26,7 +26,7 @@ PORT = 2569 | |||
26 | [core] | 26 | [core] |
27 | PORT = 2570 | 27 | PORT = 2570 |
28 | 28 | ||
29 | [testing] | 29 | [testing_old] |
30 | NUM_PEERS = 5 | 30 | NUM_PEERS = 5 |
31 | WEAKRANDOM = YES | 31 | WEAKRANDOM = YES |
32 | F2F = YES | 32 | F2F = YES |
diff --git a/src/testing/test_testing_group.c b/src/testing_old/test_testing_group.c index f5df45b19..f5df45b19 100644 --- a/src/testing/test_testing_group.c +++ b/src/testing_old/test_testing_group.c | |||
diff --git a/src/testing/test_testing_group_remote.c b/src/testing_old/test_testing_group_remote.c index b06655ca4..b06655ca4 100644 --- a/src/testing/test_testing_group_remote.c +++ b/src/testing_old/test_testing_group_remote.c | |||
diff --git a/src/testing/test_testing_large_topology.c b/src/testing_old/test_testing_large_topology.c index cd80db195..cd80db195 100644 --- a/src/testing/test_testing_large_topology.c +++ b/src/testing_old/test_testing_large_topology.c | |||
diff --git a/src/testing/test_testing_peergroup.c b/src/testing_old/test_testing_peergroup.c index 061a0ca75..061a0ca75 100644 --- a/src/testing/test_testing_peergroup.c +++ b/src/testing_old/test_testing_peergroup.c | |||
diff --git a/src/testing/test_testing_peergroup_data.conf b/src/testing_old/test_testing_peergroup_data.conf index 6eadede95..880cebf86 100644 --- a/src/testing/test_testing_peergroup_data.conf +++ b/src/testing_old/test_testing_peergroup_data.conf | |||
@@ -2,7 +2,7 @@ | |||
2 | [PATHS] | 2 | [PATHS] |
3 | DEFAULTCONFIG = test_testing_peergroup_data.conf | 3 | DEFAULTCONFIG = test_testing_peergroup_data.conf |
4 | 4 | ||
5 | [TESTING] | 5 | [TESTING_old] |
6 | CONNECT_ATTEMPTS = 2 | 6 | CONNECT_ATTEMPTS = 2 |
7 | MAX_OUTSTANDING_CONNECTIONS = 20 | 7 | MAX_OUTSTANDING_CONNECTIONS = 20 |
8 | MAX_CONCURRENT_SSH = 1 | 8 | MAX_CONCURRENT_SSH = 1 |
diff --git a/src/testing/test_testing_reconnect.c b/src/testing_old/test_testing_reconnect.c index bcee38659..bcee38659 100644 --- a/src/testing/test_testing_reconnect.c +++ b/src/testing_old/test_testing_reconnect.c | |||
diff --git a/src/testing/test_testing_topology.c b/src/testing_old/test_testing_topology.c index 94cbc0df6..94cbc0df6 100644 --- a/src/testing/test_testing_topology.c +++ b/src/testing_old/test_testing_topology.c | |||
diff --git a/src/testing/test_testing_topology_blacklist.c b/src/testing_old/test_testing_topology_blacklist.c index c90f48d9b..c90f48d9b 100644 --- a/src/testing/test_testing_topology_blacklist.c +++ b/src/testing_old/test_testing_topology_blacklist.c | |||
diff --git a/src/testing/test_testing_topology_churn.c b/src/testing_old/test_testing_topology_churn.c index 9c0bbf27d..9c0bbf27d 100644 --- a/src/testing/test_testing_topology_churn.c +++ b/src/testing_old/test_testing_topology_churn.c | |||
diff --git a/src/testing/testing.c b/src/testing_old/testing.c index a80ad25cf..5456d56cb 100644 --- a/src/testing/testing.c +++ b/src/testing_old/testing.c | |||
@@ -1150,7 +1150,7 @@ GNUNET_TESTING_daemon_start (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
1150 | username = GNUNET_strdup (ssh_username); | 1150 | username = GNUNET_strdup (ssh_username); |
1151 | if ((ssh_username == NULL) && | 1151 | if ((ssh_username == NULL) && |
1152 | (GNUNET_OK != | 1152 | (GNUNET_OK != |
1153 | GNUNET_CONFIGURATION_get_value_string (cfg, "TESTING", "USERNAME", | 1153 | GNUNET_CONFIGURATION_get_value_string (cfg, "TESTING_OLD", "USERNAME", |
1154 | &username))) | 1154 | &username))) |
1155 | { | 1155 | { |
1156 | if (NULL != getenv ("USER")) | 1156 | if (NULL != getenv ("USER")) |
diff --git a/src/testing_old/testing.conf b/src/testing_old/testing.conf new file mode 100644 index 000000000..7e25f8c13 --- /dev/null +++ b/src/testing_old/testing.conf | |||
@@ -0,0 +1,11 @@ | |||
1 | [TESTING] | ||
2 | # How long before failing a connection? | ||
3 | CONNECT_TIMEOUT = 30 s | ||
4 | # How many connect attempts should we make? | ||
5 | CONNECT_ATTEMPTS = 3 | ||
6 | # How many connections can happen simultaneously? | ||
7 | MAX_OUTSTANDING_CONNECTIONS = 50 | ||
8 | |||
9 | # Should we clean up the files on peer group shutdown? | ||
10 | DELETE_FILES = YES | ||
11 | |||
diff --git a/src/testing/testing_group.c b/src/testing_old/testing_group.c index 75c0e617d..3ba7c5cce 100644 --- a/src/testing/testing_group.c +++ b/src/testing_old/testing_group.c | |||
@@ -1355,7 +1355,7 @@ update_config (void *cls, const char *section, const char *option, | |||
1355 | { | 1355 | { |
1356 | if ((ival != 0) && | 1356 | if ((ival != 0) && |
1357 | (GNUNET_YES != | 1357 | (GNUNET_YES != |
1358 | GNUNET_CONFIGURATION_get_value_yesno (ctx->orig, "testing", | 1358 | GNUNET_CONFIGURATION_get_value_yesno (ctx->orig, "testing_old", |
1359 | single_variable))) | 1359 | single_variable))) |
1360 | { | 1360 | { |
1361 | GNUNET_snprintf (cval, sizeof (cval), "%u", ctx->nport++); | 1361 | GNUNET_snprintf (cval, sizeof (cval), "%u", ctx->nport++); |
@@ -1363,9 +1363,9 @@ update_config (void *cls, const char *section, const char *option, | |||
1363 | } | 1363 | } |
1364 | else if ((ival != 0) && | 1364 | else if ((ival != 0) && |
1365 | (GNUNET_YES == | 1365 | (GNUNET_YES == |
1366 | GNUNET_CONFIGURATION_get_value_yesno (ctx->orig, "testing", | 1366 | GNUNET_CONFIGURATION_get_value_yesno (ctx->orig, "testing_old", |
1367 | single_variable)) && | 1367 | single_variable)) && |
1368 | GNUNET_CONFIGURATION_get_value_number (ctx->orig, "testing", | 1368 | GNUNET_CONFIGURATION_get_value_number (ctx->orig, "testing_old", |
1369 | per_host_variable, | 1369 | per_host_variable, |
1370 | &num_per_host)) | 1370 | &num_per_host)) |
1371 | { | 1371 | { |
@@ -1383,7 +1383,7 @@ update_config (void *cls, const char *section, const char *option, | |||
1383 | if (0 == strcmp (option, "UNIXPATH")) | 1383 | if (0 == strcmp (option, "UNIXPATH")) |
1384 | { | 1384 | { |
1385 | if (GNUNET_YES != | 1385 | if (GNUNET_YES != |
1386 | GNUNET_CONFIGURATION_get_value_yesno (ctx->orig, "testing", | 1386 | GNUNET_CONFIGURATION_get_value_yesno (ctx->orig, "testing_old", |
1387 | single_variable)) | 1387 | single_variable)) |
1388 | { | 1388 | { |
1389 | GNUNET_snprintf (uval, sizeof (uval), "/tmp/test-service-%s-%u", section, | 1389 | GNUNET_snprintf (uval, sizeof (uval), "/tmp/test-service-%s-%u", section, |
@@ -1391,7 +1391,7 @@ update_config (void *cls, const char *section, const char *option, | |||
1391 | value = uval; | 1391 | value = uval; |
1392 | } | 1392 | } |
1393 | else if ((GNUNET_YES == | 1393 | else if ((GNUNET_YES == |
1394 | GNUNET_CONFIGURATION_get_value_number (ctx->orig, "testing", | 1394 | GNUNET_CONFIGURATION_get_value_number (ctx->orig, "testing_old", |
1395 | per_host_variable, | 1395 | per_host_variable, |
1396 | &num_per_host)) && | 1396 | &num_per_host)) && |
1397 | (num_per_host > 0)) | 1397 | (num_per_host > 0)) |
@@ -1459,7 +1459,7 @@ GNUNET_TESTING_create_cfg (const struct GNUNET_CONFIGURATION_Handle *cfg, uint32 | |||
1459 | } | 1459 | } |
1460 | 1460 | ||
1461 | if ((GNUNET_OK == | 1461 | if ((GNUNET_OK == |
1462 | GNUNET_CONFIGURATION_get_value_number (cfg, "testing", "skew_variance", | 1462 | GNUNET_CONFIGURATION_get_value_number (cfg, "testing_old", "skew_variance", |
1463 | &skew_variance)) && | 1463 | &skew_variance)) && |
1464 | (skew_variance > 0)) | 1464 | (skew_variance > 0)) |
1465 | { | 1465 | { |
@@ -1471,12 +1471,12 @@ GNUNET_TESTING_create_cfg (const struct GNUNET_CONFIGURATION_Handle *cfg, uint32 | |||
1471 | skew_variance + 1); | 1471 | skew_variance + 1); |
1472 | /* Min is -skew_variance, Max is skew_variance */ | 1472 | /* Min is -skew_variance, Max is skew_variance */ |
1473 | skew_offset = skew_variance + actual_offset; /* Normal distribution around 0 */ | 1473 | skew_offset = skew_variance + actual_offset; /* Normal distribution around 0 */ |
1474 | GNUNET_CONFIGURATION_set_value_number (uc.ret, "testing", "skew_offset", | 1474 | GNUNET_CONFIGURATION_set_value_number (uc.ret, "testing_old", "skew_offset", |
1475 | skew_offset); | 1475 | skew_offset); |
1476 | } | 1476 | } |
1477 | 1477 | ||
1478 | if (GNUNET_CONFIGURATION_get_value_string | 1478 | if (GNUNET_CONFIGURATION_get_value_string |
1479 | (cfg, "testing", "control_host", &control_host) == GNUNET_OK) | 1479 | (cfg, "testing_old", "control_host", &control_host) == GNUNET_OK) |
1480 | { | 1480 | { |
1481 | if (hostname != NULL) | 1481 | if (hostname != NULL) |
1482 | GNUNET_asprintf (&allowed_hosts, "%s; 127.0.0.1; %s;", control_host, | 1482 | GNUNET_asprintf (&allowed_hosts, "%s; 127.0.0.1; %s;", control_host, |
@@ -1886,26 +1886,26 @@ create_small_world_ring (struct GNUNET_TESTING_PeerGroup *pg, | |||
1886 | 1886 | ||
1887 | logNModifier = 0.5; /* FIXME: default value? */ | 1887 | logNModifier = 0.5; /* FIXME: default value? */ |
1888 | if (GNUNET_OK == | 1888 | if (GNUNET_OK == |
1889 | GNUNET_CONFIGURATION_get_value_string (pg->cfg, "TESTING", "PERCENTAGE", | 1889 | GNUNET_CONFIGURATION_get_value_string (pg->cfg, "TESTING_OLD", "PERCENTAGE", |
1890 | &p_string)) | 1890 | &p_string)) |
1891 | { | 1891 | { |
1892 | if (SSCANF (p_string, "%lf", &logNModifier) != 1) | 1892 | if (SSCANF (p_string, "%lf", &logNModifier) != 1) |
1893 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 1893 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
1894 | _ | 1894 | _ |
1895 | ("Invalid value `%s' for option `%s' in section `%s': expected float\n"), | 1895 | ("Invalid value `%s' for option `%s' in section `%s': expected float\n"), |
1896 | p_string, "LOGNMODIFIER", "TESTING"); | 1896 | p_string, "LOGNMODIFIER", "TESTING_OLD"); |
1897 | GNUNET_free (p_string); | 1897 | GNUNET_free (p_string); |
1898 | } | 1898 | } |
1899 | probability = 0.5; /* FIXME: default percentage? */ | 1899 | probability = 0.5; /* FIXME: default percentage? */ |
1900 | if (GNUNET_OK == | 1900 | if (GNUNET_OK == |
1901 | GNUNET_CONFIGURATION_get_value_string (pg->cfg, "TESTING", "PROBABILITY", | 1901 | GNUNET_CONFIGURATION_get_value_string (pg->cfg, "TESTING_OLD", "PROBABILITY", |
1902 | &p_string)) | 1902 | &p_string)) |
1903 | { | 1903 | { |
1904 | if (SSCANF (p_string, "%lf", &probability) != 1) | 1904 | if (SSCANF (p_string, "%lf", &probability) != 1) |
1905 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 1905 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
1906 | _ | 1906 | _ |
1907 | ("Invalid value `%s' for option `%s' in section `%s': expected float\n"), | 1907 | ("Invalid value `%s' for option `%s' in section `%s': expected float\n"), |
1908 | p_string, "PERCENTAGE", "TESTING"); | 1908 | p_string, "PERCENTAGE", "TESTING_OLD"); |
1909 | GNUNET_free (p_string); | 1909 | GNUNET_free (p_string); |
1910 | } | 1910 | } |
1911 | natLog = log (pg->total); | 1911 | natLog = log (pg->total); |
@@ -1999,14 +1999,14 @@ create_nated_internet (struct GNUNET_TESTING_PeerGroup *pg, | |||
1999 | 1999 | ||
2000 | nat_percentage = 0.6; /* FIXME: default percentage? */ | 2000 | nat_percentage = 0.6; /* FIXME: default percentage? */ |
2001 | if (GNUNET_OK == | 2001 | if (GNUNET_OK == |
2002 | GNUNET_CONFIGURATION_get_value_string (pg->cfg, "TESTING", "PERCENTAGE", | 2002 | GNUNET_CONFIGURATION_get_value_string (pg->cfg, "TESTING_OLD", "PERCENTAGE", |
2003 | &p_string)) | 2003 | &p_string)) |
2004 | { | 2004 | { |
2005 | if (SSCANF (p_string, "%lf", &nat_percentage) != 1) | 2005 | if (SSCANF (p_string, "%lf", &nat_percentage) != 1) |
2006 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 2006 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
2007 | _ | 2007 | _ |
2008 | ("Invalid value `%s' for option `%s' in section `%s': expected float\n"), | 2008 | ("Invalid value `%s' for option `%s' in section `%s': expected float\n"), |
2009 | p_string, "PERCENTAGE", "TESTING"); | 2009 | p_string, "PERCENTAGE", "TESTING_OLD"); |
2010 | GNUNET_free (p_string); | 2010 | GNUNET_free (p_string); |
2011 | } | 2011 | } |
2012 | 2012 | ||
@@ -2056,14 +2056,14 @@ create_nated_internet_copy (struct GNUNET_TESTING_PeerGroup *pg, | |||
2056 | 2056 | ||
2057 | nat_percentage = 0.6; /* FIXME: default percentage? */ | 2057 | nat_percentage = 0.6; /* FIXME: default percentage? */ |
2058 | if (GNUNET_OK == | 2058 | if (GNUNET_OK == |
2059 | GNUNET_CONFIGURATION_get_value_string (pg->cfg, "TESTING", "PERCENTAGE", | 2059 | GNUNET_CONFIGURATION_get_value_string (pg->cfg, "TESTING_OLD", "PERCENTAGE", |
2060 | &p_string)) | 2060 | &p_string)) |
2061 | { | 2061 | { |
2062 | if (SSCANF (p_string, "%lf", &nat_percentage) != 1) | 2062 | if (SSCANF (p_string, "%lf", &nat_percentage) != 1) |
2063 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 2063 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
2064 | _ | 2064 | _ |
2065 | ("Invalid value `%s' for option `%s' in section `%s': expected float\n"), | 2065 | ("Invalid value `%s' for option `%s' in section `%s': expected float\n"), |
2066 | p_string, "PERCENTAGE", "TESTING"); | 2066 | p_string, "PERCENTAGE", "TESTING_OLD"); |
2067 | GNUNET_free (p_string); | 2067 | GNUNET_free (p_string); |
2068 | } | 2068 | } |
2069 | 2069 | ||
@@ -2143,14 +2143,14 @@ create_small_world (struct GNUNET_TESTING_PeerGroup *pg, | |||
2143 | 2143 | ||
2144 | percentage = 0.5; /* FIXME: default percentage? */ | 2144 | percentage = 0.5; /* FIXME: default percentage? */ |
2145 | if (GNUNET_OK == | 2145 | if (GNUNET_OK == |
2146 | GNUNET_CONFIGURATION_get_value_string (pg->cfg, "TESTING", "PERCENTAGE", | 2146 | GNUNET_CONFIGURATION_get_value_string (pg->cfg, "TESTING_OLD", "PERCENTAGE", |
2147 | &p_string)) | 2147 | &p_string)) |
2148 | { | 2148 | { |
2149 | if (SSCANF (p_string, "%lf", &percentage) != 1) | 2149 | if (SSCANF (p_string, "%lf", &percentage) != 1) |
2150 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 2150 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
2151 | _ | 2151 | _ |
2152 | ("Invalid value `%s' for option `%s' in section `%s': expected float\n"), | 2152 | ("Invalid value `%s' for option `%s' in section `%s': expected float\n"), |
2153 | p_string, "PERCENTAGE", "TESTING"); | 2153 | p_string, "PERCENTAGE", "TESTING_OLD"); |
2154 | GNUNET_free (p_string); | 2154 | GNUNET_free (p_string); |
2155 | } | 2155 | } |
2156 | if (percentage < 0.0) | 2156 | if (percentage < 0.0) |
@@ -2158,19 +2158,19 @@ create_small_world (struct GNUNET_TESTING_PeerGroup *pg, | |||
2158 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 2158 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
2159 | _ | 2159 | _ |
2160 | ("Invalid value `%s' for option `%s' in section `%s': got %f, needed value greater than 0\n"), | 2160 | ("Invalid value `%s' for option `%s' in section `%s': got %f, needed value greater than 0\n"), |
2161 | "PERCENTAGE", "TESTING", percentage); | 2161 | "PERCENTAGE", "TESTING_OLD", percentage); |
2162 | percentage = 0.5; | 2162 | percentage = 0.5; |
2163 | } | 2163 | } |
2164 | probability = 0.5; /* FIXME: default percentage? */ | 2164 | probability = 0.5; /* FIXME: default percentage? */ |
2165 | if (GNUNET_OK == | 2165 | if (GNUNET_OK == |
2166 | GNUNET_CONFIGURATION_get_value_string (pg->cfg, "TESTING", "PROBABILITY", | 2166 | GNUNET_CONFIGURATION_get_value_string (pg->cfg, "TESTING_OLD", "PROBABILITY", |
2167 | &p_string)) | 2167 | &p_string)) |
2168 | { | 2168 | { |
2169 | if (SSCANF (p_string, "%lf", &probability) != 1) | 2169 | if (SSCANF (p_string, "%lf", &probability) != 1) |
2170 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 2170 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
2171 | _ | 2171 | _ |
2172 | ("Invalid value `%s' for option `%s' in section `%s': expected float\n"), | 2172 | ("Invalid value `%s' for option `%s' in section `%s': expected float\n"), |
2173 | p_string, "PROBABILITY", "TESTING"); | 2173 | p_string, "PROBABILITY", "TESTING_OLD"); |
2174 | GNUNET_free (p_string); | 2174 | GNUNET_free (p_string); |
2175 | } | 2175 | } |
2176 | if (square * square != pg->total) | 2176 | if (square * square != pg->total) |
@@ -2293,14 +2293,14 @@ create_erdos_renyi (struct GNUNET_TESTING_PeerGroup *pg, | |||
2293 | 2293 | ||
2294 | probability = 0.5; /* FIXME: default percentage? */ | 2294 | probability = 0.5; /* FIXME: default percentage? */ |
2295 | if (GNUNET_OK == | 2295 | if (GNUNET_OK == |
2296 | GNUNET_CONFIGURATION_get_value_string (pg->cfg, "TESTING", "PROBABILITY", | 2296 | GNUNET_CONFIGURATION_get_value_string (pg->cfg, "TESTING_OLD", "PROBABILITY", |
2297 | &p_string)) | 2297 | &p_string)) |
2298 | { | 2298 | { |
2299 | if (SSCANF (p_string, "%lf", &probability) != 1) | 2299 | if (SSCANF (p_string, "%lf", &probability) != 1) |
2300 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 2300 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
2301 | _ | 2301 | _ |
2302 | ("Invalid value `%s' for option `%s' in section `%s': expected float\n"), | 2302 | ("Invalid value `%s' for option `%s' in section `%s': expected float\n"), |
2303 | p_string, "PROBABILITY", "TESTING"); | 2303 | p_string, "PROBABILITY", "TESTING_OLD"); |
2304 | GNUNET_free (p_string); | 2304 | GNUNET_free (p_string); |
2305 | } | 2305 | } |
2306 | connect_attempts = 0; | 2306 | connect_attempts = 0; |
@@ -3940,7 +3940,7 @@ GNUNET_TESTING_create_topology (struct GNUNET_TESTING_PeerGroup *pg, | |||
3940 | case GNUNET_TESTING_TOPOLOGY_FROM_FILE: | 3940 | case GNUNET_TESTING_TOPOLOGY_FROM_FILE: |
3941 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Creating topology from file!\n"); | 3941 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Creating topology from file!\n"); |
3942 | if (GNUNET_OK == | 3942 | if (GNUNET_OK == |
3943 | GNUNET_CONFIGURATION_get_value_string (pg->cfg, "testing", | 3943 | GNUNET_CONFIGURATION_get_value_string (pg->cfg, "testing_old", |
3944 | "topology_file", &filename)) | 3944 | "topology_file", &filename)) |
3945 | num_connections = | 3945 | num_connections = |
3946 | create_from_file (pg, filename, &add_connections, ALLOWED); | 3946 | create_from_file (pg, filename, &add_connections, ALLOWED); |
@@ -3963,7 +3963,7 @@ GNUNET_TESTING_create_topology (struct GNUNET_TESTING_PeerGroup *pg, | |||
3963 | } | 3963 | } |
3964 | 3964 | ||
3965 | if (GNUNET_YES == | 3965 | if (GNUNET_YES == |
3966 | GNUNET_CONFIGURATION_get_value_yesno (pg->cfg, "TESTING", "F2F")) | 3966 | GNUNET_CONFIGURATION_get_value_yesno (pg->cfg, "TESTING_OLD", "F2F")) |
3967 | { | 3967 | { |
3968 | ret = create_and_copy_friend_files (pg); | 3968 | ret = create_and_copy_friend_files (pg); |
3969 | if (ret != GNUNET_OK) | 3969 | if (ret != GNUNET_OK) |
@@ -4954,7 +4954,7 @@ schedule_get_statistics (void *cls, | |||
4954 | { | 4954 | { |
4955 | stats_context->connected++; | 4955 | stats_context->connected++; |
4956 | core_context->stats_handle = | 4956 | core_context->stats_handle = |
4957 | GNUNET_STATISTICS_create ("testing", core_context->daemon->cfg); | 4957 | GNUNET_STATISTICS_create ("testing_old", core_context->daemon->cfg); |
4958 | if (core_context->stats_handle == NULL) | 4958 | if (core_context->stats_handle == NULL) |
4959 | { | 4959 | { |
4960 | internal_stats_cont (core_context, GNUNET_NO); | 4960 | internal_stats_cont (core_context, GNUNET_NO); |
@@ -5007,7 +5007,7 @@ stats_check_existing (struct GNUNET_TESTING_PeerGroup *pg, | |||
5007 | char *to_match; | 5007 | char *to_match; |
5008 | 5008 | ||
5009 | if (GNUNET_YES != | 5009 | if (GNUNET_YES != |
5010 | GNUNET_CONFIGURATION_get_value_yesno (pg->cfg, "testing", | 5010 | GNUNET_CONFIGURATION_get_value_yesno (pg->cfg, "testing_old", |
5011 | "single_statistics_per_host")) | 5011 | "single_statistics_per_host")) |
5012 | return GNUNET_NO; /* Each peer has its own statistics instance, do nothing! */ | 5012 | return GNUNET_NO; /* Each peer has its own statistics instance, do nothing! */ |
5013 | 5013 | ||
@@ -5936,7 +5936,7 @@ GNUNET_TESTING_daemons_start (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
5936 | baseservicehome = NULL; | 5936 | baseservicehome = NULL; |
5937 | 5937 | ||
5938 | if (GNUNET_YES == | 5938 | if (GNUNET_YES == |
5939 | GNUNET_CONFIGURATION_get_value_string (cfg, "TESTING", "HOSTKEYSFILE", | 5939 | GNUNET_CONFIGURATION_get_value_string (cfg, "TESTING_OLD", "HOSTKEYSFILE", |
5940 | &hostkeys_file)) | 5940 | &hostkeys_file)) |
5941 | { | 5941 | { |
5942 | if (GNUNET_YES != GNUNET_DISK_file_test (hostkeys_file)) | 5942 | if (GNUNET_YES != GNUNET_DISK_file_test (hostkeys_file)) |
@@ -6857,7 +6857,7 @@ GNUNET_TESTING_hosts_load (const struct GNUNET_CONFIGURATION_Handle *cfg) | |||
6857 | 6857 | ||
6858 | /* Check for a hostfile containing user@host:port triples */ | 6858 | /* Check for a hostfile containing user@host:port triples */ |
6859 | if (GNUNET_OK != | 6859 | if (GNUNET_OK != |
6860 | GNUNET_CONFIGURATION_get_value_string (cfg, "testing", "hostfile", | 6860 | GNUNET_CONFIGURATION_get_value_string (cfg, "testing_old", "hostfile", |
6861 | &hostfile)) | 6861 | &hostfile)) |
6862 | return NULL; | 6862 | return NULL; |
6863 | 6863 | ||
@@ -6967,7 +6967,7 @@ GNUNET_TESTING_daemons_stop (struct GNUNET_TESTING_PeerGroup *pg, | |||
6967 | 6967 | ||
6968 | shutdown_ctx = GNUNET_malloc (sizeof (struct ShutdownContext)); | 6968 | shutdown_ctx = GNUNET_malloc (sizeof (struct ShutdownContext)); |
6969 | shutdown_ctx->delete_files = | 6969 | shutdown_ctx->delete_files = |
6970 | GNUNET_CONFIGURATION_get_value_yesno (pg->cfg, "TESTING", "DELETE_FILES"); | 6970 | GNUNET_CONFIGURATION_get_value_yesno (pg->cfg, "TESTING_OLD", "DELETE_FILES"); |
6971 | shutdown_ctx->cb = cb; | 6971 | shutdown_ctx->cb = cb; |
6972 | shutdown_ctx->cb_cls = cb_cls; | 6972 | shutdown_ctx->cb_cls = cb_cls; |
6973 | shutdown_ctx->total_peers = pg->total; | 6973 | shutdown_ctx->total_peers = pg->total; |
diff --git a/src/testing/testing_peergroup.c b/src/testing_old/testing_peergroup.c index 87504ed6d..d4451ccdf 100644 --- a/src/testing/testing_peergroup.c +++ b/src/testing_old/testing_peergroup.c | |||
@@ -793,61 +793,61 @@ GNUNET_TESTING_peergroup_start (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
793 | pg_start_ctx = GNUNET_malloc (sizeof (struct PeerGroupStartupContext)); | 793 | pg_start_ctx = GNUNET_malloc (sizeof (struct PeerGroupStartupContext)); |
794 | 794 | ||
795 | if (GNUNET_OK != | 795 | if (GNUNET_OK != |
796 | GNUNET_CONFIGURATION_get_value_number (cfg, "testing", "connect_attempts", | 796 | GNUNET_CONFIGURATION_get_value_number (cfg, "testing_old", "connect_attempts", |
797 | &pg_start_ctx->connect_attempts)) | 797 | &pg_start_ctx->connect_attempts)) |
798 | { | 798 | { |
799 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Must provide option %s:%s!\n", | 799 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Must provide option %s:%s!\n", |
800 | "testing", "connect_attempts"); | 800 | "testing_old", "connect_attempts"); |
801 | GNUNET_free (pg_start_ctx); | 801 | GNUNET_free (pg_start_ctx); |
802 | return NULL; | 802 | return NULL; |
803 | } | 803 | } |
804 | 804 | ||
805 | if (GNUNET_OK != | 805 | if (GNUNET_OK != |
806 | GNUNET_CONFIGURATION_get_value_time (cfg, "testing", "CONNECT_TIMEOUT", | 806 | GNUNET_CONFIGURATION_get_value_time (cfg, "testing_old", "CONNECT_TIMEOUT", |
807 | &pg_start_ctx->connect_timeout)) | 807 | &pg_start_ctx->connect_timeout)) |
808 | { | 808 | { |
809 | pg_start_ctx->connect_timeout = DEFAULT_CONNECT_TIMEOUT; | 809 | pg_start_ctx->connect_timeout = DEFAULT_CONNECT_TIMEOUT; |
810 | } | 810 | } |
811 | 811 | ||
812 | if (GNUNET_OK != | 812 | if (GNUNET_OK != |
813 | GNUNET_CONFIGURATION_get_value_number (cfg, "testing", | 813 | GNUNET_CONFIGURATION_get_value_number (cfg, "testing_old", |
814 | "max_outstanding_connections", | 814 | "max_outstanding_connections", |
815 | &pg_start_ctx->max_concurrent_connections)) | 815 | &pg_start_ctx->max_concurrent_connections)) |
816 | { | 816 | { |
817 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Must provide option %s:%s!\n", | 817 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Must provide option %s:%s!\n", |
818 | "testing", "max_outstanding_connections"); | 818 | "testing_old", "max_outstanding_connections"); |
819 | GNUNET_free (pg_start_ctx); | 819 | GNUNET_free (pg_start_ctx); |
820 | return NULL; | 820 | return NULL; |
821 | } | 821 | } |
822 | 822 | ||
823 | if (GNUNET_OK != | 823 | if (GNUNET_OK != |
824 | GNUNET_CONFIGURATION_get_value_number (cfg, "testing", | 824 | GNUNET_CONFIGURATION_get_value_number (cfg, "testing_old", |
825 | "max_concurrent_ssh", | 825 | "max_concurrent_ssh", |
826 | &pg_start_ctx->max_concurrent_ssh)) | 826 | &pg_start_ctx->max_concurrent_ssh)) |
827 | { | 827 | { |
828 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Must provide option %s:%s!\n", | 828 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Must provide option %s:%s!\n", |
829 | "testing", "max_concurrent_ssh"); | 829 | "testing_old", "max_concurrent_ssh"); |
830 | GNUNET_free (pg_start_ctx); | 830 | GNUNET_free (pg_start_ctx); |
831 | return NULL; | 831 | return NULL; |
832 | } | 832 | } |
833 | 833 | ||
834 | if (GNUNET_SYSERR == | 834 | if (GNUNET_SYSERR == |
835 | (pg_start_ctx->verbose = | 835 | (pg_start_ctx->verbose = |
836 | GNUNET_CONFIGURATION_get_value_yesno (cfg, "testing", | 836 | GNUNET_CONFIGURATION_get_value_yesno (cfg, "testing_old", |
837 | "use_progressbars"))) | 837 | "use_progressbars"))) |
838 | { | 838 | { |
839 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Must provide option %s:%s!\n", | 839 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Must provide option %s:%s!\n", |
840 | "testing", "use_progressbars"); | 840 | "testing_old", "use_progressbars"); |
841 | GNUNET_free (pg_start_ctx); | 841 | GNUNET_free (pg_start_ctx); |
842 | return NULL; | 842 | return NULL; |
843 | } | 843 | } |
844 | 844 | ||
845 | if (GNUNET_OK != | 845 | if (GNUNET_OK != |
846 | GNUNET_CONFIGURATION_get_value_time (cfg, "testing", "PEERGROUP_TIMEOUT", | 846 | GNUNET_CONFIGURATION_get_value_time (cfg, "testing_old", "PEERGROUP_TIMEOUT", |
847 | &rtimeout)) | 847 | &rtimeout)) |
848 | { | 848 | { |
849 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Must provide option %s:%s!\n", | 849 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Must provide option %s:%s!\n", |
850 | "testing", "PEERGROUP_TIMEOUT"); | 850 | "testing_old", "PEERGROUP_TIMEOUT"); |
851 | GNUNET_free (pg_start_ctx); | 851 | GNUNET_free (pg_start_ctx); |
852 | return NULL; | 852 | return NULL; |
853 | } | 853 | } |
@@ -857,20 +857,20 @@ GNUNET_TESTING_peergroup_start (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
857 | /* Read topology related options from the configuration file */ | 857 | /* Read topology related options from the configuration file */ |
858 | temp_str = NULL; | 858 | temp_str = NULL; |
859 | if ((GNUNET_YES == | 859 | if ((GNUNET_YES == |
860 | GNUNET_CONFIGURATION_get_value_string (cfg, "testing", "topology", | 860 | GNUNET_CONFIGURATION_get_value_string (cfg, "testing_old", "topology", |
861 | &temp_str)) && | 861 | &temp_str)) && |
862 | (GNUNET_NO == | 862 | (GNUNET_NO == |
863 | GNUNET_TESTING_topology_get (&pg_start_ctx->topology, temp_str))) | 863 | GNUNET_TESTING_topology_get (&pg_start_ctx->topology, temp_str))) |
864 | { | 864 | { |
865 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 865 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
866 | "Invalid topology `%s' given for section %s option %s\n", | 866 | "Invalid topology `%s' given for section %s option %s\n", |
867 | temp_str, "TESTING", "TOPOLOGY"); | 867 | temp_str, "TESTING_old", "TOPOLOGY"); |
868 | pg_start_ctx->topology = GNUNET_TESTING_TOPOLOGY_CLIQUE; /* Defaults to NONE, so set better default here */ | 868 | pg_start_ctx->topology = GNUNET_TESTING_TOPOLOGY_CLIQUE; /* Defaults to NONE, so set better default here */ |
869 | } | 869 | } |
870 | GNUNET_free_non_null (temp_str); | 870 | GNUNET_free_non_null (temp_str); |
871 | 871 | ||
872 | if (GNUNET_YES == | 872 | if (GNUNET_YES == |
873 | GNUNET_CONFIGURATION_get_value_string (cfg, "testing", | 873 | GNUNET_CONFIGURATION_get_value_string (cfg, "testing_old", |
874 | "topology_output_file", &temp_str)) | 874 | "topology_output_file", &temp_str)) |
875 | { | 875 | { |
876 | pg_start_ctx->topology_output_file = | 876 | pg_start_ctx->topology_output_file = |
@@ -891,7 +891,7 @@ GNUNET_TESTING_peergroup_start (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
891 | } | 891 | } |
892 | 892 | ||
893 | if (GNUNET_OK != | 893 | if (GNUNET_OK != |
894 | GNUNET_CONFIGURATION_get_value_string (cfg, "testing", "percentage", | 894 | GNUNET_CONFIGURATION_get_value_string (cfg, "testing_old", "percentage", |
895 | &temp_str)) | 895 | &temp_str)) |
896 | pg_start_ctx->topology_percentage = 0.5; | 896 | pg_start_ctx->topology_percentage = 0.5; |
897 | else | 897 | else |
@@ -901,7 +901,7 @@ GNUNET_TESTING_peergroup_start (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
901 | } | 901 | } |
902 | 902 | ||
903 | if (GNUNET_OK != | 903 | if (GNUNET_OK != |
904 | GNUNET_CONFIGURATION_get_value_string (cfg, "testing", "probability", | 904 | GNUNET_CONFIGURATION_get_value_string (cfg, "testing_old", "probability", |
905 | &temp_str)) | 905 | &temp_str)) |
906 | pg_start_ctx->topology_probability = 0.5; | 906 | pg_start_ctx->topology_probability = 0.5; |
907 | else | 907 | else |
@@ -911,19 +911,19 @@ GNUNET_TESTING_peergroup_start (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
911 | } | 911 | } |
912 | 912 | ||
913 | if ((GNUNET_YES == | 913 | if ((GNUNET_YES == |
914 | GNUNET_CONFIGURATION_get_value_string (cfg, "testing", | 914 | GNUNET_CONFIGURATION_get_value_string (cfg, "testing_old", |
915 | "connect_topology", &temp_str)) && | 915 | "connect_topology", &temp_str)) && |
916 | (GNUNET_NO == | 916 | (GNUNET_NO == |
917 | GNUNET_TESTING_topology_get (&pg_start_ctx->connect_topology, temp_str))) | 917 | GNUNET_TESTING_topology_get (&pg_start_ctx->connect_topology, temp_str))) |
918 | { | 918 | { |
919 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 919 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
920 | "Invalid connect topology `%s' given for section %s option %s\n", | 920 | "Invalid connect topology `%s' given for section %s option %s\n", |
921 | temp_str, "TESTING", "CONNECT_TOPOLOGY"); | 921 | temp_str, "TESTING_old", "CONNECT_TOPOLOGY"); |
922 | } | 922 | } |
923 | GNUNET_free_non_null (temp_str); | 923 | GNUNET_free_non_null (temp_str); |
924 | 924 | ||
925 | if ((GNUNET_YES == | 925 | if ((GNUNET_YES == |
926 | GNUNET_CONFIGURATION_get_value_string (cfg, "testing", | 926 | GNUNET_CONFIGURATION_get_value_string (cfg, "testing_old", |
927 | "connect_topology_option", | 927 | "connect_topology_option", |
928 | &temp_str)) && | 928 | &temp_str)) && |
929 | (GNUNET_NO == | 929 | (GNUNET_NO == |
@@ -932,13 +932,13 @@ GNUNET_TESTING_peergroup_start (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
932 | { | 932 | { |
933 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 933 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
934 | "Invalid connect topology option `%s' given for section %s option %s\n", | 934 | "Invalid connect topology option `%s' given for section %s option %s\n", |
935 | temp_str, "TESTING", "CONNECT_TOPOLOGY_OPTION"); | 935 | temp_str, "TESTING_old", "CONNECT_TOPOLOGY_OPTION"); |
936 | pg_start_ctx->connect_topology_option = GNUNET_TESTING_TOPOLOGY_OPTION_ALL; /* Defaults to NONE, set to ALL */ | 936 | pg_start_ctx->connect_topology_option = GNUNET_TESTING_TOPOLOGY_OPTION_ALL; /* Defaults to NONE, set to ALL */ |
937 | } | 937 | } |
938 | GNUNET_free_non_null (temp_str); | 938 | GNUNET_free_non_null (temp_str); |
939 | 939 | ||
940 | if (GNUNET_YES == | 940 | if (GNUNET_YES == |
941 | GNUNET_CONFIGURATION_get_value_string (cfg, "testing", | 941 | GNUNET_CONFIGURATION_get_value_string (cfg, "testing_old", |
942 | "connect_topology_option_modifier", | 942 | "connect_topology_option_modifier", |
943 | &temp_str)) | 943 | &temp_str)) |
944 | { | 944 | { |
@@ -948,7 +948,7 @@ GNUNET_TESTING_peergroup_start (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
948 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 948 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
949 | _ | 949 | _ |
950 | ("Invalid value `%s' for option `%s' in section `%s': expected float\n"), | 950 | ("Invalid value `%s' for option `%s' in section `%s': expected float\n"), |
951 | temp_str, "connect_topology_option_modifier", "TESTING"); | 951 | temp_str, "connect_topology_option_modifier", "TESTING_old"); |
952 | GNUNET_free (temp_str); | 952 | GNUNET_free (temp_str); |
953 | GNUNET_free (pg_start_ctx); | 953 | GNUNET_free (pg_start_ctx); |
954 | return NULL; | 954 | return NULL; |
@@ -957,14 +957,14 @@ GNUNET_TESTING_peergroup_start (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
957 | } | 957 | } |
958 | 958 | ||
959 | if (GNUNET_YES != | 959 | if (GNUNET_YES != |
960 | GNUNET_CONFIGURATION_get_value_string (cfg, "testing", | 960 | GNUNET_CONFIGURATION_get_value_string (cfg, "testing_old", |
961 | "blacklist_transports", | 961 | "blacklist_transports", |
962 | &pg_start_ctx->restrict_transports)) | 962 | &pg_start_ctx->restrict_transports)) |
963 | pg_start_ctx->restrict_transports = NULL; | 963 | pg_start_ctx->restrict_transports = NULL; |
964 | 964 | ||
965 | pg_start_ctx->restrict_topology = GNUNET_TESTING_TOPOLOGY_NONE; | 965 | pg_start_ctx->restrict_topology = GNUNET_TESTING_TOPOLOGY_NONE; |
966 | if ((GNUNET_YES == | 966 | if ((GNUNET_YES == |
967 | GNUNET_CONFIGURATION_get_value_string (cfg, "testing", | 967 | GNUNET_CONFIGURATION_get_value_string (cfg, "testing_old", |
968 | "blacklist_topology", &temp_str)) | 968 | "blacklist_topology", &temp_str)) |
969 | && (GNUNET_NO == | 969 | && (GNUNET_NO == |
970 | GNUNET_TESTING_topology_get (&pg_start_ctx->restrict_topology, | 970 | GNUNET_TESTING_topology_get (&pg_start_ctx->restrict_topology, |
@@ -972,7 +972,7 @@ GNUNET_TESTING_peergroup_start (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
972 | { | 972 | { |
973 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 973 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
974 | "Invalid topology `%s' given for section %s option %s\n", | 974 | "Invalid topology `%s' given for section %s option %s\n", |
975 | temp_str, "TESTING", "BLACKLIST_TOPOLOGY"); | 975 | temp_str, "TESTING_OLD", "BLACKLIST_TOPOLOGY"); |
976 | } | 976 | } |
977 | 977 | ||
978 | GNUNET_free_non_null (temp_str); | 978 | GNUNET_free_non_null (temp_str); |
diff --git a/src/topology/Makefile.am b/src/topology/Makefile.am index 261be8619..4234625d6 100644 --- a/src/topology/Makefile.am +++ b/src/topology/Makefile.am | |||
@@ -36,7 +36,7 @@ endif | |||
36 | test_gnunet_daemon_topology_SOURCES = \ | 36 | test_gnunet_daemon_topology_SOURCES = \ |
37 | test_gnunet_daemon_topology.c | 37 | test_gnunet_daemon_topology.c |
38 | test_gnunet_daemon_topology_LDADD = \ | 38 | test_gnunet_daemon_topology_LDADD = \ |
39 | $(top_builddir)/src/testing/libgnunettesting.la \ | 39 | $(top_builddir)/src/testing_old/libgnunettesting_old.la \ |
40 | $(top_builddir)/src/util/libgnunetutil.la | 40 | $(top_builddir)/src/util/libgnunetutil.la |
41 | 41 | ||
42 | EXTRA_DIST = \ | 42 | EXTRA_DIST = \ |