From 17a30cbd708cb2427fd3a7533fc9945898e2c34c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 7 Feb 2022 23:38:30 +0100 Subject: -cleanups --- src/testing/test_auditor_api.c | 2 +- src/testing/testing_api_helpers_exchange.c | 1 + src/testing/testing_api_loop.c | 9 +++++---- 3 files changed, 7 insertions(+), 5 deletions(-) (limited to 'src/testing') diff --git a/src/testing/test_auditor_api.c b/src/testing/test_auditor_api.c index d1616c915..cf2354bd8 100644 --- a/src/testing/test_auditor_api.c +++ b/src/testing/test_auditor_api.c @@ -184,7 +184,7 @@ run (void *cls, /** * Melt the rest of the coin's value (EUR:4.00 = 3x EUR:1.03 + 7x * EUR:0.13) -*/ + */ TALER_TESTING_cmd_melt_double ("refresh-melt-1", "refresh-withdraw-coin-1", MHD_HTTP_OK, diff --git a/src/testing/testing_api_helpers_exchange.c b/src/testing/testing_api_helpers_exchange.c index 9414af662..ba0e5a0fb 100644 --- a/src/testing/testing_api_helpers_exchange.c +++ b/src/testing/testing_api_helpers_exchange.c @@ -765,6 +765,7 @@ TALER_TESTING_setup_with_exchange_cfg ( #endif "taler-exchange-httpd", "taler-exchange-httpd", + "-L", "INFO", "-a", /* some tests may need timetravel */ "-c", setup_ctx->config_filename, #if GNU_PARALLEL diff --git a/src/testing/testing_api_loop.c b/src/testing/testing_api_loop.c index 7a25bed64..9ce201120 100644 --- a/src/testing/testing_api_loop.c +++ b/src/testing/testing_api_loop.c @@ -691,7 +691,7 @@ main_wrapper_exchange_connect (void *cls) * * @param[in,out] is state to initialize */ -static int +static enum GNUNET_GenericReturnValue load_keys (struct TALER_TESTING_Interpreter *is) { char *fn; @@ -774,7 +774,7 @@ load_keys (struct TALER_TESTING_Interpreter *is) * * @param[in,out] is state to initialize */ -static int +static enum GNUNET_GenericReturnValue load_urls (struct TALER_TESTING_Interpreter *is) { if (GNUNET_OK != @@ -804,7 +804,7 @@ load_urls (struct TALER_TESTING_Interpreter *is) } -int +enum GNUNET_GenericReturnValue TALER_TESTING_setup (TALER_TESTING_Main main_cb, void *main_cb_cls, const struct GNUNET_CONFIGURATION_Handle *cfg, @@ -839,7 +839,8 @@ TALER_TESTING_setup (TALER_TESTING_Main main_cb, is.ctx = GNUNET_CURL_init (&GNUNET_CURL_gnunet_scheduler_reschedule, &is.rc); - GNUNET_CURL_enable_async_scope_header (is.ctx, "Taler-Correlation-Id"); + GNUNET_CURL_enable_async_scope_header (is.ctx, + "Taler-Correlation-Id"); GNUNET_assert (NULL != is.ctx); is.rc = GNUNET_CURL_gnunet_rc_create (is.ctx); -- cgit v1.2.3