gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r27665 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r27665 - gnunet/src/mesh
Date: Thu, 27 Jun 2013 20:03:29 +0200

Author: bartpolot
Date: 2013-06-27 20:03:29 +0200 (Thu, 27 Jun 2013)
New Revision: 27665

Modified:
   gnunet/src/mesh/test_mesh2_small.c
Log:
- use more universal names for test discrimination

Modified: gnunet/src/mesh/test_mesh2_small.c
===================================================================
--- gnunet/src/mesh/test_mesh2_small.c  2013-06-27 18:02:56 UTC (rev 27664)
+++ gnunet/src/mesh/test_mesh2_small.c  2013-06-27 18:03:29 UTC (rev 27665)
@@ -736,21 +736,21 @@
   GNUNET_log_setup ("test", "DEBUG", NULL);
 
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Start\n");
-  if (strstr (argv[0], "test_mesh2_small_forward") != NULL)
+  if (strstr (argv[0], "_small_forward") != NULL)
   {
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "FORWARD\n");
     test = FORWARD;
     test_name = "unicast2";
     ok_goal = 4;
   }
-  else if (strstr (argv[0], "test_mesh_small_signal") != NULL)
+  else if (strstr (argv[0], "_small_signal") != NULL)
   {
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "SIGNAL\n");
     test = P2P_SIGNAL;
     test_name = "signal2";
     ok_goal = 4;
   }
-  else if (strstr (argv[0], "test_mesh_small_speed_ack") != NULL)
+  else if (strstr (argv[0], "_small_speed_ack") != NULL)
   {
    /* Each peer is supposed to generate the following callbacks:
     * 1 incoming tunnel (@dest)
@@ -765,7 +765,7 @@
     test_name = "speed2 ack";
     ok_goal = TOTAL_PACKETS * 2 + 2;
   }
-  else if (strstr (argv[0], "test_mesh_small_speed") != NULL)
+  else if (strstr (argv[0], "_small_speed") != NULL)
   {
    /* Each peer is supposed to generate the following callbacks:
     * 1 incoming tunnel (@dest)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]