[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] branch master updated: fix test
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] branch master updated: fix test |
Date: |
Wed, 04 Sep 2019 04:08:11 +0200 |
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 e975dd3b fix test
e975dd3b is described below
commit e975dd3bdd496f643fc22e3eb6a5e1f386e237b5
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Sep 4 04:07:57 2019 +0200
fix test
---
src/auditor/test-auditor.sh | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh
index da9faee6..d6b0f15c 100755
--- a/src/auditor/test-auditor.sh
+++ b/src/auditor/test-auditor.sh
@@ -640,17 +640,22 @@ echo -n "Test for inconsistency detection... "
AMOUNT=`jq -r .wire_out_amount_inconsistencies[0].amount_wired <
test-wire-audit.json`
if test "x$AMOUNT" != "xTESTKUDOS:10"
then
- exit_fail "Reported amount wrong: $AMOUNT"
+ exit_fail "Reported wired amount wrong: $AMOUNT"
fi
-AMOUNT=`jq -r .total_wire_out_delta_minus < test-wire-audit.json`
+AMOUNT=`jq -r .total_wire_out_delta_plus < test-wire-audit.json`
if test "x$AMOUNT" != "xTESTKUDOS:10"
then
- exit_fail "Reported amount wrong: $AMOUNT"
+ exit_fail "Reported total plus amount wrong: $AMOUNT"
+fi
+AMOUNT=`jq -r .total_wire_out_delta_minus < test-wire-audit.json`
+if test "x$AMOUNT" != "xTESTKUDOS:0"
+then
+ exit_fail "Reported total minus amount wrong: $AMOUNT"
fi
AMOUNT=`jq -r .wire_out_amount_inconsistencies[0].amount_justified <
test-wire-audit.json`
if test "x$AMOUNT" != "xTESTKUDOS:0"
then
- exit_fail "Reported amount wrong: $AMOUNT"
+ exit_fail "Reported justified amount wrong: $AMOUNT"
fi
DIAG=`jq -r .wire_out_amount_inconsistencies[0].diagnostic <
test-wire-audit.json`
if test "x$DIAG" != "xjustification for wire transfer not found"
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-exchange] branch master updated: fix test,
gnunet <=