merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 10c8c40738452931d8eece0705cb562b0bd30d72
parent 9e348baffc2a7953014e53e8e3afc9598825922f
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun,  8 Dec 2024 23:21:03 +0100

trying to fix another test

Diffstat:
Msrc/testing/test_merchant_instance_auth.sh | 19++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/src/testing/test_merchant_instance_auth.sh b/src/testing/test_merchant_instance_auth.sh @@ -75,8 +75,15 @@ setup -c test_template.conf \ NEW_SECRET=secret-token:different_value -taler-merchant-exchangekeyupdate -c "${CONF}" -L DEBUG 2> taler-merchant-exchangekeyupdate.log & -taler-merchant-httpd -a "${NEW_SECRET}" -c "${CONF}" -L DEBUG 2> taler-merchant-httpd.log & +taler-merchant-exchangekeyupdate \ + -c "${CONF}" \ + -L DEBUG \ + 2> taler-merchant-exchangekeyupdate2.log & +taler-merchant-httpd \ + -a "${NEW_SECRET}" \ + -c "${CONF}" \ + -L DEBUG \ + 2> taler-merchant-httpd2.log & # Install cleanup handler (except for kill -9) trap my_cleanup EXIT @@ -88,7 +95,12 @@ do sleep 0.1 OK=0 # merchant - wget --waitretry=0 --timeout=1 http://localhost:9966/ -o /dev/null -O /dev/null >/dev/null || continue + wget --waitretry=0 \ + --timeout=1 \ + http://localhost:9966/ \ + -o /dev/null \ + -O /dev/null \ + >/dev/null || continue OK=1 break done @@ -98,6 +110,7 @@ then exit_fail "Failed to (re)start merchant backend" fi + echo -n "Creating order to test auth is ok..." >&2 STATUS=$(curl -H "Content-Type: application/json" -X POST \ 'http://localhost:9966/private/orders' \