summaryrefslogtreecommitdiff
path: root/src/exchange-lib/testing_api_loop.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-11-25 14:40:03 +0100
committerChristian Grothoff <christian@grothoff.org>2018-11-25 14:40:03 +0100
commit5052698cbc6692c922e75081af12ad24bf8c3e69 (patch)
tree5564379f336afa2ec6a1656d1c26de98e6475fe4 /src/exchange-lib/testing_api_loop.c
parent55015a23328f7f1eac8002beb04665073a9e93c9 (diff)
downloadexchange-5052698cbc6692c922e75081af12ad24bf8c3e69.tar.gz
exchange-5052698cbc6692c922e75081af12ad24bf8c3e69.tar.bz2
exchange-5052698cbc6692c922e75081af12ad24bf8c3e69.zip
getting test_auditor_api to pass
Diffstat (limited to 'src/exchange-lib/testing_api_loop.c')
-rw-r--r--src/exchange-lib/testing_api_loop.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/exchange-lib/testing_api_loop.c b/src/exchange-lib/testing_api_loop.c
index f20d93f89..f81bb75c4 100644
--- a/src/exchange-lib/testing_api_loop.c
+++ b/src/exchange-lib/testing_api_loop.c
@@ -216,6 +216,13 @@ TALER_TESTING_interpreter_fail
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Failed at command `%s'\n",
cmd->label);
+ while (TALER_TESTING_cmd_is_batch (cmd))
+ {
+ cmd = TALER_TESTING_cmd_batch_get_current (cmd);
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ "Batch is at command `%s'\n",
+ cmd->label);
+ }
is->result = GNUNET_SYSERR;
GNUNET_SCHEDULER_shutdown ();
}
@@ -368,7 +375,7 @@ maint_child_death (void *cls)
if (TALER_TESTING_cmd_is_batch (cmd))
{
struct TALER_TESTING_Command *batch_cmd;
-
+
GNUNET_assert
(GNUNET_OK == TALER_TESTING_get_trait_cmd
(cmd, 0, &batch_cmd)); /* bad? */