/* start GNUnet on remote host */
if (NULL == d->hostname)
{
- d->pid = GNUNET_OS_start_process (NULL, NULL, "gnunet-service-arm",
- "gnunet-service-arm",
+ d->pid = GNUNET_OS_start_process (NULL, NULL, "gnunet-arm",
+ "gnunet-arm",
"-c", d->cfgfile,
#if DEBUG_TESTING
"-L", "DEBUG",
#endif
- "-d", NULL);
+ "-s", NULL);
}
else
{
"ssh",
dst,
"gnunet-arm",
+#if DEBUG_TESTING
+ "-L", "DEBUG",
+#endif
"-c", d->cfgfile, "-s", NULL);
GNUNET_free (dst);
}
d->pid = GNUNET_OS_start_process (NULL, NULL, "ssh", "ssh",
arg, "gnunet-arm",
+#if DEBUG_TESTING
+ "-L", "DEBUG",
+#endif
"-c", d->cfgfile, "-e", "-d", NULL);
/* Use -e to end arm, and -d to remove temp files */
#endif
d->pid = GNUNET_OS_start_process (NULL, NULL, "gnunet-arm",
"gnunet-arm",
- "-c", d->cfgfile, "-e", NULL);
+#if DEBUG_TESTING
+ "-L", "DEBUG",
+#endif
+ "-c", d->cfgfile, "-e", "-d", NULL);
}
d->wait_runs = 0;
#include "gnunet_arm_service.h"
#include "gnunet_testing_lib.h"
-#define VERBOSE_TESTING GNUNET_YES
+#define VERBOSE_TESTING GNUNET_NO
/**
* Lowest port used for GNUnet testing. Should be high enough to not
* Create a new configuration using the given configuration
* as a template; however, each PORT in the existing cfg
* must be renumbered by incrementing "*port". If we run
- * out of "*port" numbers, return NULL.
- *
+ * out of "*port" numbers, return NULL.
+ *
* @param cfg template configuration
* @param port port numbers to use, update to reflect
* port numbers that were used
int connect_attempts;
logNModifier = 0.5; /* FIXME: default value? */
- if (GNUNET_OK == GNUNET_CONFIGURATION_get_value_string(pg->cfg,
+ if (GNUNET_OK == GNUNET_CONFIGURATION_get_value_string(pg->cfg,
"TESTING",
- "LOGNMODIFIER",
+ "LOGNMODIFIER",
&p_string))
{
if (sscanf(p_string, "%lf", &logNModifier) != 1)
square = floor (sqrt (pg->total));
rows = square;
cols = square;
-
+
percentage = 0.5; /* FIXME: default percentage? */
if (GNUNET_OK == GNUNET_CONFIGURATION_get_value_string(pg->cfg,
"TESTING",
if (GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_string(pg->peers[pg_iter].daemon->cfg, "PATHS", "SERVICEHOME", &temp_service_path))
- {
+ {
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
_("No `%s' specified in peer configuration in section `%s', cannot copy friends file!\n"),
"SERVICEHOME",
* adjusted to ensure that no two peers running on the same system
* have the same port(s) in their respective configurations.
*
- * @param sched scheduler to use
+ * @param sched scheduler to use
* @param cfg configuration template to use
* @param total number of daemons to start
* @param cb function to call on each daemon that was started
/**
* Shutdown all peers started in the given group.
- *
+ *
* @param pg handle to the peer group
*/
void