gpgscm: Guard use of tagged expressions.
authorJustus Winter <justus@g10code.com>
Fri, 17 Feb 2017 09:43:20 +0000 (10:43 +0100)
committerJustus Winter <justus@g10code.com>
Fri, 17 Feb 2017 09:43:20 +0000 (10:43 +0100)
commitaab6ba0bb60528b9e816e430be51170cf39611b0
tree9cbb3b6fab94559dcae1a18be7d54b65bdce7ace
parent99d4dfe83661d05ef3a20ed04e6cec5647536738
gpgscm: Guard use of tagged expressions.

* tests/gpgscm/init.scm (vm-history-print): Check that the tag added
to expressions when parsing source files matches the expected format.
* tests/gpgscm/lib.scm (assert): Likewise.
--

This makes the error handling more robust.  We saw the assumption
about the format of the tags being violated on one build system, and
it obscured the view on the underlying problem.

Signed-off-by: Justus Winter <justus@g10code.com>
tests/gpgscm/init.scm
tests/gpgscm/lib.scm