gnunet-svn
[Top][All Lists]
Advanced

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

[taler-anastasis] 02/02: tests: select concrete version


From: gnunet
Subject: [taler-anastasis] 02/02: tests: select concrete version
Date: Thu, 14 Apr 2022 09:52:48 +0200

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

dold pushed a commit to branch master
in repository anastasis.

commit cfc7801cf630e4090c038269e63ef8742cfcc7e5
Author: Florian Dold <florian@dold.me>
AuthorDate: Thu Apr 14 09:50:15 2022 +0200

    tests: select concrete version
    
    Selecting the latest version doesn't make sense anymore with the new
    multi-provider selection that results from policy discovery.
---
 src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh | 2 +-
 src/cli/test_iban.sh                                             | 2 +-
 2 files changed, 2 insertions(+), 2 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 f67fa89..3a62704 100755
--- a/src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh
+++ b/src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh
@@ -428,7 +428,7 @@ anastasis-reducer -a '{"provider_url" : 
"http://localhost:8086/"; }' add_provider
 echo " OK"
 
 echo -n "Selecting secret to recover"
-anastasis-reducer -a '{"attribute_mask": 0, "providers" : [ { "version": 0, 
"url" : "http://localhost:8086/"; } ] }' select_version < $R1FILE > $R2FILE
+anastasis-reducer -a '{"attribute_mask": 0, "providers" : [ { "version": 1, 
"url" : "http://localhost:8086/"; } ] }' select_version < $R1FILE > $R2FILE
 
 STATE=`jq -r -e .recovery_state < $R2FILE`
 if test "$STATE" != "CHALLENGE_SELECTING"
diff --git a/src/cli/test_iban.sh b/src/cli/test_iban.sh
index fcf932f..523e047 100755
--- a/src/cli/test_iban.sh
+++ b/src/cli/test_iban.sh
@@ -390,7 +390,7 @@ anastasis-reducer -a '{"provider_url" : 
"http://localhost:8086/"; }' add_provider
 echo " OK"
 
 echo -n "Selecting secret to recover"
-anastasis-reducer  -a '{"attribute_mask": 0, "providers" : [ { "version": 0, 
"url" : "http://localhost:8086/"; } ] }' \
+anastasis-reducer  -a '{"attribute_mask": 0, "providers" : [ { "version": 1, 
"url" : "http://localhost:8086/"; } ] }' \
   select_version < $R1FILE > $R2FILE 2>> test_reducer.err
 
 STATE=`jq -r -e .recovery_state < $R2FILE`

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