commit aba79636ab81d0830ad3502a4525e284f0aabdb2
parent 027f04a0f1d7ae9519cc900e5bc79b3a807d55dd
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 22 Aug 2019 15:48:35 +0200
more comments
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh
@@ -10,11 +10,15 @@ DB=taler-auditor-test
dropdb $DB 2> /dev/null || true
createdb -T template0 $DB || exit 77
jq -h > /dev/null || exit 77
+# Import pre-generated database, -q(ietly) using single (-1) transaction
psql $DB -q -1 -f ../benchmark/auditor-basedb.sql > /dev/null
MASTER_PUB=`cat ../benchmark/auditor-basedb.mpub`
+# Run the auditor!
taler-auditor -c test-auditor.conf -m $MASTER_PUB > test-audit.json
+# TODO:
+# launch bank and run wire-auditor eventually as well!
fail=0
# if an emergency was detected, that is a bug and we should fail