From bfd0a9625436f07a5c2b2d8b397525107da97ddb Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 28 Jan 2021 21:23:16 +0100 Subject: improve test logging --- src/util/test_helper_rsa.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/util/test_helper_rsa.c') diff --git a/src/util/test_helper_rsa.c b/src/util/test_helper_rsa.c index 17006a66d..96b88c345 100644 --- a/src/util/test_helper_rsa.c +++ b/src/util/test_helper_rsa.c @@ -333,7 +333,9 @@ test_signing (struct TALER_CRYPTO_DenominationHelper *dh) break; default: /* unexpected error */ - GNUNET_break (0); + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + "Unexpected error %d\n", + ec); return 7; } } @@ -534,7 +536,7 @@ main (int argc, (void) argc; (void) argv; GNUNET_log_setup ("test-helper-rsa", - "WARNING", + "INFO", NULL); GNUNET_OS_init (TALER_project_data_default ()); libexec_dir = GNUNET_OS_installation_get_path (GNUNET_OS_IPK_BINDIR); @@ -550,7 +552,7 @@ main (int argc, "-c", "test_helper_rsa.conf", "-L", - "WARNING", + "INFO", NULL); if (NULL == helper) { -- cgit v1.2.3