summaryrefslogtreecommitdiff
path: root/src/testing/testing_api_helpers_bank.c
diff options
context:
space:
mode:
authorMS <ms@taler.net>2020-06-02 14:58:30 +0200
committerMS <ms@taler.net>2020-06-02 14:58:30 +0200
commit71eeb72b21884bdf300d686524f6103a4a8fbb9f (patch)
tree8cf145d5ada90fb34366006fbe845e4a8ddb9448 /src/testing/testing_api_helpers_bank.c
parentf6e1583016de3f54e437c49ef31f19a052b3a0c8 (diff)
downloadexchange-71eeb72b21884bdf300d686524f6103a4a8fbb9f.tar.gz
exchange-71eeb72b21884bdf300d686524f6103a4a8fbb9f.tar.bz2
exchange-71eeb72b21884bdf300d686524f6103a4a8fbb9f.zip
nexus-based tests
more preparation
Diffstat (limited to 'src/testing/testing_api_helpers_bank.c')
-rw-r--r--src/testing/testing_api_helpers_bank.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/testing/testing_api_helpers_bank.c b/src/testing/testing_api_helpers_bank.c
index b887bfc04..da66493d3 100644
--- a/src/testing/testing_api_helpers_bank.c
+++ b/src/testing/testing_api_helpers_bank.c
@@ -158,6 +158,8 @@ TALER_TESTING_run_libeufin (const struct TALER_TESTING_BankConfiguration *bc)
iter++;
}
while (0 != system (curl_check_cmd));
+
+ // start sandbox.
GNUNET_free (curl_check_cmd);
fprintf (stderr, "\n");
@@ -176,7 +178,7 @@ TALER_TESTING_run_libeufin (const struct TALER_TESTING_BankConfiguration *bc)
/* give child time to start and bind against the socket */
fprintf (stderr,
- "Waiting for `sandbox' to be ready..\n");
+ "Waiting for `sandbox' to be ready.\n");
iter = 0;
do
{
@@ -196,7 +198,7 @@ TALER_TESTING_run_libeufin (const struct TALER_TESTING_BankConfiguration *bc)
sleep (1);
iter++;
}
- while (0 != system ("curl http://localhost:5001/"));
+ while (0 != system ("curl -s http://localhost:5000/"));
fprintf (stderr, "\n");
// Creates nexus user + bank loopback connection + Taler facade.