tests: Correctly handle exceptions in resource handling macros.
authorJustus Winter <justus@g10code.com>
Mon, 19 Sep 2016 15:24:03 +0000 (17:24 +0200)
committerJustus Winter <justus@g10code.com>
Mon, 19 Sep 2016 16:49:17 +0000 (18:49 +0200)
commit58007e52593e6b0f838de2e464ceeacf22757018
tree31eb389c681bdb95ee6294494f9fc228b97183e8
parentab483eff9a8254adf127cdee178e14ba74f0a2b3
tests: Correctly handle exceptions in resource handling macros.

* tests/gpgscm/tests.scm (letfd): Correctly release resources when an
exception is thrown.
(with-working-directory): Likewise.
(with-temporary-working-directory): Likewise.
(lettmp): Likewise.

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