diff options
author | Florian Dold <florian@dold.me> | 2021-11-02 16:51:36 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-11-02 16:51:36 +0100 |
commit | 6392d1e9b9bb792d0d83745ac3679b564f7bb0af (patch) | |
tree | 8d107431341092327bf720c2d67bd83340e873d5 /src/cli | |
parent | a0f3ba36bbd286e80ef5df612a3348463c0e6bc4 (diff) | |
download | anastasis-6392d1e9b9bb792d0d83745ac3679b564f7bb0af.tar.gz anastasis-6392d1e9b9bb792d0d83745ac3679b564f7bb0af.tar.bz2 anastasis-6392d1e9b9bb792d0d83745ac3679b564f7bb0af.zip |
print correct file on error
Diffstat (limited to 'src/cli')
-rwxr-xr-x | src/cli/test_anastasis_reducer_enter_secret.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cli/test_anastasis_reducer_enter_secret.sh b/src/cli/test_anastasis_reducer_enter_secret.sh index 8005f08..a9e19b3 100755 --- 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 |