polish test helpers
This commit is contained in:
parent
566ad4f0b5
commit
1f02fc85ce
@ -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 main_cb_cls closure for @a main_cb, typically NULL.
|
||||||
* @param config_file configuration file for the test-suite.
|
* @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
|
int
|
||||||
TALER_TESTING_setup_with_exchange (TALER_TESTING_Main main_cb,
|
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));
|
while (0 != system (wget_cmd));
|
||||||
|
|
||||||
|
/* NOTE: this blocks. */
|
||||||
result = TALER_TESTING_setup (main_cb,
|
result = TALER_TESTING_setup (main_cb,
|
||||||
main_cb_cls,
|
main_cb_cls,
|
||||||
config_filename,
|
config_filename,
|
||||||
|
@ -634,7 +634,9 @@ main_wrapper_exchange_connect (void *cls)
|
|||||||
* key state.. if NULL, the interpreter will run without
|
* key state.. if NULL, the interpreter will run without
|
||||||
* trying to connect to the exchange first.
|
* trying to connect to the exchange first.
|
||||||
*
|
*
|
||||||
* @return FIXME: not sure what 'is.result' is at this stage.
|
* @return GNUNET_OK if all is okay, != GNUNET_OK otherwise.
|
||||||
|
* non-GNUNET_OK codes are GNUNET_SYSERR most of the
|
||||||
|
* times.
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
TALER_TESTING_setup (TALER_TESTING_Main main_cb,
|
TALER_TESTING_setup (TALER_TESTING_Main main_cb,
|
||||||
|
Loading…
Reference in New Issue
Block a user