fix FTBFS
This commit is contained in:
parent
2d83516871
commit
88bb7f4428
@ -121,6 +121,26 @@ purge_process (struct GNUNET_OS_Process *process)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Runs #TALER_TESTING_setup() using the configuration.
|
||||||
|
*
|
||||||
|
* @param cls unused
|
||||||
|
* @param cfg configuration to use
|
||||||
|
* @return status code
|
||||||
|
*/
|
||||||
|
static int
|
||||||
|
setup_with_cfg (void *cls,
|
||||||
|
const struct GNUNET_CONFIGURATION_Handle *cfg)
|
||||||
|
{
|
||||||
|
(void) cls;
|
||||||
|
return TALER_TESTING_setup (&run,
|
||||||
|
NULL,
|
||||||
|
cfg,
|
||||||
|
NULL,
|
||||||
|
GNUNET_NO);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
main (int argc,
|
main (int argc,
|
||||||
char *const *argv)
|
char *const *argv)
|
||||||
@ -196,11 +216,9 @@ main (int argc,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = TALER_TESTING_setup (&run,
|
ret = GNUNET_CONFIGURATION_parse_and_run (cfgfilename,
|
||||||
NULL,
|
&setup_with_cfg,
|
||||||
cfgfilename,
|
NULL);
|
||||||
NULL,
|
|
||||||
GNUNET_NO);
|
|
||||||
purge_process (twisterd);
|
purge_process (twisterd);
|
||||||
|
|
||||||
if (GNUNET_NO == with_fakebank)
|
if (GNUNET_NO == with_fakebank)
|
||||||
|
@ -299,6 +299,7 @@ main (int argc,
|
|||||||
TALER_TESTING_cleanup_files (CONFIG_FILE);
|
TALER_TESTING_cleanup_files (CONFIG_FILE);
|
||||||
|
|
||||||
switch (TALER_TESTING_prepare_exchange (CONFIG_FILE,
|
switch (TALER_TESTING_prepare_exchange (CONFIG_FILE,
|
||||||
|
GNUNET_YES,
|
||||||
&ec))
|
&ec))
|
||||||
{
|
{
|
||||||
case GNUNET_SYSERR:
|
case GNUNET_SYSERR:
|
||||||
|
Loading…
Reference in New Issue
Block a user