From 4abb38a36ed41c70e8ee90cda4779c18d42f263b Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 28 Mar 2020 22:05:54 +0100 Subject: address FIXME --- src/auditor/taler-helper-auditor-reserves.c | 2 +- src/auditor/test-revocation.sh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'src/auditor') diff --git a/src/auditor/taler-helper-auditor-reserves.c b/src/auditor/taler-helper-auditor-reserves.c index 8b3925c5a..4917ef0a1 100644 --- 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 index 7f4e242e8..714fcc8a1 100755 --- 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) -- cgit v1.2.3