summaryrefslogtreecommitdiff
path: root/src/exchangedb/test_exchangedb.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-05-02 01:30:13 +0200
committerChristian Grothoff <christian@grothoff.org>2016-05-02 01:30:13 +0200
commitd34c6401b415edeceb205782dbcccd8b38c8e1b7 (patch)
tree641f1f074c171f2b1bb93ffef9ae38891874692a /src/exchangedb/test_exchangedb.c
parentd1c83c5dda2f40578f18ce01ce0c7e1c6e311919 (diff)
downloadexchange-d34c6401b415edeceb205782dbcccd8b38c8e1b7.tar.gz
exchange-d34c6401b415edeceb205782dbcccd8b38c8e1b7.tar.bz2
exchange-d34c6401b415edeceb205782dbcccd8b38c8e1b7.zip
fixing #4470
Diffstat (limited to 'src/exchangedb/test_exchangedb.c')
-rw-r--r--src/exchangedb/test_exchangedb.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c
index 3bb9b9f2c..063b7b6cb 100644
--- a/src/exchangedb/test_exchangedb.c
+++ b/src/exchangedb/test_exchangedb.c
@@ -172,9 +172,10 @@ static struct TALER_Amount fee_refresh;
static struct TALER_Amount fee_refund;
static struct TALER_Amount amount_with_fee;
+
static void
-free_refresh_commit_coins_array(struct TALER_EXCHANGEDB_RefreshCommitCoin *commit_coins,
- unsigned int size)
+free_refresh_commit_coins_array (struct TALER_EXCHANGEDB_RefreshCommitCoin *commit_coins,
+ unsigned int size)
{
unsigned int cnt;
struct TALER_EXCHANGEDB_RefreshCommitCoin *ccoin;
@@ -282,6 +283,7 @@ test_refresh_commit_coins (struct TALER_EXCHANGEDB_Session *session,
return ret;
}
+
/**
* Function to test melting of coins as part of a refresh session
*
@@ -658,14 +660,14 @@ run (void *cls)
if (NULL ==
(plugin = TALER_EXCHANGEDB_plugin_load (cfg)))
{
- result = 1;
+ result = 77;
return;
}
if (GNUNET_OK !=
plugin->create_tables (plugin->cls,
GNUNET_YES))
{
- result = 2;
+ result = 77;
goto drop;
}
if (NULL ==