gnunet-svn
[Top][All Lists]
Advanced

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

[taler-anastasis] branch master updated: add last test


From: gnunet
Subject: [taler-anastasis] branch master updated: add last test
Date: Sun, 07 Mar 2021 17:16:30 +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 3c438ef  add last test
3c438ef is described below

commit 3c438ef01e79b7bda70d0c3577ba0f1ebab4981d
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Mar 7 17:16:27 2021 +0100

    add last test
---
 src/cli/Makefile.am                                              | 4 ++--
 src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/cli/Makefile.am b/src/cli/Makefile.am
index 3726517..6b8bf23 100644
--- a/src/cli/Makefile.am
+++ b/src/cli/Makefile.am
@@ -17,8 +17,8 @@ check_SCRIPTS = \
   test_anastasis_reducer_add_authentication.sh \
   test_anastasis_reducer_done_authentication.sh \
   test_anastasis_reducer_done_policy_review.sh \
-  test_anastasis_reducer_enter_secret.sh
-#  test_anastasis_reducer_recovery_enter_user_attributes.sh
+  test_anastasis_reducer_enter_secret.sh \
+  test_anastasis_reducer_recovery_enter_user_attributes.sh
 
 
 AM_TESTS_ENVIRONMENT=export 
ANASTASIS_PREFIX=$${ANASTASIS_PREFIX:-@libdir@};export 
PATH=$${ANASTASIS_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset 
XDG_CONFIG_HOME;
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 7e0f40a..84c1ec4 100755
--- a/src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh
+++ b/src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh
@@ -428,13 +428,13 @@ echo " OK"
 echo -n "Checking recovered secret ..."
 # finally: check here that we recovered the secret...
 
-STATE=`jq -r -e .recovery_state < $TFILE`
+STATE=`jq -r -e .recovery_state < $R2FILE`
 if test "$STATE" != "RECOVERY_FINISHED"
 then
     exit_fail "Expected new state to be 'RECOVERY_FINISHED', got '$STATE'"
 fi
 
-SECRET=`jq -r -e .core_secret < $TFILE`
+SECRET=`jq -r -e .core_secret < $R2FILE`
 if test "$SECRET" != "VERYHARDT0GVESSSECRET"
 then
     exit_fail "Expected recovered secret to be 'VERYHARDT0GVESSSECRET', got 
'$SECRET'"

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