diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-10-12 00:07:33 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-10-12 00:07:33 +0000 |
commit | 27728a48d661e9ee546cc95aae8fa52050eefb29 (patch) | |
tree | 89450fc22b530dc592134ac18405180eeafe13b3 /src/statistics | |
parent | 6d38e5b12b460d1d7f0a6eafe1410f7121e04002 (diff) | |
download | gnunet-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')
-rw-r--r-- | src/statistics/test_statistics_api.c | 4 | ||||
-rw-r--r-- | src/statistics/test_statistics_api_loop.c | 2 | ||||
-rw-r--r-- | src/statistics/test_statistics_api_watch.c | 2 | ||||
-rw-r--r-- | src/statistics/test_statistics_api_watch_zero_value.c | 2 |
4 files changed, 5 insertions, 5 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; |
diff --git a/src/statistics/test_statistics_api_loop.c b/src/statistics/test_statistics_api_loop.c index 987b6c57b..7a7b44c1f 100644 --- a/src/statistics/test_statistics_api_loop.c +++ b/src/statistics/test_statistics_api_loop.c | |||
@@ -101,7 +101,7 @@ main (int argc, char *argv_ign[]) | |||
101 | GNUNET_assert (NULL != proc); | 101 | GNUNET_assert (NULL != proc); |
102 | GNUNET_PROGRAM_run (3, argv, "test-statistics-api", "nohelp", options, &run, | 102 | GNUNET_PROGRAM_run (3, argv, "test-statistics-api", "nohelp", options, &run, |
103 | &ok); | 103 | &ok); |
104 | if (0 != GNUNET_OS_process_kill (proc, SIGTERM)) | 104 | if (0 != GNUNET_OS_process_kill (proc, GNUNET_TERM_SIG)) |
105 | { | 105 | { |
106 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill"); | 106 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill"); |
107 | ok = 1; | 107 | ok = 1; |
diff --git a/src/statistics/test_statistics_api_watch.c b/src/statistics/test_statistics_api_watch.c index e75cab5f6..78bc425c5 100644 --- a/src/statistics/test_statistics_api_watch.c +++ b/src/statistics/test_statistics_api_watch.c | |||
@@ -130,7 +130,7 @@ main (int argc, char *argv_ign[]) | |||
130 | ok = 3; | 130 | ok = 3; |
131 | GNUNET_PROGRAM_run (3, argv, "test-statistics-api", "nohelp", options, &run, | 131 | GNUNET_PROGRAM_run (3, argv, "test-statistics-api", "nohelp", options, &run, |
132 | NULL); | 132 | NULL); |
133 | if (0 != GNUNET_OS_process_kill (proc, SIGTERM)) | 133 | if (0 != GNUNET_OS_process_kill (proc, GNUNET_TERM_SIG)) |
134 | { | 134 | { |
135 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill"); | 135 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill"); |
136 | ok = 1; | 136 | ok = 1; |
diff --git a/src/statistics/test_statistics_api_watch_zero_value.c b/src/statistics/test_statistics_api_watch_zero_value.c index d78de9a9e..c42c44428 100644 --- a/src/statistics/test_statistics_api_watch_zero_value.c +++ b/src/statistics/test_statistics_api_watch_zero_value.c | |||
@@ -166,7 +166,7 @@ main (int argc, char *argv_ign[]) | |||
166 | ok2 = 1; | 166 | ok2 = 1; |
167 | GNUNET_PROGRAM_run (3, argv, "test-statistics-api", "nohelp", options, &run, | 167 | GNUNET_PROGRAM_run (3, argv, "test-statistics-api", "nohelp", options, &run, |
168 | NULL); | 168 | NULL); |
169 | if (0 != GNUNET_OS_process_kill (proc, SIGTERM)) | 169 | if (0 != GNUNET_OS_process_kill (proc, GNUNET_TERM_SIG)) |
170 | { | 170 | { |
171 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill"); | 171 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill"); |
172 | ok = 1; | 172 | ok = 1; |