summaryrefslogtreecommitdiff
path: root/src/exchange-lib/testing_api_cmd_status.c
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-12-12 14:57:21 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2018-12-12 14:57:21 +0100
commit00625791a2c596eed9636fb4ac550f2481ceb14c (patch)
tree44f1e551db460d4aa23ab9b8af5f8862be5479ae /src/exchange-lib/testing_api_cmd_status.c
parent208ba0d4b2a47d331a25babac9ab2f4918263f1b (diff)
downloadexchange-00625791a2c596eed9636fb4ac550f2481ceb14c.tar.gz
exchange-00625791a2c596eed9636fb4ac550f2481ceb14c.tar.bz2
exchange-00625791a2c596eed9636fb4ac550f2481ceb14c.zip
Issue #5462.
Defining batch that makes->destroys->check a reserve. Iterating the batch N times is the next step.
Diffstat (limited to 'src/exchange-lib/testing_api_cmd_status.c')
-rw-r--r--src/exchange-lib/testing_api_cmd_status.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/exchange-lib/testing_api_cmd_status.c b/src/exchange-lib/testing_api_cmd_status.c
index 77a5cbf9a..0c54ab704 100644
--- a/src/exchange-lib/testing_api_cmd_status.c
+++ b/src/exchange-lib/testing_api_cmd_status.c
@@ -109,7 +109,8 @@ reserve_status_cb
if (0 != TALER_amount_cmp (&eb, balance))
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
- "Unexpected amount in reserve\n");
+ "Unexpected amount in reserve: %s\n",
+ TALER_amount_to_string (balance));
TALER_TESTING_interpreter_fail (ss->is);
return;
}
@@ -167,6 +168,8 @@ status_run (void *cls,
return;
}
+ /* NOTE: the following line might generate a ERROR log
+ * statements, but it can be ignored. */
if (GNUNET_OK == TALER_TESTING_get_trait_reserve_priv
(create_reserve,
0,