[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] 06/08: improve error logging
From: |
gnunet |
Subject: |
[taler-exchange] 06/08: improve error logging |
Date: |
Fri, 27 Mar 2020 11:26:43 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
commit 1ced0438c2d5f18c1bc1446a5a505733227302a1
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Mar 27 10:44:00 2020 +0100
improve error logging
---
src/auditor/test-revocation.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/auditor/test-revocation.sh b/src/auditor/test-revocation.sh
index 81844b7a..7f4e242e 100755
--- a/src/auditor/test-revocation.sh
+++ b/src/auditor/test-revocation.sh
@@ -364,23 +364,23 @@ echo -n "Testing inconsistency detection... "
AMOUNT=`jq -r .reserve_balance_summary_wrong_inconsistencies[0].auditor <
test-audit-reserves.json`
if test $AMOUNT != "TESTKUDOS:3"
then
- exit_fail "Auditor amount $AMOUNT is wrong"
+ exit_fail "Reserve auditor amount $AMOUNT is wrong"
fi
AMOUNT=`jq -r .reserve_balance_summary_wrong_inconsistencies[0].exchange <
test-audit-reserves.json`
if test $AMOUNT != "TESTKUDOS:0"
then
- exit_fail "Exchange amount $AMOUNT is wrong"
+ exit_fail "Reserve exchange amount $AMOUNT is wrong"
fi
# Coin spent exceeded coin's value
AMOUNT=`jq -r .amount_arithmetic_inconsistencies[0].auditor <
test-audit-coins.json`
if test $AMOUNT != "TESTKUDOS:2"
then
- exit_fail "Auditor amount $AMOUNT is wrong"
+ exit_fail "Coin auditor amount $AMOUNT is wrong"
fi
AMOUNT=`jq -r .amount_arithmetic_inconsistencies[0].exchange <
test-audit-coins.json`
if test $AMOUNT != "TESTKUDOS:5"
then
- exit_fail "Exchange amount $AMOUNT is wrong"
+ exit_fail "Coin exchange amount $AMOUNT is wrong"
fi
echo OK
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [taler-exchange] branch master updated (f052527e -> 13bbcef8), gnunet, 2020/03/27
- [taler-exchange] 04/08: missing break, gnunet, 2020/03/27
- [taler-exchange] 02/08: check coin history consistency, gnunet, 2020/03/27
- [taler-exchange] 08/08: adjust test to code changes, gnunet, 2020/03/27
- [taler-exchange] 06/08: improve error logging,
gnunet <=
- [taler-exchange] 01/08: consider that deposit fee is discounted when refund fee is applied, gnunet, 2020/03/27
- [taler-exchange] 03/08: expand test suite, gnunet, 2020/03/27
- [taler-exchange] 07/08: fix inconsistency in field naming, gnunet, 2020/03/27
- [taler-exchange] 05/08: improve coin audit logic, gnunet, 2020/03/27