diff options
Diffstat (limited to 'src/testing/testing_api_cmd_reserve_history.c')
-rw-r--r-- | src/testing/testing_api_cmd_reserve_history.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/testing/testing_api_cmd_reserve_history.c b/src/testing/testing_api_cmd_reserve_history.c index ec190d5ce..6cee5af15 100644 --- a/src/testing/testing_api_cmd_reserve_history.c +++ b/src/testing/testing_api_cmd_reserve_history.c @@ -122,7 +122,12 @@ analyze_command (const struct TALER_ReservePublicKeyP *reserve_pub, history_length, history, found)) + { + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + "Entry for batch step `%s' missing in history\n", + step->label); return GNUNET_SYSERR; + } } return GNUNET_OK; } @@ -251,6 +256,9 @@ reserve_history_cb (void *cls, GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Entry for command `%s' missing in history\n", cmd->label); + json_dumpf (rs->hr.reply, + stderr, + JSON_INDENT (2)); TALER_TESTING_interpreter_fail (ss->is); return; } @@ -262,6 +270,9 @@ reserve_history_cb (void *cls, "History entry at index %u of type %d not justified by command history\n", i, rs->details.ok.history[i].type); + json_dumpf (rs->hr.reply, + stderr, + JSON_INDENT (2)); TALER_TESTING_interpreter_fail (ss->is); return; } |