gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-exchange] 02/02: update ignores


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] 02/02: update ignores
Date: Thu, 22 Aug 2019 15:30:07 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

commit 318f94bf90f7ebc4bae8835516930020055eb16f
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Aug 22 15:30:02 2019 +0200

    update ignores
---
 src/.gitignore                |  1 -
 src/auditor/taler-auditor.c   |  8 ++++----
 src/auditor/test-auditor.conf | 12 ++++++++++++
 src/auditor/test-auditor.sh   | 14 ++++++++++++++
 src/auditordb/.gitignore      |  1 +
 src/exchangedb/.gitignore     |  6 ++++++
 src/wire/.gitignore           |  3 +++
 7 files changed, 40 insertions(+), 5 deletions(-)

diff --git a/src/.gitignore b/src/.gitignore
index 90ea1a04..93695022 100644
--- a/src/.gitignore
+++ b/src/.gitignore
@@ -6,4 +6,3 @@
 *.log
 *.trs
 */__pycache__
-test-*
\ No newline at end of file
diff --git a/src/auditor/taler-auditor.c b/src/auditor/taler-auditor.c
index 033b7a54..dbc33794 100644
--- a/src/auditor/taler-auditor.c
+++ b/src/auditor/taler-auditor.c
@@ -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);
diff --git a/src/auditor/test-auditor.conf b/src/auditor/test-auditor.conf
new file mode 100644
index 00000000..4deb8140
--- /dev/null
+++ b/src/auditor/test-auditor.conf
@@ -0,0 +1,12 @@
+[auditor]
+DB = postgres
+
+[auditordb-postgres]
+CONFIG = postgres:///taler-auditor-test
+
+[exchangedb-postgres]
+CONFIG = postgres:///taler-auditor-test
+
+[taler]
+CURRENCY = TESTKUDOS
+
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh
new file mode 100755
index 00000000..a493683e
--- /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
+
diff --git a/src/auditordb/.gitignore b/src/auditordb/.gitignore
new file mode 100644
index 00000000..56c08312
--- /dev/null
+++ b/src/auditordb/.gitignore
@@ -0,0 +1 @@
+test-auditordb-postgres
diff --git a/src/exchangedb/.gitignore b/src/exchangedb/.gitignore
new file mode 100644
index 00000000..830cf10c
--- /dev/null
+++ b/src/exchangedb/.gitignore
@@ -0,0 +1,6 @@
+test-exchangedb-auditors
+test-exchangedb-denomkeys
+test-exchangedb-fees
+test-exchangedb-postgres
+test-exchangedb-signkeys
+test-perf-taler-exchangedb
diff --git a/src/wire/.gitignore b/src/wire/.gitignore
new file mode 100644
index 00000000..be0231d7
--- /dev/null
+++ b/src/wire/.gitignore
@@ -0,0 +1,3 @@
+test_wire_plugin
+test_wire_plugin_transactions_test
+test_sepa_wireformat

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]