summaryrefslogtreecommitdiff
path: root/src/testing/initialize_taler_system.sh
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-04-13 19:27:21 +0200
committerChristian Grothoff <christian@grothoff.org>2023-04-13 19:27:21 +0200
commit1ccb665a36d01465e6ed810b92f7646ac50e0880 (patch)
treece576f220ec578c6a8dae35f828c06fdcf7564e0 /src/testing/initialize_taler_system.sh
parentee478c6c8097ac385dbfeeb80d186a1f108b304c (diff)
downloadmerchant-1ccb665a36d01465e6ed810b92f7646ac50e0880.tar.gz
merchant-1ccb665a36d01465e6ed810b92f7646ac50e0880.tar.bz2
merchant-1ccb665a36d01465e6ed810b92f7646ac50e0880.zip
add draft for testcase for #6363
Diffstat (limited to 'src/testing/initialize_taler_system.sh')
-rwxr-xr-xsrc/testing/initialize_taler_system.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/testing/initialize_taler_system.sh b/src/testing/initialize_taler_system.sh
index 2b5cc50a..153121d2 100755
--- a/src/testing/initialize_taler_system.sh
+++ b/src/testing/initialize_taler_system.sh
@@ -133,7 +133,7 @@ gnunet-ecc -g1 $AUDITOR_PRIV_FILE > /dev/null 2> /dev/null
AUDITOR_PUB=`gnunet-ecc -p $AUDITOR_PRIV_FILE`
# patch configuration
-TALER_DB=talercheck
+export TALER_DB=talercheck
taler-config -c $CONF -s exchange -o MASTER_PUBLIC_KEY -V $MASTER_PUB
taler-config -c $CONF -s merchant-exchange-default -o MASTER_KEY -V $MASTER_PUB
taler-config -c $CONF -s exchangedb-postgres -o CONFIG -V postgres:///$TALER_DB
@@ -160,6 +160,10 @@ echo "Setting up libeufin ..."
# reset libeufin database
rm -f $TALER_DB
taler-bank-manage-testing $NEXUS_PORT $TALER_DB $EXCHANGE_URL $CONF
+
+
+
+
echo -n "Setting up exchange ..."
# reset database
dropdb $TALER_DB >/dev/null 2>/dev/null || true