update ignores

This commit is contained in:
Christian Grothoff 2019-08-22 15:30:02 +02:00
parent 1b27509242
commit 318f94bf90
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
7 changed files with 40 additions and 5 deletions

1
src/.gitignore vendored
View File

@ -6,4 +6,3 @@
*.log
*.trs
*/__pycache__
test-*

View File

@ -4846,14 +4846,14 @@ run (void *cls,
return;
}
(void) adb->list_exchanges (adb->cls,
as,
&test_master_present,
&found);
as,
&test_master_present,
&found);
if (GNUNET_NO == found)
{
fprintf (stderr,
"Exchange's master public key `%s' not known to auditor DB. Did you forget to run `taler-auditor-exchange`?\n",
TALER_B2S (&master_pub));
GNUNET_p2s (&master_pub.eddsa_pub));
global_ret = 1;
TALER_AUDITORDB_plugin_unload (adb);
TALER_EXCHANGEDB_plugin_unload (edb);

View File

@ -0,0 +1,12 @@
[auditor]
DB = postgres
[auditordb-postgres]
CONFIG = postgres:///taler-auditor-test
[exchangedb-postgres]
CONFIG = postgres:///taler-auditor-test
[taler]
CURRENCY = TESTKUDOS

14
src/auditor/test-auditor.sh Executable file
View File

@ -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

1
src/auditordb/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
test-auditordb-postgres

6
src/exchangedb/.gitignore vendored Normal file
View File

@ -0,0 +1,6 @@
test-exchangedb-auditors
test-exchangedb-denomkeys
test-exchangedb-fees
test-exchangedb-postgres
test-exchangedb-signkeys
test-perf-taler-exchangedb

3
src/wire/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
test_wire_plugin
test_wire_plugin_transactions_test
test_sepa_wireformat