summaryrefslogtreecommitdiff
path: root/src
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 /src
parente16f463adbdd9ea113d9122ebbcf4d04fed30438 (diff)
downloadexchange-4abb38a36ed41c70e8ee90cda4779c18d42f263b.tar.gz
exchange-4abb38a36ed41c70e8ee90cda4779c18d42f263b.tar.bz2
exchange-4abb38a36ed41c70e8ee90cda4779c18d42f263b.zip
address FIXME
Diffstat (limited to 'src')
-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 8b3925c5..4917ef0a 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 7f4e242e..714fcc8a 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)