diff options
Diffstat (limited to 'src/testing/testing.c')
-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 | { |