diff options
Diffstat (limited to 'src/auditor/test-auditor.sh')
-rwxr-xr-x | src/auditor/test-auditor.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh index 8bf54e5df..260124fab 100755 --- a/src/auditor/test-auditor.sh +++ b/src/auditor/test-auditor.sh | |||
@@ -32,6 +32,10 @@ taler-bank-manage -c test-auditor.conf serve-http 2>/dev/null >/dev/null & | |||
32 | # Run the auditor! | 32 | # Run the auditor! |
33 | echo "Running audit(s)" | 33 | echo "Running audit(s)" |
34 | taler-auditor -c test-auditor.conf -m $MASTER_PUB > test-audit.json | 34 | taler-auditor -c test-auditor.conf -m $MASTER_PUB > test-audit.json |
35 | |||
36 | # TODO: | ||
37 | # - need to configure exchange's bank accounts in test-auditor.conf, | ||
38 | # otherwise the auditor cannot find them! | ||
35 | taler-wire-auditor -c test-auditor.conf -m $MASTER_PUB > test-wire-audit.json | 39 | taler-wire-auditor -c test-auditor.conf -m $MASTER_PUB > test-wire-audit.json |
36 | 40 | ||
37 | echo "Shutting down services" | 41 | echo "Shutting down services" |
@@ -51,6 +55,7 @@ echo -n "Test for emergencies... " | |||
51 | jq -e .emergencies[0] < test-audit.json > /dev/null && (echo Failed; fail=1) || echo OK | 55 | jq -e .emergencies[0] < test-audit.json > /dev/null && (echo Failed; fail=1) || echo OK |
52 | 56 | ||
53 | # TODO: Add more checks to ensure test-audit.json matches expectations | 57 | # TODO: Add more checks to ensure test-audit.json matches expectations |
58 | echo "UPDATE reserves_in SET credit_val=5 WHERE reserve_in_serial_id=1" | psql $DB | ||
54 | 59 | ||
55 | 60 | ||
56 | echo "Cleanup" | 61 | echo "Cleanup" |