aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_helper_eddsa.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-01-28 21:23:16 +0100
committerChristian Grothoff <christian@grothoff.org>2021-01-28 21:23:16 +0100
commitbfd0a9625436f07a5c2b2d8b397525107da97ddb (patch)
treee983d83a8ba88340fdf5499fe8e692732b4e0ffb /src/util/test_helper_eddsa.c
parentf3329ee39876fc7d41e07e69bf519304478cbfc4 (diff)
improve test logging
Diffstat (limited to 'src/util/test_helper_eddsa.c')
-rw-r--r--src/util/test_helper_eddsa.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/util/test_helper_eddsa.c b/src/util/test_helper_eddsa.c
index 5ac10a986..aac855854 100644
--- a/src/util/test_helper_eddsa.c
+++ b/src/util/test_helper_eddsa.c
@@ -253,7 +253,9 @@ test_signing (struct TALER_CRYPTO_ExchangeSignHelper *esh)
break;
default:
/* unexpected error */
- GNUNET_break (0);
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ "Unexpected error %d\n",
+ ec);
return 7;
}
}
@@ -394,7 +396,7 @@ main (int argc,
(void) argc;
(void) argv;
GNUNET_log_setup ("test-helper-eddsa",
- "WARNING",
+ "INFO",
NULL);
GNUNET_OS_init (TALER_project_data_default ());
libexec_dir = GNUNET_OS_installation_get_path (GNUNET_OS_IPK_BINDIR);
@@ -410,7 +412,7 @@ main (int argc,
"-c",
"test_helper_eddsa.conf",
"-L",
- "WARNING",
+ "INFO",
NULL);
if (NULL == helper)
{