[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: work on test
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: work on test |
Date: |
Sat, 07 Dec 2019 22:09:00 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new dd66d2ae work on test
dd66d2ae is described below
commit dd66d2ae7bd0b3f19b1e2a1448c05af039994b7d
Author: Christian Grothoff <address@hidden>
AuthorDate: Sat Dec 7 22:08:58 2019 +0100
work on test
---
contrib/auditor-report.tex.j2 | 3 +++
src/auditor/test-auditor.sh | 4 ++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/contrib/auditor-report.tex.j2 b/contrib/auditor-report.tex.j2
index 851fd292..804dc9e8 100644
--- a/contrib/auditor-report.tex.j2
+++ b/contrib/auditor-report.tex.j2
@@ -439,6 +439,9 @@ Disagreements imply that either the exchange made a loss
(sending out
too much money), or screwed a customer (and thus at least needs to fix
the financial damage done to the customer).
+Note that the deltas only sum up the issues where $P \not= 0$ as only
+then we can tell if the problem lead to a profit or loss.
+
% Table generation tested by testcase #18 in test-auditor.sh
{% if data.amount_arithmetic_inconsistencies|length() == 0 %}
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh
index c5653a62..68640f85 100755
--- a/src/auditor/test-auditor.sh
+++ b/src/auditor/test-auditor.sh
@@ -1079,12 +1079,12 @@ echo PASS
echo -n "Testing risk/loss calculation... "
AMOUNT=`jq -r .emergencies_risk_by_amount < test-audit.json`
-if test "x$AMOUNT" == "xTESTKUDOS:0"
+if test "x$AMOUNT" != "xTESTKUDOS:0"
then
exit_fail "Reported amount wrong: $AMOUNT"
fi
AMOUNT=`jq -r .emergencies_risk_by_count < test-audit.json`
-if test "x$AMOUNT" == "xTESTKUDOS:0"
+if test "x$AMOUNT" != "xTESTKUDOS:0"
then
exit_fail "Reported amount wrong: $AMOUNT"
fi
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: work on test,
gnunet <=