[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-anastasis] branch master updated: get tests to pass again
From: |
gnunet |
Subject: |
[taler-anastasis] branch master updated: get tests to pass again |
Date: |
Sun, 08 Dec 2024 21:43:22 +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 3ac752c get tests to pass again
3ac752c is described below
commit 3ac752ce41ce5d474320fd5b39dcb14c0e5a835c
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Dec 8 21:43:19 2024 +0100
get tests to pass again
---
src/cli/test_anastasis_reducer_enter_secret.sh | 2 +-
src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh | 2 +-
src/cli/test_anastasis_reducer_recovery_hanging.sh | 8 ++++----
src/cli/test_reducer_free.conf | 1 +
4 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/src/cli/test_anastasis_reducer_enter_secret.sh
b/src/cli/test_anastasis_reducer_enter_secret.sh
index e366661..6b40aca 100755
--- a/src/cli/test_anastasis_reducer_enter_secret.sh
+++ b/src/cli/test_anastasis_reducer_enter_secret.sh
@@ -226,7 +226,7 @@ fi
echo -en "${COLOR}${BOLD}Withdrawing amount to wallet ...${NORM}${NOCOLOR}"
-EXCHANGE_URL="$(taler-config -c "$CONF" -s exchange -o BASE_URL)"
+EXCHANGE_URL="$(taler-exchange-config -c "$CONF" -s exchange -o BASE_URL)"
rm "$WALLET_DB"
taler-wallet-cli \
diff --git a/src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh
b/src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh
index e9748be..d0ab43f 100755
--- a/src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh
+++ b/src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh
@@ -256,7 +256,7 @@ echo " OK"
echo -n "Preparing wallet"
-EXCHANGE_URL="$(taler-config -c "$CONF" -s exchange -o BASE_URL)"
+EXCHANGE_URL="$(taler-exchange-config -c "$CONF" -s exchange -o BASE_URL)"
rm -f "$WALLET_DB"
taler-wallet-cli --no-throttle --wallet-db="$WALLET_DB" api --expect-success
'withdrawTestBalance' \
diff --git a/src/cli/test_anastasis_reducer_recovery_hanging.sh
b/src/cli/test_anastasis_reducer_recovery_hanging.sh
index 2db5501..9a9b5af 100755
--- a/src/cli/test_anastasis_reducer_recovery_hanging.sh
+++ b/src/cli/test_anastasis_reducer_recovery_hanging.sh
@@ -350,21 +350,21 @@ echo " OK"
echo -n "Checking recovered secret ..."
# finally: check here that we recovered the secret...
-STATE=`jq -r -e .recovery_state < $R2FILE`
+STATE=$(jq -r -e .recovery_state < "$R2FILE")
if test "$STATE" != "RECOVERY_FINISHED"
then
jq -e . $R2FILE
exit_fail "Expected new state to be 'RECOVERY_FINISHED', got '$STATE'"
fi
-SECRET=`jq -r -e .core_secret.value < $R2FILE`
+SECRET=$(jq -r -e .core_secret.value < "$R2FILE")
if test "$SECRET" != "VERYHARDT0GVESSSECRET"
then
- jq -e . $R2FILE
+ jq -e . "$R2FILE"
exit_fail "Expected recovered secret to be 'VERYHARDT0GVESSSECRET', got
'$SECRET'"
fi
-MIME=`jq -r -e .core_secret.mime < $R2FILE`
+MIME=$(jq -r -e .core_secret.mime < "$R2FILE")
if test "$MIME" != "text/plain"
then
jq -e . $R2FILE
diff --git a/src/cli/test_reducer_free.conf b/src/cli/test_reducer_free.conf
index cf1d954..0ad31d5 100644
--- a/src/cli/test_reducer_free.conf
+++ b/src/cli/test_reducer_free.conf
@@ -7,6 +7,7 @@ TALER_CACHE_HOME = $TALER_HOME/.cache/taler/
TALER_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/${USER:-}/taler-system-runtime/
[anastasis]
+CURRENCY = TESTKUDOS
DB = postgres
ANNUAL_FEE = TESTKUDOS:0
TRUTH_UPLOAD_FEE = TESTKUDOS:0.0
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-anastasis] branch master updated: get tests to pass again,
gnunet <=