summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-10-03 16:13:06 +0200
committerChristian Grothoff <christian@grothoff.org>2020-10-03 16:13:06 +0200
commit3dd1b1c00f3f69aaa4f977191b97e8a42b6c7bfa (patch)
treeb998abdadd449c255e32cfb3132a92a5c7fdf495
parent4129b724a01a80eb65c2b69e154f5f23fc7db152 (diff)
downloadexchange-3dd1b1c00f3f69aaa4f977191b97e8a42b6c7bfa.tar.gz
exchange-3dd1b1c00f3f69aaa4f977191b97e8a42b6c7bfa.tar.bz2
exchange-3dd1b1c00f3f69aaa4f977191b97e8a42b6c7bfa.zip
fix pybank launch in tests
m---------doc/prebuilt0
-rw-r--r--src/testing/testing_api_helpers_bank.c24
2 files changed, 1 insertions, 23 deletions
diff --git a/doc/prebuilt b/doc/prebuilt
-Subproject eef86710c7deade01361f8985fd9a6fe6a21e8f
+Subproject 99c167bc448cfa864e475cd43fe5fb7a7ba0aaa
diff --git a/src/testing/testing_api_helpers_bank.c b/src/testing/testing_api_helpers_bank.c
index 5b11ad937..48802e042 100644
--- a/src/testing/testing_api_helpers_bank.c
+++ b/src/testing/testing_api_helpers_bank.c
@@ -241,8 +241,6 @@ TALER_TESTING_run_bank (const char *config_filename,
unsigned int iter;
char *wget_cmd;
char *database;
- char *serve_cfg;
- char *serve_arg;
struct GNUNET_CONFIGURATION_Handle *cfg;
cfg = GNUNET_CONFIGURATION_create ();
@@ -268,27 +266,7 @@ TALER_TESTING_run_bank (const char *config_filename,
GNUNET_CONFIGURATION_destroy (cfg);
exit (77);
}
-
- if (GNUNET_OK !=
- GNUNET_CONFIGURATION_get_value_string (cfg,
- "bank",
- "serve",
- &serve_cfg))
- {
- GNUNET_log_config_missing (GNUNET_ERROR_TYPE_WARNING,
- "bank",
- "serve");
- GNUNET_break (0);
- GNUNET_CONFIGURATION_destroy (cfg);
- GNUNET_free (database);
- exit (77);
- }
GNUNET_CONFIGURATION_destroy (cfg);
-
- serve_arg = "serve-http";
- if (0 != strcmp ("http", serve_cfg))
- serve_arg = "serve-uwsgi";
- GNUNET_free (serve_cfg);
bank_proc = GNUNET_OS_start_process (
GNUNET_OS_INHERIT_STD_NONE,
NULL, NULL, NULL,
@@ -296,7 +274,7 @@ TALER_TESTING_run_bank (const char *config_filename,
"taler-bank-manage-testing",
config_filename,
database,
- serve_arg, NULL);
+ "serve", NULL);
GNUNET_free (database);
if (NULL == bank_proc)
{