aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-07-05 13:21:53 +0200
committerChristian Grothoff <christian@grothoff.org>2015-07-05 13:21:53 +0200
commit01551b0d9d4fe23b66e5adf4cfa2485fe202c3c9 (patch)
tree4adc3c3ce20b6008a8b47960287d8df549c36786 /src
parent3f1a4c346be2b4a745b8b3d8826b1a4575b5b0c9 (diff)
comments
Diffstat (limited to 'src')
-rw-r--r--src/mint-lib/test_mint_api.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mint-lib/test_mint_api.c b/src/mint-lib/test_mint_api.c
index 3881051f4..6fca26ccc 100644
--- a/src/mint-lib/test_mint_api.c
+++ b/src/mint-lib/test_mint_api.c
@@ -731,6 +731,7 @@ cert_cb (void *cls,
{
struct InterpreterState *is = cls;
+ /* check that keys is OK */
#define ERR(cond) do { if(!(cond)) break; GNUNET_break (0); GNUNET_SCHEDULER_shutdown(); return; } while (0)
ERR (NULL == keys);
ERR (0 == keys->num_sign_keys);
@@ -742,8 +743,8 @@ cert_cb (void *cls,
"Read %u denomination keys\n",
keys->num_denom_keys);
#undef ERR
- /* TODO: start running rest of test suite here! */
+ /* run actual tests via interpreter-loop */
is->keys = keys;
is->task = GNUNET_SCHEDULER_add_now (&interpreter_run,
is);
@@ -821,6 +822,7 @@ run (void *cls,
struct InterpreterState *is;
static struct Command commands[] =
{
+ /* Fill reserve with EUR:5.01, as withdraw fee is 1 ct per config */
{ .oc = OC_ADMIN_ADD_INCOMING,
.label = "create-reserve-1",
.details.admin_add_incoming.wire = "{ \"bank\":\"source bank\", \"account\":42 }",