summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/mint/test_taler_mint_httpd_afl.sh6
-rw-r--r--src/util/json.c2
2 files changed, 5 insertions, 3 deletions
diff --git a/src/mint/test_taler_mint_httpd_afl.sh b/src/mint/test_taler_mint_httpd_afl.sh
index 62ad43610..a5ae081e7 100755
--- a/src/mint/test_taler_mint_httpd_afl.sh
+++ b/src/mint/test_taler_mint_httpd_afl.sh
@@ -23,10 +23,12 @@
#
# Setup keys.
taler-mint-keyup -d test-mint-home -m test-mint-home/master.priv
+# Only log hard errors, we expect lots of warnings...
+export GNUNET_FORCE_LOG="taler-mint-httpd;;;;ERROR/libmicrohttpd;;;;ERROR/"
# Run test...
-for n in afl-tests/*.req
+for n in afl-tests/*
do
- echo -n "Test $n"
+ echo -n "Test $n "
taler-mint-httpd -d test-mint-home/ -t 1 -f $n -C > /dev/null || { echo "FAIL!"; exit 1; }
echo "OK"
done
diff --git a/src/util/json.c b/src/util/json.c
index 8faee6035..9f7623b2a 100644
--- a/src/util/json.c
+++ b/src/util/json.c
@@ -305,7 +305,7 @@ TALER_json_to_amount (json_t *json,
GNUNET_break (0);
return GNUNET_SYSERR;
}
- GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
"Malformed JSON amount: %s\n",
json_enc);
free (json_enc);