gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r16400 - gnunet/src/testing


From: gnunet
Subject: [GNUnet-SVN] r16400 - gnunet/src/testing
Date: Fri, 5 Aug 2011 23:16:46 +0200

Author: grothoff
Date: 2011-08-05 23:16:46 +0200 (Fri, 05 Aug 2011)
New Revision: 16400

Modified:
   gnunet/src/testing/test_testing_topology.c
Log:
LRN: 0009-Fix-.exe-extension-in-topology-string.patch

Modified: gnunet/src/testing/test_testing_topology.c
===================================================================
--- gnunet/src/testing/test_testing_topology.c  2011-08-05 21:16:44 UTC (rev 
16399)
+++ gnunet/src/testing/test_testing_topology.c  2011-08-05 21:16:46 UTC (rev 
16400)
@@ -1250,6 +1250,9 @@
   topology_string = strstr (topology_string, "_");
   GNUNET_assert (topology_string != NULL);
   topology_string++;
+  topology_string = GNUNET_strdup (topology_string);
+  if (strstr (topology_string, ".exe"))
+    topology_string[strstr (topology_string, ".exe") - topology_string] = 0;
 
   GNUNET_asprintf (&our_binary_name, "test-testing-topology_%s",
                    topology_string);
@@ -1263,6 +1266,7 @@
 #endif
                     NULL);
   ret = check ();
+  GNUNET_free (topology_string);
 
   /**
    * Need to remove base directory, subdirectories taken care




reply via email to

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