exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 4abb38a36ed41c70e8ee90cda4779c18d42f263b
parent e16f463adbdd9ea113d9122ebbcf4d04fed30438
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 28 Mar 2020 22:05:54 +0100

address FIXME

Diffstat:
Msrc/auditor/taler-helper-auditor-reserves.c | 2+-
Msrc/auditor/test-revocation.sh | 5+++++
2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/auditor/taler-helper-auditor-reserves.c b/src/auditor/taler-helper-auditor-reserves.c @@ -1602,7 +1602,7 @@ run (void *cls, /* Tested in test-auditor.sh #7 */ "total_bad_sig_loss", TALER_JSON_from_amount (&total_bad_sig_loss), - /* FIXME: Tested in test-auditor.sh #?? */ + /* Tested in test-revocation.sh #4 */ "row_inconsistencies", report_row_inconsistencies, /* Tested in test-auditor.sh #23 */ diff --git a/src/auditor/test-revocation.sh b/src/auditor/test-revocation.sh @@ -434,6 +434,11 @@ if test $AMOUNT == "TESTKUDOS:0" then exit_fail "Total bad sig losses are wrong" fi +TAB=`jq -r .row_inconsistencies[0].table < test-audit-reserves.json` +if test $TAB != "recoup" +then + exit_fail "Wrong table for row inconsistency, got $TAB" +fi echo OK # Undo database modification (can't easily undo DELETE, so full reload)