2 This file is part of GNUnet.
3 (C) 2011 Christian Grothoff (and other contributing authors)
5 GNUnet is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published
7 by the Free Software Foundation; either version 3, or (at your
8 option) any later version.
10 GNUnet is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with GNUnet; see the file COPYING. If not, write to the
17 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA.
21 * @file mesh/test_mesh_small.c
23 * @brief Test for the mesh service: retransmission of traffic.
27 #include "mesh_test_lib.h"
28 #include "gnunet_mesh_service.h"
33 * How namy messages to send
35 #define TOTAL_PACKETS 1000
38 * How long until we give up on connecting the peers?
40 #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 120)
43 * Time to wait for stuff that should be rather fast
45 #define SHORT_TIME GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 20)
48 * DIFFERENT TESTS TO RUN
59 * Which test are we running?
64 * String with test name
69 * Flag to send traffic leaf->root in speed tests to test BCK_ACK logic.
71 static int test_backwards = GNUNET_NO;
74 * How many events have happened
79 * Each peer is supposed to generate the following callbacks:
80 * 1 incoming tunnel (@dest)
81 * 1 connected peer (@orig)
82 * 1 received data packet (@dest)
83 * 1 received data packet (@orig)
84 * 1 received tunnel destroy (@dest)
85 * _________________________________
86 * 5 x ok expected per peer
92 * Size of each test packet
94 size_t size_payload = sizeof (struct GNUNET_MessageHeader) + sizeof (uint32_t);
97 * Operation to get peer ids.
99 struct GNUNET_TESTBED_Operation *t_op[3];
104 struct GNUNET_PeerIdentity *p_id[3];
112 * Is the setup initialized?
114 static int initialized;
117 * Peers that have been connected
119 static int peers_in_tunnel;
122 * Peers that have responded
124 static int peers_responded;
127 * Number of payload packes sent
129 static int data_sent;
132 * Number of payload packets received
134 static int data_received;
137 * Number of payload packed explicitly (app level) acknowledged
142 * Total number of currently running peers.
144 static unsigned long long peers_running;
147 * Test context (to shut down).
149 struct GNUNET_MESH_TEST_Context *test_ctx;
152 * Task called to disconnect peers.
154 static GNUNET_SCHEDULER_TaskIdentifier disconnect_task;
157 * Task To perform tests
159 static GNUNET_SCHEDULER_TaskIdentifier test_task;
162 * Task called to shutdown test.
164 static GNUNET_SCHEDULER_TaskIdentifier shutdown_handle;
167 * Mesh handle for the root peer
169 static struct GNUNET_MESH_Handle *h1;
172 * Mesh handle for the first leaf peer
174 static struct GNUNET_MESH_Handle *h2;
177 * Mesh handle for the second leaf peer
179 static struct GNUNET_MESH_Handle *h3;
182 * Tunnel handle for the root peer
184 static struct GNUNET_MESH_Tunnel *t;
187 * Tunnel handle for the first leaf peer
189 static struct GNUNET_MESH_Tunnel *incoming_t;
192 * Tunnel handle for the second leaf peer
194 static struct GNUNET_MESH_Tunnel *incoming_t2;
197 * Time we started the data transmission (after tunnel has been established
200 static struct GNUNET_TIME_Absolute start_time;
204 * Show the results of the test (banwidth acheived) and log them to GAUGER
209 static struct GNUNET_TIME_Absolute end_time;
210 static struct GNUNET_TIME_Relative total_time;
212 end_time = GNUNET_TIME_absolute_get();
213 total_time = GNUNET_TIME_absolute_get_difference(start_time, end_time);
214 FPRINTF (stderr, "\nResults of test \"%s\"\n", test_name);
215 FPRINTF (stderr, "Test time %llu ms\n",
216 (unsigned long long) total_time.rel_value);
217 FPRINTF (stderr, "Test bandwidth: %f kb/s\n",
218 4 * TOTAL_PACKETS * 1.0 / total_time.rel_value); // 4bytes * ms
219 FPRINTF (stderr, "Test throughput: %f packets/s\n\n",
220 TOTAL_PACKETS * 1000.0 / total_time.rel_value); // packets * ms
221 GAUGER ("MESH", test_name,
222 TOTAL_PACKETS * 1000.0 / total_time.rel_value,
228 * Shut down peergroup, clean up.
230 * @param cls Closure (unused).
231 * @param tc Task Context.
234 shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
236 fprintf(stderr, "b");
237 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Ending test.\n");
238 shutdown_handle = GNUNET_SCHEDULER_NO_TASK;
243 * Disconnect from mesh services af all peers, call shutdown.
245 * @param cls Closure (unused).
246 * @param tc Task Context.
249 disconnect_mesh_peers (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
251 long line = (long) cls;
254 fprintf(stderr, "a");
255 for (i = 0; i < 3; i++)
258 GNUNET_TESTBED_operation_done (t_op[i]);
261 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
262 "disconnecting mesh service of peers, called from line %ld\n",
264 disconnect_task = GNUNET_SCHEDULER_NO_TASK;
267 GNUNET_MESH_tunnel_destroy (t);
270 if (NULL != incoming_t)
272 GNUNET_MESH_tunnel_destroy (incoming_t);
275 if (NULL != incoming_t2)
277 GNUNET_MESH_tunnel_destroy (incoming_t2);
280 GNUNET_MESH_TEST_cleanup (test_ctx);
281 if (GNUNET_SCHEDULER_NO_TASK != shutdown_handle)
283 GNUNET_SCHEDULER_cancel (shutdown_handle);
285 shutdown_handle = GNUNET_SCHEDULER_add_now (&shutdown_task, NULL);
290 abort_test (long line)
292 if (disconnect_task != GNUNET_SCHEDULER_NO_TASK)
294 GNUNET_SCHEDULER_cancel (disconnect_task);
296 disconnect_task = GNUNET_SCHEDULER_add_delayed (SHORT_TIME,
297 &disconnect_mesh_peers,
302 * Transmit ready callback.
304 * @param cls Closure (message type).
305 * @param size Size of the tranmist buffer.
306 * @param buf Pointer to the beginning of the buffer.
308 * @return Number of bytes written to buf.
311 tmt_rdy (void *cls, size_t size, void *buf);
315 * Task to schedule a new data transmission.
317 * @param cls Closure (peer #).
318 * @param tc Task Context.
321 data_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
323 struct GNUNET_MESH_TransmitHandle *th;
324 struct GNUNET_MESH_Tunnel *tunnel;
325 struct GNUNET_PeerIdentity *destination;
327 if ((GNUNET_SCHEDULER_REASON_SHUTDOWN & tc->reason) != 0)
330 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Data task\n");
331 if (GNUNET_YES == test_backwards)
334 destination = p_id[0];
339 destination = p_id[2];
341 th = GNUNET_MESH_notify_transmit_ready (tunnel, GNUNET_NO,
342 GNUNET_TIME_UNIT_FOREVER_REL,
345 &tmt_rdy, (void *) 1L);
348 unsigned long i = (unsigned long) cls;
350 GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Retransmission\n");
353 GNUNET_log (GNUNET_ERROR_TYPE_INFO, " in 1 ms\n");
354 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_MILLISECONDS,
355 &data_task, (void *)1UL);
360 GNUNET_log (GNUNET_ERROR_TYPE_INFO, "in %u ms\n", i);
361 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply(
362 GNUNET_TIME_UNIT_MILLISECONDS,
364 &data_task, (void *)i);
371 * Transmit ready callback
373 * @param cls Closure (message type).
374 * @param size Size of the buffer we have.
375 * @param buf Buffer to copy data to.
378 tmt_rdy (void *cls, size_t size, void *buf)
380 struct GNUNET_MessageHeader *msg = buf;
383 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
384 " tmt_rdy called\n");
385 if (size < size_payload || NULL == buf)
388 GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
389 "size %u, buf %p, data_sent %u, data_received %u\n",
396 msg->size = htons (size);
397 msg->type = htons ((long) cls);
398 data = (uint32_t *) &msg[1];
399 *data = htonl (data_sent);
400 if (SPEED == test && GNUNET_YES == initialized)
403 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
404 " Sent packet %d\n", data_sent);
405 if (data_sent < TOTAL_PACKETS)
407 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
408 " Scheduling packet %d\n", data_sent + 1);
409 GNUNET_SCHEDULER_add_now(&data_task, NULL);
417 * Function is called whenever a message is received.
419 * @param cls closure (set from GNUNET_MESH_connect)
420 * @param tunnel connection to the other end
421 * @param tunnel_ctx place to store local state associated with the tunnel
422 * @param sender who sent the message
423 * @param message the actual message
424 * @param atsi performance data for the connection
425 * @return GNUNET_OK to keep the connection open,
426 * GNUNET_SYSERR to close it (signal serious error)
429 data_callback (void *cls, struct GNUNET_MESH_Tunnel *tunnel, void **tunnel_ctx,
430 const struct GNUNET_PeerIdentity *sender,
431 const struct GNUNET_MessageHeader *message,
432 const struct GNUNET_ATS_Information *atsi)
434 long client = (long) cls;
435 long expected_target_client;
442 if (GNUNET_SCHEDULER_NO_TASK != disconnect_task)
444 GNUNET_SCHEDULER_cancel (disconnect_task);
447 GNUNET_SCHEDULER_add_delayed (SHORT_TIME, &disconnect_mesh_peers,
454 GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Root client got a message!\n");
456 if (test == MULTICAST && peers_responded < 2)
461 GNUNET_log (GNUNET_ERROR_TYPE_INFO,
462 "Leaf client %li got a message.\n",
470 GNUNET_log (GNUNET_ERROR_TYPE_INFO, " ok: (%d/%d)\n", ok, ok_goal);
471 data = (uint32_t *) &message[1];
472 GNUNET_log (GNUNET_ERROR_TYPE_INFO, " payload: (%u)\n", ntohl (*data));
473 if (SPEED == test && GNUNET_YES == test_backwards)
475 expected_target_client = 0L;
479 expected_target_client = 4L;
482 if (GNUNET_NO == initialized)
484 initialized = GNUNET_YES;
485 start_time = GNUNET_TIME_absolute_get ();
488 GNUNET_assert (4L == client);
489 GNUNET_SCHEDULER_add_now (&data_task, NULL);
494 if (client == expected_target_client) // Normally 3 or 4
497 GNUNET_log (GNUNET_ERROR_TYPE_INFO,
498 " received data %u\n", data_received);
499 if (SPEED != test || (ok_goal - 2) == ok)
501 GNUNET_MESH_notify_transmit_ready (tunnel, GNUNET_NO,
502 GNUNET_TIME_UNIT_FOREVER_REL, sender,
504 &tmt_rdy, (void *) 1L);
509 if (data_received < TOTAL_PACKETS)
515 if (test == SPEED_ACK || test == SPEED)
518 GNUNET_log (GNUNET_ERROR_TYPE_INFO,
519 " received ack %u\n", data_ack);
520 GNUNET_MESH_notify_transmit_ready (tunnel, GNUNET_NO,
521 GNUNET_TIME_UNIT_FOREVER_REL, sender,
523 &tmt_rdy, (void *) 1L);
524 if (data_ack < TOTAL_PACKETS && SPEED != test)
526 if (ok == 2 && SPEED == test)
530 GNUNET_MESH_tunnel_destroy (t);
534 if (GNUNET_SCHEDULER_NO_TASK != disconnect_task)
536 GNUNET_SCHEDULER_cancel (disconnect_task);
539 GNUNET_SCHEDULER_add_delayed (SHORT_TIME, &disconnect_mesh_peers,
547 * Handlers, for diverse services
549 static struct GNUNET_MESH_MessageHandler handlers[] = {
550 {&data_callback, 1, sizeof (struct GNUNET_MessageHeader)},
556 * Method called whenever another peer has added us to a tunnel
557 * the other peer initiated.
560 * @param tunnel new handle to the tunnel
561 * @param initiator peer that started the tunnel
562 * @param atsi performance information for the tunnel
563 * @return initial tunnel context for the tunnel
564 * (can be NULL -- that's not an error)
567 incoming_tunnel (void *cls, struct GNUNET_MESH_Tunnel *tunnel,
568 const struct GNUNET_PeerIdentity *initiator,
569 const struct GNUNET_ATS_Information *atsi)
571 GNUNET_log (GNUNET_ERROR_TYPE_INFO,
572 "Incoming tunnel from %s to peer %d\n",
573 GNUNET_i2s (initiator), (long) cls);
575 GNUNET_log (GNUNET_ERROR_TYPE_INFO, " ok: %d\n", ok);
576 if ((long) cls == 4L)
578 else if ((long) cls == 3L)
579 incoming_t2 = tunnel;
582 GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
583 "Incoming tunnel for unknown client %lu\n", (long) cls);
586 if (GNUNET_SCHEDULER_NO_TASK != disconnect_task)
588 GNUNET_SCHEDULER_cancel (disconnect_task);
591 GNUNET_SCHEDULER_add_delayed (SHORT_TIME, &disconnect_mesh_peers,
598 * Function called whenever an inbound tunnel is destroyed. Should clean up
599 * any associated state.
601 * @param cls closure (set from GNUNET_MESH_connect)
602 * @param tunnel connection to the other end (henceforth invalid)
603 * @param tunnel_ctx place where local state associated
604 * with the tunnel is stored
607 tunnel_cleaner (void *cls, const struct GNUNET_MESH_Tunnel *tunnel,
612 GNUNET_log (GNUNET_ERROR_TYPE_INFO,
613 "Incoming tunnel disconnected at peer %d\n",
626 GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
627 "Unknown peer! %d\n", i);
628 GNUNET_log (GNUNET_ERROR_TYPE_INFO, " ok: %d\n", ok);
630 if (peers_in_tunnel > 0)
633 if (GNUNET_SCHEDULER_NO_TASK != disconnect_task)
635 GNUNET_SCHEDULER_cancel (disconnect_task);
637 disconnect_task = GNUNET_SCHEDULER_add_now (&disconnect_mesh_peers,
645 * Method called whenever a tunnel falls apart.
648 * @param peer peer identity the tunnel stopped working with
651 dh (void *cls, const struct GNUNET_PeerIdentity *peer)
653 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
654 "peer %s disconnected\n",
661 * Method called whenever a peer connects to a tunnel.
664 * @param peer peer identity the tunnel was created to, NULL on timeout
665 * @param atsi performance data for the connection
668 ch (void *cls, const struct GNUNET_PeerIdentity *peer,
669 const struct GNUNET_ATS_Information *atsi)
673 struct GNUNET_PeerIdentity *dest;
675 GNUNET_log (GNUNET_ERROR_TYPE_INFO,
676 "peer %s connected\n", GNUNET_i2s (peer));
678 if (0 == memcmp (p_id[2], peer, sizeof (struct GNUNET_PeerIdentity)) &&
683 if (test == MULTICAST &&
684 0 == memcmp (p_id[1], peer, sizeof (struct GNUNET_PeerIdentity)) &&
689 GNUNET_log (GNUNET_ERROR_TYPE_INFO, " ok: %d\n", ok);
695 // incoming_t is NULL unless we send a relevant data packet
700 if (peers_in_tunnel < 2)
708 if (GNUNET_SCHEDULER_NO_TASK != disconnect_task)
710 GNUNET_SCHEDULER_cancel (disconnect_task);
712 GNUNET_SCHEDULER_add_delayed (SHORT_TIME, &disconnect_mesh_peers,
714 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
715 "Sending data initializer...\n");
720 GNUNET_MESH_notify_transmit_ready (t, GNUNET_NO,
721 GNUNET_TIME_UNIT_FOREVER_REL, dest,
723 &tmt_rdy, (void *) 1L);
727 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
728 "Disconnect already run?\n");
729 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
737 * START THE TESTCASE ITSELF, AS WE ARE CONNECTED TO THE MESH SERVICES.
739 * Testcase continues when the root receives confirmation of connected peers,
740 * on callback funtion ch.
742 * @param cls Closure (unsued).
743 * @param tc Task Context.
746 do_test (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
748 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test_task\n");
749 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "add peer 2\n");
750 GNUNET_MESH_peer_request_connect_add (t, p_id[2]);
752 if (test == MULTICAST)
754 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
756 GNUNET_MESH_peer_request_connect_add (t, p_id[1]);
759 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
760 "schedule timeout in TIMEOUT\n");
761 if (GNUNET_SCHEDULER_NO_TASK != disconnect_task)
763 GNUNET_SCHEDULER_cancel (disconnect_task);
765 GNUNET_SCHEDULER_add_delayed (TIMEOUT, &disconnect_mesh_peers,
771 * Callback to be called when the requested peer information is available
773 * @param cls the closure from GNUNET_TETSBED_peer_get_information()
774 * @param op the operation this callback corresponds to
775 * @param pinfo the result; will be NULL if the operation has failed
776 * @param emsg error message if the operation has failed;
777 * NULL if the operation is successfull
781 struct GNUNET_TESTBED_Operation *op,
782 const struct GNUNET_TESTBED_PeerInformation *pinfo,
787 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "id callback for %ld\n", i);
788 if (NULL == pinfo || NULL != emsg)
790 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "pi_cb: %s\n", emsg);
791 abort_test (__LINE__);
794 p_id[i] = pinfo->result.id;
796 if ((MULTICAST == test && p_ids < 3) || p_ids < 2)
798 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Got all IDs, starting test\n");
799 test_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_SECONDS,
804 * test main: start test when all peers are connected
806 * @param cls Closure.
807 * @param ctx Argument to give to GNUNET_MESH_TEST_cleanup on test end.
808 * @param num_peers Number of peers that are running.
809 * @param peers Array of peers.
810 * @param meshes Handle to each of the MESHs of the peers.
814 struct GNUNET_MESH_TEST_Context *ctx,
815 unsigned int num_peers,
816 struct GNUNET_TESTBED_Peer **peers,
817 struct GNUNET_MESH_Handle **meshes)
819 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test main\n");
822 peers_running = num_peers;
824 h2 = meshes[num_peers - 1];
825 t = GNUNET_MESH_tunnel_create (h1, NULL, &ch, &dh, (void *) 1L);
826 if (SPEED_MIN == test)
828 GNUNET_MESH_tunnel_speed_min(t);
831 if (SPEED_NOBUF == test)
833 GNUNET_MESH_tunnel_buffer(t, GNUNET_NO);
837 disconnect_task = GNUNET_SCHEDULER_add_delayed (SHORT_TIME,
838 &disconnect_mesh_peers,
840 shutdown_handle = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL,
841 &shutdown_task, NULL);
842 t_op[0] = GNUNET_TESTBED_peer_get_information (peers[0],
843 GNUNET_TESTBED_PIT_IDENTITY,
844 &pi_cb, (void *) 0L);
845 t_op[2] = GNUNET_TESTBED_peer_get_information (peers[num_peers - 1],
846 GNUNET_TESTBED_PIT_IDENTITY,
847 &pi_cb, (void *) 2L);
848 if (MULTICAST == test)
850 h3 = meshes[num_peers - 2];
851 t_op[1] = GNUNET_TESTBED_peer_get_information (peers[num_peers - 2],
852 GNUNET_TESTBED_PIT_IDENTITY,
853 &pi_cb, (void *) 1L);
859 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "requested peer ids\n");
867 main (int argc, char *argv[])
869 initialized = GNUNET_NO;
871 GNUNET_log_setup ("test", "DEBUG", NULL);
873 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Start\n");
874 if (strstr (argv[0], "test_mesh_small_unicast") != NULL)
876 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "UNICAST\n");
878 test_name = "unicast";
881 else if (strstr (argv[0], "test_mesh_small_multicast") != NULL)
883 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "MULTICAST\n");
885 test_name = "multicast";
888 else if (strstr (argv[0], "test_mesh_small_speed_ack") != NULL)
890 /* Each peer is supposed to generate the following callbacks:
891 * 1 incoming tunnel (@dest)
892 * 1 connected peer (@orig)
893 * TOTAL_PACKETS received data packet (@dest)
894 * TOTAL_PACKETS received data packet (@orig)
895 * 1 received tunnel destroy (@dest)
896 * _________________________________
897 * 5 x ok expected per peer
899 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "SPEED_ACK\n");
901 test_name = "speed ack";
902 ok_goal = TOTAL_PACKETS * 2 + 3;
904 else if (strstr (argv[0], "test_mesh_small_speed") != NULL)
906 /* Each peer is supposed to generate the following callbacks:
907 * 1 incoming tunnel (@dest)
908 * 1 connected peer (@orig)
909 * 1 initial packet (@dest)
910 * TOTAL_PACKETS received data packet (@dest)
911 * 1 received data packet (@orig)
912 * 1 received tunnel destroy (@dest)
913 * _________________________________
915 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "SPEED\n");
916 ok_goal = TOTAL_PACKETS + 5;
917 if (strstr (argv[0], "_min") != NULL)
920 test_name = "speed min";
922 else if (strstr (argv[0], "_nobuf") != NULL)
925 test_name = "speed nobuf";
935 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "UNKNOWN\n");
940 if (strstr (argv[0], "backwards") != NULL)
944 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "BACKWARDS (LEAF TO ROOT)\n");
945 test_backwards = GNUNET_YES;
946 aux = GNUNET_malloc (32);
947 sprintf (aux, "backwards %s", test_name);
952 GNUNET_MESH_TEST_run (test_name,
953 "test_mesh_small.conf",
964 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
965 "FAILED! (%d/%d)\n", ok, ok_goal);
968 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "success\n");
972 /* end of test_mesh_small.c */