gnunet-svn
[Top][All Lists]
Advanced

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

[taler-anastasis] branch master updated: fix script


From: gnunet
Subject: [taler-anastasis] branch master updated: fix script
Date: Sun, 28 Feb 2021 18:46:04 +0100

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

grothoff pushed a commit to branch master
in repository anastasis.

The following commit(s) were added to refs/heads/master by this push:
     new f057bc6  fix script
f057bc6 is described below

commit f057bc66fa6e8063555f66f29be25fcc46c4d104
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Feb 28 18:46:01 2021 +0100

    fix script
---
 src/cli/test_anastasis_reducer_enter_secret.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/cli/test_anastasis_reducer_enter_secret.sh 
b/src/cli/test_anastasis_reducer_enter_secret.sh
index 8f6a827..cf71bed 100755
--- a/src/cli/test_anastasis_reducer_enter_secret.sh
+++ b/src/cli/test_anastasis_reducer_enter_secret.sh
@@ -26,7 +26,7 @@ function cleanup()
     do
         kill $n 2> /dev/null || true
     done
-    rm -f $CONF $CONF_1 $CONF_2 $CONF_3 $CONF_4 $WALLET_DB $TFILE $UFILE
+    rm -f $CONF $WALLET_DB $TFILE $UFILE
     rm -r $TMP_DIR
     wait
 }
@@ -82,7 +82,6 @@ TARGET_DB_2=`anastasis-config -c $CONF_2 -s stasis-postgres 
-o CONFIG | sed -e "
 TARGET_DB_3=`anastasis-config -c $CONF_3 -s stasis-postgres -o CONFIG | sed -e 
"s/^postgres:\/\/\///"`
 TARGET_DB_4=`anastasis-config -c $CONF_4 -s stasis-postgres -o CONFIG | sed -e 
"s/^postgres:\/\/\///"`
 
-echo -n "Initialize anastasis database ..."
 dropdb $TARGET_DB_1 >/dev/null 2>/dev/null || true
 createdb $TARGET_DB_1 || exit_skip "Could not create database $TARGET_DB_1"
 anastasis-dbinit -c $CONF_1 2> anastasis-dbinit_1.log
@@ -122,6 +121,7 @@ gnunet-ecc -g1 $AUDITOR_PRIV_FILE > /dev/null
 AUDITOR_PUB=`gnunet-ecc -p $AUDITOR_PRIV_FILE`
 
 # patch configuration
+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
@@ -135,7 +135,6 @@ echo " OK"
 
 echo -n "Setting up exchange ..."
 
-TALER_DB=talercheck
 # reset database
 dropdb $TALER_DB >/dev/null 2>/dev/null || true
 createdb $TALER_DB || exit_skip "Could not create database $TALER_DB"

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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