aboutsummaryrefslogtreecommitdiff
path: root/src/statistics/test_statistics_api.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-10-12 00:07:33 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-10-12 00:07:33 +0000
commit27728a48d661e9ee546cc95aae8fa52050eefb29 (patch)
tree89450fc22b530dc592134ac18405180eeafe13b3 /src/statistics/test_statistics_api.c
parent6d38e5b12b460d1d7f0a6eafe1410f7121e04002 (diff)
downloadgnunet-27728a48d661e9ee546cc95aae8fa52050eefb29.tar.gz
gnunet-27728a48d661e9ee546cc95aae8fa52050eefb29.zip
- change --enable-ll to --enable-supermuc
- define a system wide termination signal GNUNET_TERM_SIG. Set this to SIGUSR1 only when building for SuperMUC
Diffstat (limited to 'src/statistics/test_statistics_api.c')
-rw-r--r--src/statistics/test_statistics_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/statistics/test_statistics_api.c b/src/statistics/test_statistics_api.c
index 47871fa7b..aa9088f35 100644
--- a/src/statistics/test_statistics_api.c
+++ b/src/statistics/test_statistics_api.c
@@ -153,7 +153,7 @@ main (int argc, char *argv_ign[])
153 GNUNET_assert (NULL != proc); 153 GNUNET_assert (NULL != proc);
154 GNUNET_PROGRAM_run (5, argv, "test-statistics-api", "nohelp", options, &run, 154 GNUNET_PROGRAM_run (5, argv, "test-statistics-api", "nohelp", options, &run,
155 &ok); 155 &ok);
156 if (0 != GNUNET_OS_process_kill (proc, SIGTERM)) 156 if (0 != GNUNET_OS_process_kill (proc, GNUNET_TERM_SIG))
157 { 157 {
158 GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill"); 158 GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill");
159 ok = 1; 159 ok = 1;
@@ -175,7 +175,7 @@ main (int argc, char *argv_ign[])
175 "-c", "test_statistics_api_data.conf", NULL); 175 "-c", "test_statistics_api_data.conf", NULL);
176 GNUNET_PROGRAM_run (5, argv, "test-statistics-api", "nohelp", options, 176 GNUNET_PROGRAM_run (5, argv, "test-statistics-api", "nohelp", options,
177 &run_more, &ok); 177 &run_more, &ok);
178 if (0 != GNUNET_OS_process_kill (proc, SIGTERM)) 178 if (0 != GNUNET_OS_process_kill (proc, GNUNET_TERM_SIG))
179 { 179 {
180 GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill"); 180 GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill");
181 ok = 1; 181 ok = 1;