From 61e291aff4661a9b7c051ccc29ebe450b873e512 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Thu, 27 Jun 2013 18:03:29 +0000 Subject: [PATCH] - use more universal names for test discrimination --- src/mesh/test_mesh2_small.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mesh/test_mesh2_small.c b/src/mesh/test_mesh2_small.c index eabffeb11..0a184d56f 100644 --- a/src/mesh/test_mesh2_small.c +++ b/src/mesh/test_mesh2_small.c @@ -736,21 +736,21 @@ main (int argc, char *argv[]) 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 @@ main (int argc, char *argv[]) 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) -- 2.25.1