gpgscm: Handle exceptions in the transformation monad.
authorJustus Winter <justus@g10code.com>
Thu, 23 Jun 2016 15:18:13 +0000 (17:18 +0200)
committerJustus Winter <justus@g10code.com>
Thu, 23 Jun 2016 15:18:13 +0000 (17:18 +0200)
commit145910afc077e7a5df6cc8b10e180dfa6ce38cc3
tree755f2faf5e8cc3e112ac15a5694d54655a8b4e08
parent1e822654c1dcfc23a9ef689f4e18c0ebba18baca
gpgscm: Handle exceptions in the transformation monad.

* tests/gpgscm/tests.scm (pipe:do): Raise errors.
(tr:spawn): Catch and return errors.
(tr:call-with-content): Likewise.
(tr:{open,write-to,pipe-do,assert-identity,assert-weak-identity}):
Adapt.

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