diff options
Diffstat (limited to 'src/testing/testing.c')
-rw-r--r-- | src/testing/testing.c | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/testing/testing.c b/src/testing/testing.c index a18e7b88b..a1bbb4f70 100644 --- a/src/testing/testing.c +++ b/src/testing/testing.c | |||
@@ -168,13 +168,13 @@ start_fsm (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
168 | /* start GNUnet on remote host */ | 168 | /* start GNUnet on remote host */ |
169 | if (NULL == d->hostname) | 169 | if (NULL == d->hostname) |
170 | { | 170 | { |
171 | d->pid = GNUNET_OS_start_process (NULL, NULL, "gnunet-service-arm", | 171 | d->pid = GNUNET_OS_start_process (NULL, NULL, "gnunet-arm", |
172 | "gnunet-service-arm", | 172 | "gnunet-arm", |
173 | "-c", d->cfgfile, | 173 | "-c", d->cfgfile, |
174 | #if DEBUG_TESTING | 174 | #if DEBUG_TESTING |
175 | "-L", "DEBUG", | 175 | "-L", "DEBUG", |
176 | #endif | 176 | #endif |
177 | "-d", NULL); | 177 | "-s", NULL); |
178 | } | 178 | } |
179 | else | 179 | else |
180 | { | 180 | { |
@@ -186,6 +186,9 @@ start_fsm (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
186 | "ssh", | 186 | "ssh", |
187 | dst, | 187 | dst, |
188 | "gnunet-arm", | 188 | "gnunet-arm", |
189 | #if DEBUG_TESTING | ||
190 | "-L", "DEBUG", | ||
191 | #endif | ||
189 | "-c", d->cfgfile, "-s", NULL); | 192 | "-c", d->cfgfile, "-s", NULL); |
190 | GNUNET_free (dst); | 193 | GNUNET_free (dst); |
191 | } | 194 | } |
@@ -528,6 +531,9 @@ GNUNET_TESTING_daemon_stop (struct GNUNET_TESTING_Daemon *d, | |||
528 | 531 | ||
529 | d->pid = GNUNET_OS_start_process (NULL, NULL, "ssh", "ssh", | 532 | d->pid = GNUNET_OS_start_process (NULL, NULL, "ssh", "ssh", |
530 | arg, "gnunet-arm", | 533 | arg, "gnunet-arm", |
534 | #if DEBUG_TESTING | ||
535 | "-L", "DEBUG", | ||
536 | #endif | ||
531 | "-c", d->cfgfile, "-e", "-d", NULL); | 537 | "-c", d->cfgfile, "-e", "-d", NULL); |
532 | /* Use -e to end arm, and -d to remove temp files */ | 538 | /* Use -e to end arm, and -d to remove temp files */ |
533 | 539 | ||
@@ -541,7 +547,10 @@ GNUNET_TESTING_daemon_stop (struct GNUNET_TESTING_Daemon *d, | |||
541 | #endif | 547 | #endif |
542 | d->pid = GNUNET_OS_start_process (NULL, NULL, "gnunet-arm", | 548 | d->pid = GNUNET_OS_start_process (NULL, NULL, "gnunet-arm", |
543 | "gnunet-arm", | 549 | "gnunet-arm", |
544 | "-c", d->cfgfile, "-e", NULL); | 550 | #if DEBUG_TESTING |
551 | "-L", "DEBUG", | ||
552 | #endif | ||
553 | "-c", d->cfgfile, "-e", "-d", NULL); | ||
545 | } | 554 | } |
546 | 555 | ||
547 | d->wait_runs = 0; | 556 | d->wait_runs = 0; |