-fix configs
authorChristian Grothoff <christian@grothoff.org>
Sat, 9 Jun 2012 18:30:21 +0000 (18:30 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sat, 9 Jun 2012 18:30:21 +0000 (18:30 +0000)
src/dht/test_dht_monitor.c
src/dht/test_dht_multipeer.c
src/dht/test_dht_topo.c
src/dht/test_dht_twopeer.c
src/dht/test_dht_twopeer_get_put.c
src/dht/test_dht_twopeer_path_tracking.c
src/dht/test_dht_twopeer_put_get.c

index ca6704a09938a32fedf044e01f2a65be21240e79..31c5e7bc476f473224b5bde6b792a8d8bd6d630a 100644 (file)
@@ -553,10 +553,10 @@ run (void *cls, char *const *args, const char *cfgfile,
                     NULL);
 
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test: Starting daemons.\n");
-  GNUNET_CONFIGURATION_set_value_string (testing_cfg, "testing",
+  GNUNET_CONFIGURATION_set_value_string (testing_cfg, "testing_old",
                                          "use_progressbars", "YES");
   if (GNUNET_OK !=
-      GNUNET_CONFIGURATION_get_value_number (testing_cfg, "testing",
+      GNUNET_CONFIGURATION_get_value_number (testing_cfg, "testing_old",
                                              "num_peers", &num_peers))
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
@@ -564,8 +564,7 @@ run (void *cls, char *const *args, const char *cfgfile,
     return;
   }
 
-  if (GNUNET_OK !=
-      GNUNET_CONFIGURATION_get_value_string (testing_cfg, "testing",
+  if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_string (testing_cfg, "testing_old",
                                              "topology_output_file",
                                              &topology_file))
   {
index ab7d90e24e7c8403d15bc2c3c43335cec6d8eb51..f4f99a633e8d935c3b789ade24c096fbb5ad25eb 100644 (file)
@@ -797,7 +797,7 @@ run (void *cls, char *const *args, const char *cfgfile,
     return;
   }
   if (GNUNET_SYSERR ==
-      GNUNET_CONFIGURATION_get_value_number (cfg, "testing", "num_peers",
+      GNUNET_CONFIGURATION_get_value_number (cfg, "testing_old", "num_peers",
                                              &num_peers))
     num_peers = DEFAULT_NUM_PEERS;
   pg = GNUNET_TESTING_peergroup_start (cfg, num_peers, TIMEOUT, NULL,
index f51f3a663854e77d471acb823d67b69a5c1c29f3..64918fe26c6f6a38c24c82ec19cc81f0a7bb7d44 100644 (file)
@@ -483,10 +483,10 @@ run (void *cls, char *const *args, const char *cfgfile,
                     "WARNING",
                     NULL);
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Starting daemons.\n");
-  GNUNET_CONFIGURATION_set_value_string (testing_cfg, "testing",
+  GNUNET_CONFIGURATION_set_value_string (testing_cfg, "testing_old",
                                          "use_progressbars", "YES");
   if (GNUNET_OK !=
-      GNUNET_CONFIGURATION_get_value_number (testing_cfg, "testing",
+      GNUNET_CONFIGURATION_get_value_number (testing_cfg, "testing_old",
                                              "num_peers", &num_peers))
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
@@ -495,7 +495,7 @@ run (void *cls, char *const *args, const char *cfgfile,
   }
 
   if (GNUNET_OK !=
-      GNUNET_CONFIGURATION_get_value_string (testing_cfg, "testing",
+      GNUNET_CONFIGURATION_get_value_string (testing_cfg, "testing_old",
                                              "topology_output_file",
                                              &topology_file))
   {
index f0ac05b1c8b5f8e2f9d96593108d33ea990eafeb..a4664946f7f5e3f029c64ef9fb83373aaddc01a8 100644 (file)
@@ -428,7 +428,7 @@ run (void *cls, char *const *args, const char *cfgfile,
   }
 
   if (GNUNET_SYSERR ==
-      GNUNET_CONFIGURATION_get_value_number (cfg, "testing", "num_peers",
+      GNUNET_CONFIGURATION_get_value_number (cfg, "testing_old", "num_peers",
                                              &num_peers))
     num_peers = DEFAULT_NUM_PEERS;
 
index 3271d046d94c711d9f12d4e2ed7ae1ef9a0aacec..775418fe10e30d2831049f9a7c530c3ca07c0e21 100644 (file)
@@ -519,7 +519,7 @@ run (void *cls, char *const *args, const char *cfgfile,
 
   /* Get number of peers to start from configuration (should be two) */
   if (GNUNET_SYSERR ==
-      GNUNET_CONFIGURATION_get_value_number (cfg, "testing", "num_peers",
+      GNUNET_CONFIGURATION_get_value_number (cfg, "testing_old", "num_peers",
                                              &num_peers))
     num_peers = DEFAULT_NUM_PEERS;
 
index 6ecf6a3818b88229738c05d1c14b429b10bd6ae1..f45d3b6b7e770f8fe75c4f33deec5a305d499d38 100644 (file)
@@ -441,7 +441,7 @@ run (void *cls, char *const *args, const char *cfgfile,
 
   /* Get number of peers to start from configuration (should be two) */
   if (GNUNET_SYSERR ==
-      GNUNET_CONFIGURATION_get_value_number (cfg, "testing", "num_peers",
+      GNUNET_CONFIGURATION_get_value_number (cfg, "testing_old", "num_peers",
                                              &num_peers))
     num_peers = DEFAULT_NUM_PEERS;
 
index 44150e3e00fae65a62863d3c218b96fa4efc77c6..9419194b9671b6172d72d3a4cd2405910c9acfb4 100644 (file)
@@ -439,7 +439,7 @@ run (void *cls, char *const *args, const char *cfgfile,
 
   /* Get number of peers to start from configuration (should be two) */
   if (GNUNET_SYSERR ==
-      GNUNET_CONFIGURATION_get_value_number (cfg, "testing", "num_peers",
+      GNUNET_CONFIGURATION_get_value_number (cfg, "testing_old", "num_peers",
                                              &num_peers))
     num_peers = DEFAULT_NUM_PEERS;