aboutsummaryrefslogtreecommitdiff
path: root/src/exchange-lib/testing_api_helpers.c
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-07-02 11:57:21 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-07-02 11:57:21 +0200
commit1f02fc85ce74bc685d8394820972bba81ba267d3 (patch)
treee104539cede6c1531ba828350f67f08c22c7227e /src/exchange-lib/testing_api_helpers.c
parent566ad4f0b5972b8183e4bc52f26f1cff6fa1c742 (diff)
polish test helpers
Diffstat (limited to 'src/exchange-lib/testing_api_helpers.c')
-rw-r--r--src/exchange-lib/testing_api_helpers.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/exchange-lib/testing_api_helpers.c b/src/exchange-lib/testing_api_helpers.c
index b3e32fc26..749e5d889 100644
--- a/src/exchange-lib/testing_api_helpers.c
+++ b/src/exchange-lib/testing_api_helpers.c
@@ -346,7 +346,9 @@ TALER_TESTING_find_pk (const struct TALER_EXCHANGE_Keys *keys,
* @param main_cb_cls closure for @a main_cb, typically NULL.
* @param config_file configuration file for the test-suite.
*
- * @return FIXME: depends on what TALER_TESTING_setup returns.
+ * @return GNUNET_OK if all is okay, != GNUNET_OK otherwise.
+ * non-GNUNET_OK codes are GNUNET_SYSERR most of the
+ * times.
*/
int
TALER_TESTING_setup_with_exchange (TALER_TESTING_Main main_cb,
@@ -457,6 +459,7 @@ TALER_TESTING_setup_with_exchange (TALER_TESTING_Main main_cb,
}
while (0 != system (wget_cmd));
+ /* NOTE: this blocks. */
result = TALER_TESTING_setup (main_cb,
main_cb_cls,
config_filename,