[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] 02/02: use taler-bank-manage-testing wrapper in auditor
From: |
gnunet |
Subject: |
[taler-exchange] 02/02: use taler-bank-manage-testing wrapper in auditor test logic as well |
Date: |
Mon, 23 Dec 2019 12:13:14 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
commit d5b8089264c77f1421fafc8a2e58189413cea9cb
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Dec 23 12:13:10 2019 +0100
use taler-bank-manage-testing wrapper in auditor test logic as well
---
contrib/taler-bank-manage-testing | 2 +-
src/auditor/generate-auditor-basedb.sh | 2 +-
src/auditor/test-auditor.sh | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/contrib/taler-bank-manage-testing
b/contrib/taler-bank-manage-testing
index 196a02d5..64bc66a6 100755
--- a/contrib/taler-bank-manage-testing
+++ b/contrib/taler-bank-manage-testing
@@ -27,4 +27,4 @@ echo "UPDATE auth_user SET password='$PW_HASH'" | psql -Aqt $2
# Now run Django for good
-exec taler-bank-manage -c $1 --with-db $2 $3
\ No newline at end of file
+exec taler-bank-manage -c $1 --with-db $2 $3
diff --git a/src/auditor/generate-auditor-basedb.sh
b/src/auditor/generate-auditor-basedb.sh
index 7e8724cb..fe692fb0 100755
--- a/src/auditor/generate-auditor-basedb.sh
+++ b/src/auditor/generate-auditor-basedb.sh
@@ -96,7 +96,7 @@ mv a2e.dat $ABD
# Launch services
echo "Launching services"
-taler-bank-manage-testing $CONF $TARGET_DB serve-http &
+taler-bank-manage-testing $CONF postgres:///$TARGET_DB serve-http &
taler-exchange-httpd -c $CONF 2> taler-exchange-httpd.log &
taler-merchant-httpd -c $CONF -L INFO 2> taler-merchant-httpd.log &
taler-exchange-wirewatch -c $CONF 2> taler-exchange-wirewatch.log &
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh
index 68640f85..53d7f741 100755
--- a/src/auditor/test-auditor.sh
+++ b/src/auditor/test-auditor.sh
@@ -45,7 +45,7 @@ function exit_fail() {
function pre_audit () {
# Launch bank
echo -n "Launching bank "
- taler-bank-manage -c $CONF serve-http 2>bank.err >bank.log &
+ taler-bank-manage-testing $CONF postgres:///$DB serve-http 2>bank.err
>bank.log &
for n in `seq 1 20`
do
echo -n "."
--
To stop receiving notification emails like this one, please contact
address@hidden.