summaryrefslogtreecommitdiff
path: root/src/auditor/test-revocation.sh
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/auditor/test-revocation.sh
parente16f463adbdd9ea113d9122ebbcf4d04fed30438 (diff)
downloadexchange-4abb38a36ed41c70e8ee90cda4779c18d42f263b.tar.gz
exchange-4abb38a36ed41c70e8ee90cda4779c18d42f263b.tar.bz2
exchange-4abb38a36ed41c70e8ee90cda4779c18d42f263b.zip
address FIXME
Diffstat (limited to 'src/auditor/test-revocation.sh')
-rwxr-xr-xsrc/auditor/test-revocation.sh5
1 files changed, 5 insertions, 0 deletions
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)