diff options
Diffstat (limited to 'src/chat/test_chat.c')
-rw-r--r-- | src/chat/test_chat.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/chat/test_chat.c b/src/chat/test_chat.c index 5dcb87966..24a1e38da 100644 --- a/src/chat/test_chat.c +++ b/src/chat/test_chat.c | |||
@@ -116,17 +116,18 @@ static int is_auth; | |||
116 | static void | 116 | static void |
117 | setup_peer (struct PeerContext *p, const char *cfgname) | 117 | setup_peer (struct PeerContext *p, const char *cfgname) |
118 | { | 118 | { |
119 | char *binary; | ||
120 | |||
121 | binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-arm"); | ||
119 | p->cfg = GNUNET_CONFIGURATION_create (); | 122 | p->cfg = GNUNET_CONFIGURATION_create (); |
120 | #if START_ARM | 123 | #if START_ARM |
121 | p->arm_proc = | 124 | p->arm_proc = |
122 | GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_OUT_AND_ERR, NULL, NULL, "gnunet-service-arm", | 125 | GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_OUT_AND_ERR, NULL, NULL, binary, |
123 | "gnunet-service-arm", | 126 | "gnunet-service-arm", |
124 | #if VERBOSE | ||
125 | "-L", "DEBUG", | ||
126 | #endif | ||
127 | "-c", cfgname, NULL); | 127 | "-c", cfgname, NULL); |
128 | #endif | 128 | #endif |
129 | GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (p->cfg, cfgname)); | 129 | GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (p->cfg, cfgname)); |
130 | GNUNET_free (binary); | ||
130 | } | 131 | } |
131 | 132 | ||
132 | 133 | ||