-fix bank start calls

This commit is contained in:
Christian Grothoff 2020-07-18 00:25:35 +02:00
parent 62963ae4b3
commit 3f9c464697
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -118,15 +118,14 @@ TALER_TESTING_run_libeufin (const struct TALER_TESTING_BankConfiguration *bc)
unsigned int iter; unsigned int iter;
char *curl_check_cmd; char *curl_check_cmd;
nexus_proc = GNUNET_OS_start_process nexus_proc = GNUNET_OS_start_process (
(GNUNET_NO, GNUNET_OS_INHERIT_STD_NONE,
GNUNET_OS_INHERIT_STD_NONE, NULL, NULL, NULL,
NULL, NULL, NULL, "libeufin-nexus",
"libeufin-nexus", "libeufin-nexus",
"libeufin-nexus", "serve",
"serve", "--db-name", "/tmp/nexus-exchange-test.sqlite3",
"--db-name", "/tmp/nexus-exchange-test.sqlite3", NULL);
NULL);
if (NULL == nexus_proc) if (NULL == nexus_proc)
{ {
GNUNET_break (0); GNUNET_break (0);
@ -164,15 +163,14 @@ TALER_TESTING_run_libeufin (const struct TALER_TESTING_BankConfiguration *bc)
GNUNET_free (curl_check_cmd); GNUNET_free (curl_check_cmd);
fprintf (stderr, "\n"); fprintf (stderr, "\n");
sandbox_proc = GNUNET_OS_start_process sandbox_proc = GNUNET_OS_start_process (
(GNUNET_NO, GNUNET_OS_INHERIT_STD_NONE,
GNUNET_OS_INHERIT_STD_NONE, NULL, NULL, NULL,
NULL, NULL, NULL, "libeufin-sandbox",
"libeufin-sandbox", "libeufin-sandbox",
"libeufin-sandbox", "serve",
"serve", "--db-name", "/tmp/sandbox-exchange-test.sqlite3",
"--db-name", "/tmp/sandbox-exchange-test.sqlite3", NULL);
NULL);
if (NULL == sandbox_proc) if (NULL == sandbox_proc)
{ {
GNUNET_break (0); GNUNET_break (0);
@ -290,15 +288,14 @@ TALER_TESTING_run_bank (const char *config_filename,
if (0 != strcmp ("http", serve_cfg)) if (0 != strcmp ("http", serve_cfg))
serve_arg = "serve-uwsgi"; serve_arg = "serve-uwsgi";
GNUNET_free (serve_cfg); GNUNET_free (serve_cfg);
bank_proc = GNUNET_OS_start_process bank_proc = GNUNET_OS_start_process (
(GNUNET_NO, GNUNET_OS_INHERIT_STD_NONE,
GNUNET_OS_INHERIT_STD_NONE, NULL, NULL, NULL,
NULL, NULL, NULL, "taler-bank-manage-testing",
"taler-bank-manage-testing", "taler-bank-manage-testing",
"taler-bank-manage-testing", config_filename,
config_filename, database,
database, serve_arg, NULL);
serve_arg, NULL);
GNUNET_free (database); GNUNET_free (database);
if (NULL == bank_proc) if (NULL == bank_proc)
{ {
@ -550,7 +547,6 @@ TALER_TESTING_prepare_bank (const char *config_filename,
{ {
if (NULL == if (NULL ==
(dbreset_proc = GNUNET_OS_start_process ( (dbreset_proc = GNUNET_OS_start_process (
GNUNET_NO,
GNUNET_OS_INHERIT_STD_NONE, GNUNET_OS_INHERIT_STD_NONE,
NULL, NULL, NULL, NULL, NULL, NULL,
"taler-bank-manage", "taler-bank-manage",