aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-01-25 16:03:46 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2019-01-25 16:03:46 +0100
commitaa2d2fbf2895a572e65cb7056b107a3aeb305b18 (patch)
tree7c0a11b438d858474e73d1fb33a37ed6b680c488 /src/lib
parent220ce20d05496c6d64127c2c584ea3f01418fbf9 (diff)
Check /version compatibility during tests.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/testing_auditor_api_helpers.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/testing_auditor_api_helpers.c b/src/lib/testing_auditor_api_helpers.c
index fd9de3537..4bbfc51d1 100644
--- a/src/lib/testing_auditor_api_helpers.c
+++ b/src/lib/testing_auditor_api_helpers.c
@@ -113,7 +113,12 @@ auditor_version_cb
{
struct TALER_TESTING_Interpreter *is = cls;
- /* TODO: check vi/compat? */
+ if (TALER_AUDITOR_VC_MATCH != compat)
+ {
+ TALER_TESTING_interpreter_fail (is);
+ return;
+ }
+
is->auditor_working = GNUNET_YES;
}