diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-08-22 15:30:02 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-08-22 15:30:02 +0200 |
commit | 318f94bf90f7ebc4bae8835516930020055eb16f (patch) | |
tree | e1d0e867ba042bd39dcd920964e9190d30a3d288 /src/auditor/test-auditor.sh | |
parent | 1b27509242460bedd85fe8fd1a4536fe2c8a7b39 (diff) | |
download | exchange-318f94bf90f7ebc4bae8835516930020055eb16f.tar.xz |
update ignores
Diffstat (limited to 'src/auditor/test-auditor.sh')
-rwxr-xr-x | src/auditor/test-auditor.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh new file mode 100755 index 000000000..a493683ea --- /dev/null +++ b/src/auditor/test-auditor.sh @@ -0,0 +1,14 @@ +#!/bin/bash +set -eu +DB=taler-auditor-test +dropdb $DB || true +createdb -T template0 $DB || exit 77 +psql $DB < ../benchmark/auditor-basedb.sql +MASTER_PUB=`cat ../benchmark/auditor-basedb.mpub` + +taler-auditor -c test-auditor.conf -m $MASTER_PUB > test-audit.json + +# TODO: check test-audit.json matches expectations + +dropdb $DB + |