anastasis

Credential backup and recovery protocol and service
Log | Files | Refs | Submodules | README | LICENSE

commit 6392d1e9b9bb792d0d83745ac3679b564f7bb0af
parent a0f3ba36bbd286e80ef5df612a3348463c0e6bc4
Author: Florian Dold <florian@dold.me>
Date:   Tue,  2 Nov 2021 16:51:36 +0100

print correct file on error

Diffstat:
Msrc/cli/test_anastasis_reducer_enter_secret.sh | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/cli/test_anastasis_reducer_enter_secret.sh b/src/cli/test_anastasis_reducer_enter_secret.sh @@ -8,6 +8,7 @@ BOLD="$(tput bold)" NORM="$(tput sgr0)" set -eu +set -x # Exit, with status code "skip" (no 'real' failure) function exit_skip() { @@ -309,7 +310,7 @@ FEES=`jq -r -e '.upload_fees[0].fee' < $UFILE` # 4x 4.99 for annual fees, plus 4x0.01 for truth uploads if test "$FEES" != "TESTKUDOS:20" then - jq -e . $TFILE + jq -e . $UFILE exit_fail "Expected upload fees to be 'TESTKUDOS:20', got '$FEES'" fi