gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-exchange] branch master updated: move basedb generat


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated: move basedb generation to auditor/
Date: Fri, 06 Sep 2019 02:46:03 +0200

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

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 58c3e4d9 move basedb generation to auditor/
58c3e4d9 is described below

commit 58c3e4d98ffd4c6ad07fadaf0245355dae7eb6a9
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Sep 6 02:45:30 2019 +0200

    move basedb generation to auditor/
---
 src/{benchmark => auditor}/auditor-basedb.fees              | Bin
 src/{benchmark => auditor}/auditor-basedb.mpub              |   0
 src/{benchmark => auditor}/auditor-basedb.sql               |   0
 .../generate-auditor-basedb-template.conf                   |   0
 src/{benchmark => auditor}/generate-auditor-basedb.conf     |   0
 src/{benchmark => auditor}/generate-auditor-basedb.sh       |   0
 src/auditor/test-auditor.sh                                 |  10 ++++++++--
 src/benchmark/Makefile.am                                   |   9 ++-------
 8 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/src/benchmark/auditor-basedb.fees b/src/auditor/auditor-basedb.fees
similarity index 100%
rename from src/benchmark/auditor-basedb.fees
rename to src/auditor/auditor-basedb.fees
diff --git a/src/benchmark/auditor-basedb.mpub b/src/auditor/auditor-basedb.mpub
similarity index 100%
rename from src/benchmark/auditor-basedb.mpub
rename to src/auditor/auditor-basedb.mpub
diff --git a/src/benchmark/auditor-basedb.sql b/src/auditor/auditor-basedb.sql
similarity index 100%
rename from src/benchmark/auditor-basedb.sql
rename to src/auditor/auditor-basedb.sql
diff --git a/src/benchmark/generate-auditor-basedb-template.conf 
b/src/auditor/generate-auditor-basedb-template.conf
similarity index 100%
rename from src/benchmark/generate-auditor-basedb-template.conf
rename to src/auditor/generate-auditor-basedb-template.conf
diff --git a/src/benchmark/generate-auditor-basedb.conf 
b/src/auditor/generate-auditor-basedb.conf
similarity index 100%
rename from src/benchmark/generate-auditor-basedb.conf
rename to src/auditor/generate-auditor-basedb.conf
diff --git a/src/benchmark/generate-auditor-basedb.sh 
b/src/auditor/generate-auditor-basedb.sh
similarity index 100%
rename from src/benchmark/generate-auditor-basedb.sh
rename to src/auditor/generate-auditor-basedb.sh
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh
index f2a1aca5..7a7f0d29 100755
--- a/src/auditor/test-auditor.sh
+++ b/src/auditor/test-auditor.sh
@@ -70,7 +70,13 @@ function audit_only () {
     echo -n "Running audit(s) ..."
     taler-auditor -r -c $CONF -m $MASTER_PUB > test-audit.json 2> 
test-audit.log || exit_fail "auditor failed"
     echo -n "."
+    # Also do incremental run
+    taler-auditor -c $CONF -m $MASTER_PUB > test-audit-inc.json 2> 
test-audit-inc.log || exit_fail "auditor failed"
+    echo -n "."
     taler-wire-auditor -r -c $CONF -m $MASTER_PUB > test-wire-audit.json 2> 
test-wire-audit.log || exit_fail "wire auditor failed"
+    # Also do incremental run
+    echo -n "."
+    taler-wire-auditor -c $CONF -m $MASTER_PUB > test-wire-audit-inc.json 2> 
test-wire-audit-inc.log || exit_fail "wire auditor failed"
     echo " DONE"
 }
 
@@ -210,7 +216,7 @@ echo -n "Check for lag detection... "
 # re-generating the test database as we do not
 # report lag of less than 1h (see GRACE_PERIOD in
 # taler-wire-auditor.c)
-AGE=`stat -c %Y ../benchmark/auditor-basedb.fees`
+AGE=`stat -c %Y ${BASEDB}.fees`
 NOW=`date +%s`
 DELTA=`expr $NOW - $AGE`
 if [ $DELTA -gt 3600 ]
@@ -994,7 +1000,7 @@ echo "UPDATE app_banktransaction SET date='${OLD_DATE}' 
WHERE id='${OLD_ID}';" |
 # Postgres database to use
 DB=taler-auditor-test
 # Prefix for the data resources to use
-BASEDB="../benchmark/auditor-basedb"
+BASEDB="auditor-basedb"
 MASTER_PUB=`cat ${BASEDB}.mpub`
 # Configuration file to use
 CONF=test-auditor.conf
diff --git a/src/benchmark/Makefile.am b/src/benchmark/Makefile.am
index 8ea3fdb3..4444d3d1 100644
--- a/src/benchmark/Makefile.am
+++ b/src/benchmark/Makefile.am
@@ -36,10 +36,5 @@ EXTRA_DIST = \
   merchant_details.json \
   test_benchmark_home/.local/share/taler/exchange/offline-keys/master.priv \
   test_benchmark_home/.config/taler/test.json \
-  test_benchmark_home/.config/taler/sepa.json \
-  generate-auditor-basedb.sh \
-  generate-auditor-basedb.conf \
-  generate-auditor-basedb-template.conf \
-  auditor-basedb.sql \
-  auditor-basedb.fees \
-  auditor-basedb.mpub
+  test_benchmark_home/.config/taler/sepa.json 
+

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



reply via email to

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