diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-11-22 22:05:52 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-11-22 22:05:52 +0100 |
commit | 3b97df2bd3fc4a544e779210c67ff55aa66caa1d (patch) | |
tree | 443bb714aa6e4d2af765f12579a5e7cbda5bdfda /src/testing | |
parent | 180b6567c6cbf60756da804c75f8bb06fc60d0fb (diff) | |
download | exchange-3b97df2bd3fc4a544e779210c67ff55aa66caa1d.tar.xz |
-check rvalues
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/testing_api_twister_helpers.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/testing/testing_api_twister_helpers.c b/src/testing/testing_api_twister_helpers.c index fef631e50..68fbf0082 100644 --- a/src/testing/testing_api_twister_helpers.c +++ b/src/testing/testing_api_twister_helpers.c @@ -131,7 +131,9 @@ TALER_TWISTER_run_twister (const char *config_filename) &code)) { GNUNET_OS_process_destroy (client_proc); - GNUNET_OS_process_kill (proc, SIGTERM); + GNUNET_break (0 == + GNUNET_OS_process_kill (proc, + SIGTERM)); GNUNET_OS_process_wait (proc); GNUNET_OS_process_destroy (proc); TWISTER_FAIL (); @@ -142,7 +144,9 @@ TALER_TWISTER_run_twister (const char *config_filename) GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Failed to check twister works.\n"); GNUNET_OS_process_destroy (client_proc); - GNUNET_OS_process_kill (proc, SIGTERM); + GNUNET_break (0 == + GNUNET_OS_process_kill (proc, + SIGTERM)); GNUNET_OS_process_wait (proc); GNUNET_OS_process_destroy (proc); TWISTER_FAIL (); @@ -153,7 +157,9 @@ TALER_TWISTER_run_twister (const char *config_filename) GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Unexpected error running `taler-twister'!\n"); GNUNET_OS_process_destroy (client_proc); - GNUNET_OS_process_kill (proc, SIGTERM); + GNUNET_break (0 == + GNUNET_OS_process_kill (proc, + SIGTERM)); GNUNET_OS_process_wait (proc); GNUNET_OS_process_destroy (proc); TWISTER_FAIL (); |