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/testing | |
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/testing')
-rw-r--r-- | src/testing/testing.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testing/testing.c b/src/testing/testing.c index cfca8ce9b..629089f87 100644 --- a/src/testing/testing.c +++ b/src/testing/testing.c | |||
@@ -508,7 +508,7 @@ static void | |||
508 | stop_shared_service_instance (struct SharedServiceInstance *i) | 508 | stop_shared_service_instance (struct SharedServiceInstance *i) |
509 | { | 509 | { |
510 | GNUNET_break (0 == i->n_refs); | 510 | GNUNET_break (0 == i->n_refs); |
511 | if (0 != GNUNET_OS_process_kill (i->proc, SIGTERM)) | 511 | if (0 != GNUNET_OS_process_kill (i->proc, GNUNET_TERM_SIG)) |
512 | LOG (GNUNET_ERROR_TYPE_WARNING, | 512 | LOG (GNUNET_ERROR_TYPE_WARNING, |
513 | "Killing shared service instance (%s) failed\n", i->ss->sname); | 513 | "Killing shared service instance (%s) failed\n", i->ss->sname); |
514 | (void) GNUNET_OS_process_wait (i->proc); | 514 | (void) GNUNET_OS_process_wait (i->proc); |
@@ -1418,7 +1418,7 @@ GNUNET_TESTING_peer_kill (struct GNUNET_TESTING_Peer *peer) | |||
1418 | GNUNET_break (0); | 1418 | GNUNET_break (0); |
1419 | return GNUNET_SYSERR; | 1419 | return GNUNET_SYSERR; |
1420 | } | 1420 | } |
1421 | if (0 != GNUNET_OS_process_kill (peer->main_process, SIGTERM)) | 1421 | if (0 != GNUNET_OS_process_kill (peer->main_process, GNUNET_TERM_SIG)) |
1422 | return GNUNET_SYSERR; | 1422 | return GNUNET_SYSERR; |
1423 | for (cnt = 0; cnt < peer->system->n_shared_services; cnt++) | 1423 | for (cnt = 0; cnt < peer->system->n_shared_services; cnt++) |
1424 | { | 1424 | { |