From de092c2c2b4184e5276923a92e19a859c1cc07aa Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 21 Jan 2018 20:10:05 +0100 Subject: make fakebank_url more robust --- src/include/taler_testing_lib.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/include') diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index 709139b7c..2a95ff6de 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -71,6 +71,17 @@ int TALER_TESTING_url_port_free (const char *url); +/** + * Prepare launching a fakebank. Check that the configuration + * file has the right option, and that the port is avaiable. + * If everything is OK, return the configured URL of the fakebank. + * + * @param config_filename configuration file to use + * @return NULL on error, fakebank URL otherwise + */ +char * +TALER_TESTING_prepare_fakebank (const char *config_filename); + /* ******************* Generic interpreter logic ****************** */ -- cgit v1.2.3