aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_group.c
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2011-01-31 10:37:52 +0000
committerNathan S. Evans <evans@in.tum.de>2011-01-31 10:37:52 +0000
commit7e739d9fc537d18ca78ba61135669044ec32c4c2 (patch)
treeba44ca834b98822bc6843d5218d45df6b9a6edca /src/testing/testing_group.c
parent5c4a183d1920f00fbfaa95d22474618dbc572ba8 (diff)
downloadgnunet-7e739d9fc537d18ca78ba61135669044ec32c4c2.tar.gz
gnunet-7e739d9fc537d18ca78ba61135669044ec32c4c2.zip
clean up error messages
Diffstat (limited to 'src/testing/testing_group.c')
-rw-r--r--src/testing/testing_group.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/testing/testing_group.c b/src/testing/testing_group.c
index 69e2392d1..00b3dccd0 100644
--- a/src/testing/testing_group.c
+++ b/src/testing/testing_group.c
@@ -1325,7 +1325,6 @@ add_connections (struct GNUNET_TESTING_PeerGroup *pg,
1325 switch (list) 1325 switch (list)
1326 { 1326 {
1327 case ALLOWED: 1327 case ALLOWED:
1328 GNUNET_log(GNUNET_ERROR_TYPE_WARNING, "Adding to ALLOWED\n");
1329 first_list = &pg->peers[first].allowed_peers_head; 1328 first_list = &pg->peers[first].allowed_peers_head;
1330 second_list = &pg->peers[second].allowed_peers_head; 1329 second_list = &pg->peers[second].allowed_peers_head;
1331 first_tail = &pg->peers[first].allowed_peers_tail; 1330 first_tail = &pg->peers[first].allowed_peers_tail;
@@ -1397,7 +1396,6 @@ add_connections (struct GNUNET_TESTING_PeerGroup *pg,
1397 if (add_first) 1396 if (add_first)
1398 { 1397 {
1399#if OLD 1398#if OLD
1400 GNUNET_log(GNUNET_ERROR_TYPE_WARNING, "Adding peer %d to %d\n", second, first);
1401 new_first = GNUNET_malloc (sizeof (struct PeerConnection)); 1399 new_first = GNUNET_malloc (sizeof (struct PeerConnection));
1402 new_first->index = second; 1400 new_first->index = second;
1403 GNUNET_CONTAINER_DLL_insert(*first_list, *first_tail, new_first); 1401 GNUNET_CONTAINER_DLL_insert(*first_list, *first_tail, new_first);
@@ -3152,7 +3150,7 @@ GNUNET_TESTING_create_topology (struct GNUNET_TESTING_PeerGroup *pg,
3152 num_connections = create_from_file (pg, filename, &add_connections, ALLOWED); 3150 num_connections = create_from_file (pg, filename, &add_connections, ALLOWED);
3153 else 3151 else
3154 { 3152 {
3155 GNUNET_log(GNUNET_ERROR_TYPE_WARNING, "Missing configuration option TESTING:TOPOLOGY_FILE for creating topology from file!"); 3153 GNUNET_log(GNUNET_ERROR_TYPE_WARNING, "Missing configuration option TESTING:TOPOLOGY_FILE for creating topology from file!\n");
3156 num_connections = 0; 3154 num_connections = 0;
3157 } 3155 }
3158 break; 3156 break;
@@ -4866,7 +4864,7 @@ GNUNET_TESTING_daemons_start (const struct GNUNET_CONFIGURATION_Handle *cfg,
4866 else 4864 else
4867 proc = GNUNET_OS_start_process (NULL, NULL, "ssh", 4865 proc = GNUNET_OS_start_process (NULL, NULL, "ssh",
4868 "ssh", arg, "mkdir -p", baseservicehome, NULL); 4866 "ssh", arg, "mkdir -p", baseservicehome, NULL);
4869 GNUNET_log(GNUNET_ERROR_TYPE_WARNING, "Creating remote dir with command ssh %s %s %s\n", arg, " mkdir -p ", baseservicehome); 4867 GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "Creating remote dir with command ssh %s %s %s\n", arg, " mkdir -p ", baseservicehome);
4870 GNUNET_OS_process_wait(proc); 4868 GNUNET_OS_process_wait(proc);
4871 } 4869 }
4872 GNUNET_free(baseservicehome); 4870 GNUNET_free(baseservicehome);
@@ -4875,7 +4873,7 @@ GNUNET_TESTING_daemons_start (const struct GNUNET_CONFIGURATION_Handle *cfg,
4875 &hostkeys_file)) 4873 &hostkeys_file))
4876 { 4874 {
4877 if (GNUNET_YES != GNUNET_DISK_file_test (hostkeys_file)) 4875 if (GNUNET_YES != GNUNET_DISK_file_test (hostkeys_file))
4878 GNUNET_log(GNUNET_ERROR_TYPE_WARNING, "Couldn't read hostkeys file!"); 4876 GNUNET_log(GNUNET_ERROR_TYPE_WARNING, "Couldn't read hostkeys file!\n");
4879 else 4877 else
4880 { 4878 {
4881 /* Check hostkey file size, read entire thing into memory */ 4879 /* Check hostkey file size, read entire thing into memory */