[Top][All Lists]

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

[libeufin] branch master updated: CLI tests.

From: gnunet
Subject: [libeufin] branch master updated: CLI tests.
Date: Mon, 13 Mar 2023 12:24:35 +0100

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

ms pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new b585b1bc CLI tests.
b585b1bc is described below

commit b585b1bc588b1e4599d03f8bfecf11471aa6b258
Author: MS <>
AuthorDate: Mon Mar 13 12:21:35 2023 +0100

    CLI tests.
    Deleting DB records via dedicated "reset-tables"
    subcommands from Kotlin.
 cli/tests/ | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/cli/tests/ b/cli/tests/
index 30ba44e1..b3fcc4eb 100755
--- a/cli/tests/
+++ b/cli/tests/
@@ -23,12 +23,21 @@ jq --version &> /dev/null || (echo "'jq' command not 
found"; exit 77)
 curl --version &> /dev/null || (echo "'curl' command not found"; exit 77)
+getDbConn () {
+  if test withPostgres == "${1:-}"; then
+    echo "jdbc:postgresql://localhost:5432/taler?user=$(whoami)"
+    return
+  fi
+  echo "jdbc:sqlite:${SQLITE_FILE_PATH}"
 echo -n Delete previous data...
+libeufin-sandbox reset-tables
+libeufin-nexus reset-tables
 echo DONE
 echo -n Configure the default demobank with MANA...
 libeufin-sandbox config --with-signup-bonus --currency MANA default
@@ -48,7 +57,6 @@ echo -n Wait for the bank...
 curl --max-time 2 --retry-connrefused --retry-delay 1 --retry 10 
http://localhost:5000/ &> /dev/null
 echo DONE
 echo -n Make one superuser at Nexus...
 libeufin-nexus superuser test-user --password x
 echo DONE
 echo -n Launching Nexus...

To stop receiving notification emails like this one, please contact

reply via email to

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