report which command failed

This commit is contained in:
Christian Grothoff 2018-04-02 17:16:04 +02:00
parent e098dbf4dc
commit 2b0f98dd4b
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -158,7 +158,13 @@ void
TALER_TESTING_interpreter_fail
(struct TALER_TESTING_Interpreter *is)
{
struct TALER_TESTING_Command *cmd = &is->commands[is->ip];
// FIXME: disconnect from the exchange.
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Failed at command `%s'\n",
cmd->label);
is->result = GNUNET_SYSERR;
// this cleans up too.
GNUNET_SCHEDULER_shutdown ();
@ -473,7 +479,7 @@ cert_cb (void *cls,
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
"Got NULL response for /keys\n");
}
else
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
@ -482,7 +488,7 @@ cert_cb (void *cls,
main_ctx->is->key_generation++;
main_ctx->is->keys = keys;
/* /keys has been called for some reason and
* the interpreter is already running. */
if (GNUNET_YES == main_ctx->is->working)