aboutsummaryrefslogtreecommitdiff
path: root/src/testing/test_testing_topology.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-11-03 21:26:40 +0000
committerChristian Grothoff <christian@grothoff.org>2010-11-03 21:26:40 +0000
commit721e49caeea6ba5073f8bc5c6c08359295c02bb5 (patch)
treee06e80ba90af91e9452a48a7a5782913199b4877 /src/testing/test_testing_topology.c
parent37ac1b7c9e9e05f93d4100cfb53450ec2d370989 (diff)
downloadgnunet-721e49caeea6ba5073f8bc5c6c08359295c02bb5.tar.gz
gnunet-721e49caeea6ba5073f8bc5c6c08359295c02bb5.zip
original patch from Mantis 1614
Diffstat (limited to 'src/testing/test_testing_topology.c')
-rw-r--r--src/testing/test_testing_topology.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/testing/test_testing_topology.c b/src/testing/test_testing_topology.c
index bb1455e60..ed1f2d591 100644
--- a/src/testing/test_testing_topology.c
+++ b/src/testing/test_testing_topology.c
@@ -179,12 +179,14 @@ static void gather_log_data ()
179{ 179{
180 char *peer_number; 180 char *peer_number;
181 char *connect_number; 181 char *connect_number;
182 pid_t mem_process; 182 GNUNET_OS_Process *mem_process;
183 GNUNET_asprintf(&peer_number, "%llu", num_peers); 183 GNUNET_asprintf(&peer_number, "%llu", num_peers);
184 GNUNET_asprintf(&connect_number, "%llu", expected_connections); 184 GNUNET_asprintf(&connect_number, "%llu", expected_connections);
185 mem_process = GNUNET_OS_start_process (NULL, NULL, "./memsize.pl", 185 mem_process = GNUNET_OS_start_process (NULL, NULL, "./memsize.pl",
186 "memsize.pl", "totals.txt", peer_number, connect_number, NULL); 186 "memsize.pl", "totals.txt", peer_number, connect_number, NULL);
187 GNUNET_OS_process_wait(mem_process); 187 GNUNET_OS_process_wait (mem_process);
188 GNUNET_OS_process_close (mem_process);
189 mem_process = NULL;
188} 190}
189 191
190#endif 192#endif