gnunet-svn
[Top][All Lists]
Advanced

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

[taler-anastasis] branch master updated: Taler 0.9.0 migrations for cli


From: gnunet
Subject: [taler-anastasis] branch master updated: Taler 0.9.0 migrations for cli tests
Date: Tue, 17 Jan 2023 22:01:41 +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 a91a6ba  Taler 0.9.0 migrations for cli tests
a91a6ba is described below

commit a91a6ba1f690062a682f5d753bf80bd24a4407f8
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Jan 17 22:01:38 2023 +0100

    Taler 0.9.0 migrations for cli tests
---
 ...astasis_reducer_recovery_enter_user_attributes.sh | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

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 b32dd5d..4efbe6b 100755
--- a/src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh
+++ b/src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh
@@ -393,17 +393,18 @@ echo " OK"
 
 echo -n "Preparing wallet"
 rm $WALLET_DB
-taler-wallet-cli --no-throttle --wallet-db=$WALLET_DB api 
'withdrawTestBalance' \
+taler-wallet-cli --no-throttle --wallet-db=$WALLET_DB api --expect-success 
'withdrawTestBalance' \
   "$(jq -n '
     {
         amount: "TESTKUDOS:100",
         bankBaseUrl: $BANK_URL,
         exchangeBaseUrl: $EXCHANGE_URL
     }' \
-    --arg BANK_URL "$BANK_URL" \
+    --arg BANK_URL "${BANK_URL}demobanks/default/access-api/" \
     --arg EXCHANGE_URL "$EXCHANGE_URL"
-  )" 2> /dev/null >/dev/null
-taler-wallet-cli --wallet-db=$WALLET_DB run-until-done 2>/dev/null >/dev/null
+  )" 2> wallet-withdraw.err > wallet-withdraw.out
+taler-wallet-cli --wallet-db=$WALLET_DB \
+  run-until-done 2>wallet-withdraw-finish.err >wallet-withdraw-finish.out
 echo " OK"
 
 echo -en "Making payments for truth uploads ... "
@@ -413,12 +414,14 @@ do
     PAY_URI=`jq --argjson INDEX $INDEX -r -e '.payments[$INDEX]' < $B2FILE`
     # run wallet CLI
     echo -n "$INDEX"
-    taler-wallet-cli --wallet-db=$WALLET_DB handle-uri $PAY_URI -y 2>/dev/null 
>/dev/null
+    taler-wallet-cli --wallet-db=$WALLET_DB \
+       handle-uri $PAY_URI -y 2>wallet-pay-truth-$INDEX.err 
>wallet-pay-truth-$INDEX.out
     echo -n ", "
 done
 echo "OK"
 echo -e "Running wallet run-pending..."
-taler-wallet-cli --wallet-db=$WALLET_DB run-pending 2>/dev/null >/dev/null
+taler-wallet-cli --wallet-db=$WALLET_DB \
+       run-pending 2>wallet-pay-truth-finish-$INDEX.err 
>wallet-pay-truth-finish-$INDEX.out
 echo -e "Payments done"
 
 export B2FILE
@@ -436,12 +439,13 @@ do
     PAY_URI=`jq --argjson INDEX $INDEX -r -e 
'.policy_payment_requests[$INDEX].payto' < $B2FILE`
     # run wallet CLI
     echo -n "$INDEX"
-    taler-wallet-cli --wallet-db=$WALLET_DB handle-uri $PAY_URI -y 2>/dev/null 
>/dev/null
+    taler-wallet-cli --wallet-db=$WALLET_DB handle-uri $PAY_URI -y 
2>wallet-pay-policy-$INDEX.err >wallet-pay-policy-$INDEX.out
     echo -n ", "
 done
 echo " OK"
 echo -en "Running wallet run-pending..."
-taler-wallet-cli --wallet-db=$WALLET_DB run-pending 2>/dev/null >/dev/null
+taler-wallet-cli --wallet-db=$WALLET_DB \
+   run-pending 2>wallet-pay-policy-finish.err >wallet-pay-policy-finish.out
 echo -e " payments DONE"
 
 echo -en "Try to upload again ..."

-- 
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]