diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-01-25 16:03:46 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-01-25 16:03:46 +0100 |
commit | aa2d2fbf2895a572e65cb7056b107a3aeb305b18 (patch) | |
tree | 7c0a11b438d858474e73d1fb33a37ed6b680c488 /src/lib | |
parent | 220ce20d05496c6d64127c2c584ea3f01418fbf9 (diff) | |
download | exchange-aa2d2fbf2895a572e65cb7056b107a3aeb305b18.tar.xz |
Check /version compatibility during tests.
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/testing_auditor_api_helpers.c | 7 |
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; } |