summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-18 00:25:35 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-18 00:25:35 +0200
commit3f9c4646974b9d5c6e8f863219afe95c982eded6 (patch)
tree1362be4cd0ba4030d8b94eb1db79fb3a93dc1fc6
parent62963ae4b36e88e8655d461646d85c211a3398d5 (diff)
downloadexchange-3f9c4646974b9d5c6e8f863219afe95c982eded6.tar.gz
exchange-3f9c4646974b9d5c6e8f863219afe95c982eded6.tar.bz2
exchange-3f9c4646974b9d5c6e8f863219afe95c982eded6.zip
-fix bank start calls
-rw-r--r--src/testing/testing_api_helpers_bank.c52
1 files changed, 24 insertions, 28 deletions
diff --git a/src/testing/testing_api_helpers_bank.c b/src/testing/testing_api_helpers_bank.c
index ff5caa11b..b0b8035f3 100644
--- a/src/testing/testing_api_helpers_bank.c
+++ b/src/testing/testing_api_helpers_bank.c
@@ -118,15 +118,14 @@ TALER_TESTING_run_libeufin (const struct TALER_TESTING_BankConfiguration *bc)
unsigned int iter;
char *curl_check_cmd;
- nexus_proc = GNUNET_OS_start_process
- (GNUNET_NO,
- GNUNET_OS_INHERIT_STD_NONE,
- NULL, NULL, NULL,
- "libeufin-nexus",
- "libeufin-nexus",
- "serve",
- "--db-name", "/tmp/nexus-exchange-test.sqlite3",
- NULL);
+ nexus_proc = GNUNET_OS_start_process (
+ GNUNET_OS_INHERIT_STD_NONE,
+ NULL, NULL, NULL,
+ "libeufin-nexus",
+ "libeufin-nexus",
+ "serve",
+ "--db-name", "/tmp/nexus-exchange-test.sqlite3",
+ NULL);
if (NULL == nexus_proc)
{
GNUNET_break (0);
@@ -164,15 +163,14 @@ TALER_TESTING_run_libeufin (const struct TALER_TESTING_BankConfiguration *bc)
GNUNET_free (curl_check_cmd);
fprintf (stderr, "\n");
- sandbox_proc = GNUNET_OS_start_process
- (GNUNET_NO,
- GNUNET_OS_INHERIT_STD_NONE,
- NULL, NULL, NULL,
- "libeufin-sandbox",
- "libeufin-sandbox",
- "serve",
- "--db-name", "/tmp/sandbox-exchange-test.sqlite3",
- NULL);
+ sandbox_proc = GNUNET_OS_start_process (
+ GNUNET_OS_INHERIT_STD_NONE,
+ NULL, NULL, NULL,
+ "libeufin-sandbox",
+ "libeufin-sandbox",
+ "serve",
+ "--db-name", "/tmp/sandbox-exchange-test.sqlite3",
+ NULL);
if (NULL == sandbox_proc)
{
GNUNET_break (0);
@@ -290,15 +288,14 @@ TALER_TESTING_run_bank (const char *config_filename,
if (0 != strcmp ("http", serve_cfg))
serve_arg = "serve-uwsgi";
GNUNET_free (serve_cfg);
- bank_proc = GNUNET_OS_start_process
- (GNUNET_NO,
- GNUNET_OS_INHERIT_STD_NONE,
- NULL, NULL, NULL,
- "taler-bank-manage-testing",
- "taler-bank-manage-testing",
- config_filename,
- database,
- serve_arg, NULL);
+ bank_proc = GNUNET_OS_start_process (
+ GNUNET_OS_INHERIT_STD_NONE,
+ NULL, NULL, NULL,
+ "taler-bank-manage-testing",
+ "taler-bank-manage-testing",
+ config_filename,
+ database,
+ serve_arg, NULL);
GNUNET_free (database);
if (NULL == bank_proc)
{
@@ -550,7 +547,6 @@ TALER_TESTING_prepare_bank (const char *config_filename,
{
if (NULL ==
(dbreset_proc = GNUNET_OS_start_process (
- GNUNET_NO,
GNUNET_OS_INHERIT_STD_NONE,
NULL, NULL, NULL,
"taler-bank-manage",