diff options
Diffstat (limited to 'src/core/test_core_api_reliability.c')
-rw-r--r-- | src/core/test_core_api_reliability.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/test_core_api_reliability.c b/src/core/test_core_api_reliability.c index d4afbc27d..dd70d438a 100644 --- a/src/core/test_core_api_reliability.c +++ b/src/core/test_core_api_reliability.c | |||
@@ -426,10 +426,13 @@ process_hello (void *cls, const struct GNUNET_MessageHeader *message) | |||
426 | static void | 426 | static void |
427 | setup_peer (struct PeerContext *p, const char *cfgname) | 427 | setup_peer (struct PeerContext *p, const char *cfgname) |
428 | { | 428 | { |
429 | char *binary; | ||
430 | |||
431 | binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-arm"); | ||
429 | p->cfg = GNUNET_CONFIGURATION_create (); | 432 | p->cfg = GNUNET_CONFIGURATION_create (); |
430 | #if START_ARM | 433 | #if START_ARM |
431 | p->arm_proc = | 434 | p->arm_proc = |
432 | GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_OUT_AND_ERR, NULL, NULL, "gnunet-service-arm", | 435 | GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_OUT_AND_ERR, NULL, NULL, binary, |
433 | "gnunet-service-arm", | 436 | "gnunet-service-arm", |
434 | "-c", cfgname, NULL); | 437 | "-c", cfgname, NULL); |
435 | #endif | 438 | #endif |
@@ -437,6 +440,7 @@ setup_peer (struct PeerContext *p, const char *cfgname) | |||
437 | p->th = GNUNET_TRANSPORT_connect (p->cfg, NULL, p, NULL, NULL, NULL); | 440 | p->th = GNUNET_TRANSPORT_connect (p->cfg, NULL, p, NULL, NULL, NULL); |
438 | GNUNET_assert (p->th != NULL); | 441 | GNUNET_assert (p->th != NULL); |
439 | p->ghh = GNUNET_TRANSPORT_get_hello (p->th, &process_hello, p); | 442 | p->ghh = GNUNET_TRANSPORT_get_hello (p->th, &process_hello, p); |
443 | GNUNET_free (binary); | ||
440 | } | 444 | } |
441 | 445 | ||
442 | 446 | ||