aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpgscm/tests.scm
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-09-19 15:19:00 +0000
committerJustus Winter <[email protected]>2016-09-19 16:49:17 +0000
commitab483eff9a8254adf127cdee178e14ba74f0a2b3 (patch)
tree254dda8512ccdbcdad53ee3089766010f34893d7 /tests/gpgscm/tests.scm
parenttests: Use descriptive temporary file names. (diff)
downloadgnupg-ab483eff9a8254adf127cdee178e14ba74f0a2b3.tar.gz
gnupg-ab483eff9a8254adf127cdee178e14ba74f0a2b3.zip
tests: Refine exception handling.
* tests/gpgscm/init.scm (catch): Bind all arguments to '*error*' in the error handler, update and fix comment. (*error-hook*): Revert to original definition. * tests/gpgscm/tests.scm (tr:do): Adapt accordingly. * tests/openpgp/issue2419.scm: Likewise. Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to '')
-rw-r--r--tests/gpgscm/tests.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gpgscm/tests.scm b/tests/gpgscm/tests.scm
index 0738bc687..7b88e0ebb 100644
--- a/tests/gpgscm/tests.scm
+++ b/tests/gpgscm/tests.scm
@@ -411,7 +411,7 @@
(if error
(begin
(for-each remove-temporary-file tmpfiles')
- (throw error)))
+ (apply throw error)))
(loop tmpfiles' sink (cdr cmds))))))
(define (tr:open pathname)