diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2014-02-20 10:35:33 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2014-02-20 10:35:33 +0000 |
commit | 2a35e345a204cb357361406f28e07bf9076cb092 (patch) | |
tree | 8c51b5dae07a1f3a3a6a13ac6c623e0b0df2a070 /src/statistics/test_statistics_api.c | |
parent | a06237deeec4aed38b09f633d7ebbeabb7da4c03 (diff) | |
download | gnunet-2a35e345a204cb357361406f28e07bf9076cb092.tar.gz gnunet-2a35e345a204cb357361406f28e07bf9076cb092.zip |
Allow redirection of STDERR when starting processes.
Diffstat (limited to 'src/statistics/test_statistics_api.c')
-rw-r--r-- | src/statistics/test_statistics_api.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/statistics/test_statistics_api.c b/src/statistics/test_statistics_api.c index aa9088f35..77f6bee80 100644 --- a/src/statistics/test_statistics_api.c +++ b/src/statistics/test_statistics_api.c | |||
@@ -146,7 +146,8 @@ main (int argc, char *argv_ign[]) | |||
146 | NULL); | 146 | NULL); |
147 | binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-statistics"); | 147 | binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-statistics"); |
148 | proc = | 148 | proc = |
149 | GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_OUT_AND_ERR, NULL, NULL, | 149 | GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_OUT_AND_ERR, |
150 | NULL, NULL, NULL, | ||
150 | binary, | 151 | binary, |
151 | "gnunet-service-statistics", | 152 | "gnunet-service-statistics", |
152 | "-c", "test_statistics_api_data.conf", NULL); | 153 | "-c", "test_statistics_api_data.conf", NULL); |
@@ -169,7 +170,8 @@ main (int argc, char *argv_ign[]) | |||
169 | ok = 1; | 170 | ok = 1; |
170 | /* restart to check persistence! */ | 171 | /* restart to check persistence! */ |
171 | proc = | 172 | proc = |
172 | GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_OUT_AND_ERR, NULL, NULL, | 173 | GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_OUT_AND_ERR, |
174 | NULL, NULL, NULL, | ||
173 | binary, | 175 | binary, |
174 | "gnunet-service-statistics", | 176 | "gnunet-service-statistics", |
175 | "-c", "test_statistics_api_data.conf", NULL); | 177 | "-c", "test_statistics_api_data.conf", NULL); |