aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-03-28 22:05:54 +0100
committerChristian Grothoff <christian@grothoff.org>2020-03-28 22:05:54 +0100
commit4abb38a36ed41c70e8ee90cda4779c18d42f263b (patch)
tree7a2d8b73c217bd891754b3342c59c673f04ac05f
parente16f463adbdd9ea113d9122ebbcf4d04fed30438 (diff)
address FIXME
-rw-r--r--src/auditor/taler-helper-auditor-reserves.c2
-rwxr-xr-xsrc/auditor/test-revocation.sh5
2 files changed, 6 insertions, 1 deletions
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)