aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_quota_compliance.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/test_core_quota_compliance.c')
-rw-r--r--src/core/test_core_quota_compliance.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/test_core_quota_compliance.c b/src/core/test_core_quota_compliance.c
index 61fe21626..88a915095 100644
--- a/src/core/test_core_quota_compliance.c
+++ b/src/core/test_core_quota_compliance.c
@@ -570,10 +570,13 @@ process_hello (void *cls, const struct GNUNET_MessageHeader *message)
570static void 570static void
571setup_peer (struct PeerContext *p, const char *cfgname) 571setup_peer (struct PeerContext *p, const char *cfgname)
572{ 572{
573 char *binary;
574
575 binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-arm");
573 p->cfg = GNUNET_CONFIGURATION_create (); 576 p->cfg = GNUNET_CONFIGURATION_create ();
574#if START_ARM 577#if START_ARM
575 p->arm_proc = 578 p->arm_proc =
576 GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_OUT_AND_ERR, NULL, NULL, "gnunet-service-arm", 579 GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_OUT_AND_ERR, NULL, NULL, binary,
577 "gnunet-service-arm", 580 "gnunet-service-arm",
578 "-c", cfgname, NULL); 581 "-c", cfgname, NULL);
579#endif 582#endif
@@ -583,6 +586,7 @@ setup_peer (struct PeerContext *p, const char *cfgname)
583 p->th = GNUNET_TRANSPORT_connect (p->cfg, NULL, p, NULL, NULL, NULL); 586 p->th = GNUNET_TRANSPORT_connect (p->cfg, NULL, p, NULL, NULL, NULL);
584 GNUNET_assert (p->th != NULL); 587 GNUNET_assert (p->th != NULL);
585 p->ghh = GNUNET_TRANSPORT_get_hello (p->th, &process_hello, p); 588 p->ghh = GNUNET_TRANSPORT_get_hello (p->th, &process_hello, p);
589 GNUNET_free (binary);
586} 590}
587 591
588 592