From cdd2930a9951a552d221b8a8b8e9c0df35ad8be2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 23 May 2022 14:57:00 +0200 Subject: -misc fixes to reserve history --- src/testing/testing_api_cmd_reserve_history.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/testing/testing_api_cmd_reserve_history.c') diff --git a/src/testing/testing_api_cmd_reserve_history.c b/src/testing/testing_api_cmd_reserve_history.c index ec190d5c..6cee5af1 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; } -- cgit v1.2.3