diff options
author | MS <ms@taler.net> | 2021-08-22 21:30:14 -1100 |
---|---|---|
committer | MS <ms@taler.net> | 2021-08-22 21:30:14 -1100 |
commit | 019fd62ee6c2d8cc81eea687b4c5bfb4f809e323 (patch) | |
tree | 469dc773490346b23965792db4703e648a0340f6 | |
parent | 6d00761ebbce8473a3905a910e534b72fb91e7cc (diff) | |
download | anastasis-019fd62ee6c2d8cc81eea687b4c5bfb4f809e323.tar.gz anastasis-019fd62ee6c2d8cc81eea687b4c5bfb4f809e323.zip |
not warning about logs on SKIP
-rwxr-xr-x | src/cli/test_iban.sh | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/cli/test_iban.sh b/src/cli/test_iban.sh index cd0423b..f3f127e 100755 --- a/src/cli/test_iban.sh +++ b/src/cli/test_iban.sh | |||
@@ -17,7 +17,7 @@ function exit_fail() { | |||
17 | # Cleanup to run whenever we exit | 17 | # Cleanup to run whenever we exit |
18 | function cleanup() | 18 | function cleanup() |
19 | { | 19 | { |
20 | if test $? != 0; then | 20 | if test $? != 0 -o $? != 77; then |
21 | echo "ERROR: see also nexus.log and sandbox.log" | 21 | echo "ERROR: see also nexus.log and sandbox.log" |
22 | fi | 22 | fi |
23 | for n in `jobs -p` | 23 | for n in `jobs -p` |
@@ -312,8 +312,6 @@ then | |||
312 | fi | 312 | fi |
313 | echo "OK" | 313 | echo "OK" |
314 | 314 | ||
315 | |||
316 | |||
317 | echo -n "Running backup logic ...," | 315 | echo -n "Running backup logic ...," |
318 | anastasis-reducer -b > $B1FILE | 316 | anastasis-reducer -b > $B1FILE |
319 | echo -n "." | 317 | echo -n "." |
@@ -334,7 +332,6 @@ anastasis-reducer -a \ | |||
334 | "birthdate": "2000-01-01"}}' \ | 332 | "birthdate": "2000-01-01"}}' \ |
335 | enter_user_attributes < $B1FILE > $B2FILE 2>> test_reducer.err | 333 | enter_user_attributes < $B1FILE > $B2FILE 2>> test_reducer.err |
336 | echo -n "," | 334 | echo -n "," |
337 | |||
338 | BASEIBAN=`echo $IBAN_DEBIT | gnunet-base32` | 335 | BASEIBAN=`echo $IBAN_DEBIT | gnunet-base32` |
339 | anastasis-reducer -a \ | 336 | anastasis-reducer -a \ |
340 | "$(jq -n '{ authentication_method: { | 337 | "$(jq -n '{ authentication_method: { |
@@ -355,7 +352,6 @@ echo -n "," | |||
355 | anastasis-reducer \ | 352 | anastasis-reducer \ |
356 | next < $B2FILE > $B1FILE 2>> test_reducer.err | 353 | next < $B2FILE > $B1FILE 2>> test_reducer.err |
357 | echo -n "." | 354 | echo -n "." |
358 | |||
359 | # Note: 'secret' must here be a Crockford base32-encoded value | 355 | # Note: 'secret' must here be a Crockford base32-encoded value |
360 | anastasis-reducer -a \ | 356 | anastasis-reducer -a \ |
361 | '{"secret": { "value" : "VERYHARDT0GVESSSECRET", "mime" : "text/plain" }}' \ | 357 | '{"secret": { "value" : "VERYHARDT0GVESSSECRET", "mime" : "text/plain" }}' \ |
@@ -373,8 +369,6 @@ fi | |||
373 | jq -r -e .core_secret < $B2FILE > /dev/null && exit_fail "'core_secret' was not cleared upon success" | 369 | jq -r -e .core_secret < $B2FILE > /dev/null && exit_fail "'core_secret' was not cleared upon success" |
374 | echo " OK" | 370 | echo " OK" |
375 | 371 | ||
376 | |||
377 | |||
378 | echo -n "Running recovery basic logic ..." | 372 | echo -n "Running recovery basic logic ..." |
379 | anastasis-reducer -r > $R1FILE | 373 | anastasis-reducer -r > $R1FILE |
380 | anastasis-reducer -a \ | 374 | anastasis-reducer -a \ |