summaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-02-07 23:38:30 +0100
committerChristian Grothoff <christian@grothoff.org>2022-02-07 23:38:30 +0100
commit17a30cbd708cb2427fd3a7533fc9945898e2c34c (patch)
treec6886d8feff8697265a850ec15efe98134b6b66a /src/testing
parente27ff05e63cae9075b8b9a88cbd7dd10d8c39adc (diff)
downloadexchange-17a30cbd708cb2427fd3a7533fc9945898e2c34c.tar.gz
exchange-17a30cbd708cb2427fd3a7533fc9945898e2c34c.tar.bz2
exchange-17a30cbd708cb2427fd3a7533fc9945898e2c34c.zip
-cleanups
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/test_auditor_api.c2
-rw-r--r--src/testing/testing_api_helpers_exchange.c1
-rw-r--r--src/testing/testing_api_loop.c9
3 files changed, 7 insertions, 5 deletions
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);