[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: use current bank CLI and CFG opt
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: use current bank CLI and CFG options for auditor tests |
Date: |
Sat, 03 Oct 2020 12:26:47 +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 4e936386 use current bank CLI and CFG options for auditor tests
4e936386 is described below
commit 4e93638683242d4c5d61aac8fe4027b333d7318a
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Oct 3 12:26:43 2020 +0200
use current bank CLI and CFG options for auditor tests
---
src/auditor/generate-auditor-basedb.conf | 1 +
src/auditor/test-auditor.conf | 1 +
src/auditor/test-auditor.sh | 4 ++--
src/auditor/test-revocation.sh | 2 +-
4 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/auditor/generate-auditor-basedb.conf
b/src/auditor/generate-auditor-basedb.conf
index 99721d3d..a130aebe 100644
--- a/src/auditor/generate-auditor-basedb.conf
+++ b/src/auditor/generate-auditor-basedb.conf
@@ -62,6 +62,7 @@ HTTP_PORT = 8082
SUGGESTED_EXCHANGE = http://localhost:8081/
SUGGESTED_EXCHANGE_PAYTO = payto://x-taler-bank/localhost/2
ALLOW_REGISTRATIONS = YES
+SERVE = http
[exchangedb]
AUDITOR_BASE_DIR = ${TALER_DATA_HOME}/auditors/
diff --git a/src/auditor/test-auditor.conf b/src/auditor/test-auditor.conf
index 829300b4..a6c48495 100644
--- a/src/auditor/test-auditor.conf
+++ b/src/auditor/test-auditor.conf
@@ -32,3 +32,4 @@ MAX_DEBT_BANK = TESTKUDOS:100000.0
HTTP_PORT = 8082
SUGGESTED_EXCHANGE = http://localhost:8081/
SUGGESTED_EXCHANGE_PAYTO = payto://x-taler-bank/localhost/2
+SERVE = http
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh
index fddec1de..92840d48 100755
--- a/src/auditor/test-auditor.sh
+++ b/src/auditor/test-auditor.sh
@@ -57,7 +57,7 @@ trap cleanup EXIT
function pre_audit () {
# Launch bank
echo -n "Launching bank "
- taler-bank-manage-testing $CONF postgres:///$DB serve-http 2>bank.err
>bank.log &
+ taler-bank-manage-testing $CONF postgres:///$DB serve 2>bank.err >bank.log
&
for n in `seq 1 80`
do
echo -n "."
@@ -370,7 +370,7 @@ echo -n "Testing inconsistency detection... "
ROW=`jq .reserve_in_amount_inconsistencies[0].row < test-audit-wire.json`
if test $ROW != 1
then
- exit_fail "Row wrong"
+ exit_fail "Row $ROW is wrong"
fi
WIRED=`jq -r .reserve_in_amount_inconsistencies[0].amount_wired <
test-audit-wire.json`
if test $WIRED != "TESTKUDOS:10"
diff --git a/src/auditor/test-revocation.sh b/src/auditor/test-revocation.sh
index b70f0922..dfec08a1 100755
--- a/src/auditor/test-revocation.sh
+++ b/src/auditor/test-revocation.sh
@@ -57,7 +57,7 @@ trap cleanup EXIT
function pre_audit () {
# Launch bank
echo -n "Launching bank "
- taler-bank-manage-testing $CONF postgres:///$DB serve-http 2>bank.err
>bank.log &
+ taler-bank-manage-testing $CONF postgres:///$DB serve 2>bank.err >bank.log
&
for n in `seq 1 80`
do
echo -n "."
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-exchange] branch master updated: use current bank CLI and CFG options for auditor tests,
gnunet <=