diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-08-22 15:48:35 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-08-22 15:48:35 +0200 |
commit | aba79636ab81d0830ad3502a4525e284f0aabdb2 (patch) | |
tree | 9bccf3fb4cef4f2a3e0daf78b922e99e6f39a3dc | |
parent | 027f04a0f1d7ae9519cc900e5bc79b3a807d55dd (diff) |
more comments
-rwxr-xr-x | src/auditor/test-auditor.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh index ecd89c74b..3127e4625 100755 --- 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 |