[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: -remove duplicate definitions
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: -remove duplicate definitions |
Date: |
Thu, 12 Jan 2023 13:46:17 +0100 |
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 07289fd9 -remove duplicate definitions
07289fd9 is described below
commit 07289fd919aa7886627ef515a92123cf35908ade
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Jan 12 13:46:15 2023 +0100
-remove duplicate definitions
---
src/auditor/generate-auditor-basedb.sh | 25 ++++++++++++-------------
src/exchangedb/Makefile.am | 20 --------------------
2 files changed, 12 insertions(+), 33 deletions(-)
diff --git a/src/auditor/generate-auditor-basedb.sh
b/src/auditor/generate-auditor-basedb.sh
index c1d806e6..1d69edec 100755
--- a/src/auditor/generate-auditor-basedb.sh
+++ b/src/auditor/generate-auditor-basedb.sh
@@ -151,19 +151,12 @@ libeufin-sandbox serve --port "1${BANK_PORT}" \
echo $! > ${MY_TMP_DIR}/libeufin-sandbox.pid
cd $ORIGIN
export LIBEUFIN_SANDBOX_URL="http://localhost:1${BANK_PORT}"
-echo $LIBEUFIN_SANDBOX_URL
set +e
echo -n "Waiting for Sandbox..."
OK=0
for n in `seq 1 100`; do
echo -n "."
sleep 1
- echo wget --timeout=1 \
- --user admin --password secret \
- --tries=3 --waitretry=0 \
- -o /dev/null -O /dev/null \
- ${LIBEUFIN_SANDBOX_URL};
-
if wget --timeout=1 \
--user admin --password secret --auth-no-challenge \
--tries=3 --waitretry=0 \
@@ -325,7 +318,12 @@ taler-exchange-httpd -c $CONF 2>
${MY_TMP_DIR}/taler-exchange-httpd.log &
taler-merchant-httpd -c $CONF -L INFO 2>
${MY_TMP_DIR}/taler-merchant-httpd.log &
taler-exchange-wirewatch -c $CONF 2>
${MY_TMP_DIR}/taler-exchange-wirewatch.log &
taler-auditor-httpd -L INFO -c $CONF 2> ${MY_TMP_DIR}/taler-auditor-httpd.log &
+export BANK_PORT
+export EXCHANGE_URL
+export MERCHANT_URL
+export AUDITOR_URL
+echo -n "Waiting for services to be available "
# Wait for all bank to be available (usually the slowest)
for n in `seq 1 50`
do
@@ -333,14 +331,14 @@ do
sleep 0.2
OK=0
# bank
- wget http://localhost:8082/ -o /dev/null -O /dev/null >/dev/null ||
continue
+ wget http://localhost:${BANK_PORT}/ -o /dev/null -O /dev/null >/dev/null
|| continue
OK=1
break
done
if [ 1 != $OK ]
then
- exit_skip "Failed to launch services"
+ exit_skip "Failed to launch services (bank)"
fi
# Wait for all services to be available
@@ -350,18 +348,19 @@ do
sleep 0.1
OK=0
# exchange
- wget http://localhost:8081/seed -o /dev/null -O /dev/null >/dev/null ||
continue
+ wget ${EXCHANGE_URL}seed -o /dev/null -O /dev/null >/dev/null || continue
# merchant
- wget http://localhost:9966/ -o /dev/null -O /dev/null >/dev/null ||
continue
+ wget ${MERCHANT_URL} -o /dev/null -O /dev/null >/dev/null || continue
# Auditor
- wget http://localhost:8083/ -o /dev/null -O /dev/null >/dev/null ||
continue
+ wget ${AUDITOR_URL} -o /dev/null -O /dev/null >/dev/null || continue
OK=1
break
done
if [ 1 != $OK ]
then
- exit_skip "Failed to launch services"
+ bash
+ exit_skip "Failed to launch services (Taler)"
fi
echo -n "Setting up keys"
taler-exchange-offline -c $CONF \
diff --git a/src/exchangedb/Makefile.am b/src/exchangedb/Makefile.am
index 40607af6..feeb09cd 100644
--- a/src/exchangedb/Makefile.am
+++ b/src/exchangedb/Makefile.am
@@ -382,16 +382,6 @@ test_exchangedb_populate_table_postgres_LDADD = \
-lm \
$(XLIB)
-bench_db_postgres_SOURCES = \
- bench_db.c
-bench_db_postgres_LDADD = \
- libtalerexchangedb.la \
- $(top_builddir)/src/util/libtalerutil.la \
- $(top_builddir)/src/pq/libtalerpq.la \
- -lgnunetpq \
- -lgnunetutil \
- $(XLIB)
-
test_exchangedb_populate_link_data_postgres_SOURCES = \
test_exchangedb_populate_link_data.c
test_exchangedb_populate_link_data_postgres_LDADD = \
@@ -405,16 +395,6 @@ test_exchangedb_populate_link_data_postgres_LDADD = \
-lm \
$(XLIB)
-bench_db_postgres_SOURCES = \
- bench_db.c
-bench_db_postgres_LDADD = \
- libtalerexchangedb.la \
- $(top_builddir)/src/util/libtalerutil.la \
- $(top_builddir)/src/pq/libtalerpq.la \
- -lgnunetpq \
- -lgnunetutil \
- $(XLIB)
-
test_exchangedb_populate_ready_deposit_postgres_SOURCES = \
test_exchangedb_populate_ready_deposit.c
test_exchangedb_populate_ready_deposit_postgres_LDADD = \
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: -remove duplicate definitions,
gnunet <=