aboutsummaryrefslogtreecommitdiff
path: root/src/exchange-lib/testing_api_loop.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-08-09 10:33:21 +0200
committerChristian Grothoff <christian@grothoff.org>2018-08-09 10:33:21 +0200
commitf17ad4de768e297879a6ace43f7be723ddff6b6f (patch)
tree906297edbe737f96028187d444f4d261257a4f91 /src/exchange-lib/testing_api_loop.c
parent4693708b8c53471f7bc5e956dff8158615c46deb (diff)
in parallel tests, only launch one exchange -- still broken: code attempts to launch multiple fakebanks
Diffstat (limited to 'src/exchange-lib/testing_api_loop.c')
-rw-r--r--src/exchange-lib/testing_api_loop.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/exchange-lib/testing_api_loop.c b/src/exchange-lib/testing_api_loop.c
index 54323d6b..29cafe94 100644
--- a/src/exchange-lib/testing_api_loop.c
+++ b/src/exchange-lib/testing_api_loop.c
@@ -78,7 +78,7 @@ TALER_TESTING_interpreter_lookup_command
for (unsigned int i=0;
NULL != (cmd = &batch[i])->label;
- i++)
+ i++)
{
if ( (NULL != cmd->label) &&
(0 == strcmp (cmd->label,
@@ -181,7 +181,7 @@ TALER_TESTING_interpreter_next (struct TALER_TESTING_Interpreter *is)
GNUNET_assert (GNUNET_OK == TALER_TESTING_get_trait_cmd
(cmd, CURRENT_BATCH_SUBCMD_INDEX, &sub_cmd));
-
+
if (NULL == sub_cmd->label)
is->ip++;
}
@@ -520,7 +520,7 @@ sighandler_child_death ()
* @param keys the exchange's keys.
* @param compat protocol compatibility information.
*/
-void
+static void
cert_cb (void *cls,
const struct TALER_EXCHANGE_Keys *keys,
enum TALER_EXCHANGE_VersionCompatibility compat)
@@ -562,6 +562,7 @@ cert_cb (void *cls,
main_ctx->is);
}
+
/**
* Initialize scheduler loop and curl context for the testcase,
* and responsible to run the "run" method.