commit aa2d2fbf2895a572e65cb7056b107a3aeb305b18 parent 220ce20d05496c6d64127c2c584ea3f01418fbf9 Author: Marcello Stanisci <stanisci.m@gmail.com> Date: Fri, 25 Jan 2019 16:03:46 +0100 Check /version compatibility during tests. Diffstat:
| M | src/lib/testing_auditor_api_helpers.c | | | 7 | ++++++- |
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git 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; }