From b5dd2bcdbb25cd6af1897b652c05d782a64dac5f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 23 Aug 2019 21:14:50 +0200 Subject: indentation, discuss logic flaw, discuss todo in test-auditor.sh script --- src/auditor/test-auditor.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/auditor/test-auditor.sh') 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 & # Run the auditor! echo "Running audit(s)" taler-auditor -c test-auditor.conf -m $MASTER_PUB > test-audit.json + +# TODO: +# - need to configure exchange's bank accounts in test-auditor.conf, +# otherwise the auditor cannot find them! taler-wire-auditor -c test-auditor.conf -m $MASTER_PUB > test-wire-audit.json echo "Shutting down services" @@ -51,6 +55,7 @@ echo -n "Test for emergencies... " jq -e .emergencies[0] < test-audit.json > /dev/null && (echo Failed; fail=1) || echo OK # TODO: Add more checks to ensure test-audit.json matches expectations +echo "UPDATE reserves_in SET credit_val=5 WHERE reserve_in_serial_id=1" | psql $DB echo "Cleanup" -- cgit v1.2.3