aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMS <ms@taler.net>2021-08-22 21:30:14 -1100
committerMS <ms@taler.net>2021-08-22 21:30:14 -1100
commit019fd62ee6c2d8cc81eea687b4c5bfb4f809e323 (patch)
tree469dc773490346b23965792db4703e648a0340f6
parent6d00761ebbce8473a3905a910e534b72fb91e7cc (diff)
downloadanastasis-019fd62ee6c2d8cc81eea687b4c5bfb4f809e323.tar.gz
anastasis-019fd62ee6c2d8cc81eea687b4c5bfb4f809e323.zip
not warning about logs on SKIP
-rwxr-xr-xsrc/cli/test_iban.sh8
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
18function cleanup() 18function 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
312fi 312fi
313echo "OK" 313echo "OK"
314 314
315
316
317echo -n "Running backup logic ...," 315echo -n "Running backup logic ...,"
318anastasis-reducer -b > $B1FILE 316anastasis-reducer -b > $B1FILE
319echo -n "." 317echo -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
336echo -n "," 334echo -n ","
337
338BASEIBAN=`echo $IBAN_DEBIT | gnunet-base32` 335BASEIBAN=`echo $IBAN_DEBIT | gnunet-base32`
339anastasis-reducer -a \ 336anastasis-reducer -a \
340 "$(jq -n '{ authentication_method: { 337 "$(jq -n '{ authentication_method: {
@@ -355,7 +352,6 @@ echo -n ","
355anastasis-reducer \ 352anastasis-reducer \
356 next < $B2FILE > $B1FILE 2>> test_reducer.err 353 next < $B2FILE > $B1FILE 2>> test_reducer.err
357echo -n "." 354echo -n "."
358
359# Note: 'secret' must here be a Crockford base32-encoded value 355# Note: 'secret' must here be a Crockford base32-encoded value
360anastasis-reducer -a \ 356anastasis-reducer -a \
361 '{"secret": { "value" : "VERYHARDT0GVESSSECRET", "mime" : "text/plain" }}' \ 357 '{"secret": { "value" : "VERYHARDT0GVESSSECRET", "mime" : "text/plain" }}' \
@@ -373,8 +369,6 @@ fi
373jq -r -e .core_secret < $B2FILE > /dev/null && exit_fail "'core_secret' was not cleared upon success" 369jq -r -e .core_secret < $B2FILE > /dev/null && exit_fail "'core_secret' was not cleared upon success"
374echo " OK" 370echo " OK"
375 371
376
377
378echo -n "Running recovery basic logic ..." 372echo -n "Running recovery basic logic ..."
379anastasis-reducer -r > $R1FILE 373anastasis-reducer -r > $R1FILE
380anastasis-reducer -a \ 374anastasis-reducer -a \