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/core | |
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/core')
-rw-r--r-- | src/core/test_core_api.c | 2 | ||||
-rw-r--r-- | src/core/test_core_api_reliability.c | 2 | ||||
-rw-r--r-- | src/core/test_core_api_start_only.c | 2 | ||||
-rw-r--r-- | src/core/test_core_quota_compliance.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/core/test_core_api.c b/src/core/test_core_api.c index 12745c984..af2b98e41 100644 --- a/src/core/test_core_api.c +++ b/src/core/test_core_api.c | |||
@@ -334,7 +334,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
334 | static void | 334 | static void |
335 | stop_arm (struct PeerContext *p) | 335 | stop_arm (struct PeerContext *p) |
336 | { | 336 | { |
337 | if (0 != GNUNET_OS_process_kill (p->arm_proc, SIGTERM)) | 337 | if (0 != GNUNET_OS_process_kill (p->arm_proc, GNUNET_TERM_SIG)) |
338 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill"); | 338 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill"); |
339 | if (GNUNET_OS_process_wait (p->arm_proc) != GNUNET_OK) | 339 | if (GNUNET_OS_process_wait (p->arm_proc) != GNUNET_OK) |
340 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); | 340 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); |
diff --git a/src/core/test_core_api_reliability.c b/src/core/test_core_api_reliability.c index ddc3c585e..97006fe95 100644 --- a/src/core/test_core_api_reliability.c +++ b/src/core/test_core_api_reliability.c | |||
@@ -447,7 +447,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
447 | static void | 447 | static void |
448 | stop_arm (struct PeerContext *p) | 448 | stop_arm (struct PeerContext *p) |
449 | { | 449 | { |
450 | if (0 != GNUNET_OS_process_kill (p->arm_proc, SIGTERM)) | 450 | if (0 != GNUNET_OS_process_kill (p->arm_proc, GNUNET_TERM_SIG)) |
451 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill"); | 451 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill"); |
452 | if (GNUNET_OS_process_wait (p->arm_proc) != GNUNET_OK) | 452 | if (GNUNET_OS_process_wait (p->arm_proc) != GNUNET_OK) |
453 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); | 453 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); |
diff --git a/src/core/test_core_api_start_only.c b/src/core/test_core_api_start_only.c index 0389a908e..255de0319 100644 --- a/src/core/test_core_api_start_only.c +++ b/src/core/test_core_api_start_only.c | |||
@@ -184,7 +184,7 @@ static void | |||
184 | stop_arm (struct PeerContext *p) | 184 | stop_arm (struct PeerContext *p) |
185 | { | 185 | { |
186 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Stopping peer\n"); | 186 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Stopping peer\n"); |
187 | if (0 != GNUNET_OS_process_kill (p->arm_proc, SIGTERM)) | 187 | if (0 != GNUNET_OS_process_kill (p->arm_proc, GNUNET_TERM_SIG)) |
188 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill"); | 188 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill"); |
189 | if (GNUNET_OS_process_wait (p->arm_proc) != GNUNET_OK) | 189 | if (GNUNET_OS_process_wait (p->arm_proc) != GNUNET_OK) |
190 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); | 190 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); |
diff --git a/src/core/test_core_quota_compliance.c b/src/core/test_core_quota_compliance.c index 7c1b198c9..71b842522 100644 --- a/src/core/test_core_quota_compliance.c +++ b/src/core/test_core_quota_compliance.c | |||
@@ -627,7 +627,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
627 | static void | 627 | static void |
628 | stop_arm (struct PeerContext *p) | 628 | stop_arm (struct PeerContext *p) |
629 | { | 629 | { |
630 | if (0 != GNUNET_OS_process_kill (p->arm_proc, SIGTERM)) | 630 | if (0 != GNUNET_OS_process_kill (p->arm_proc, GNUNET_TERM_SIG)) |
631 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill"); | 631 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill"); |
632 | if (GNUNET_OS_process_wait (p->arm_proc) != GNUNET_OK) | 632 | if (GNUNET_OS_process_wait (p->arm_proc) != GNUNET_OK) |
633 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); | 633 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); |