Home GnuPG
Diffusion GnuPG f27a70ecc268

tests: Avoid auto-removal when test fails.

Description

tests: Avoid auto-removal when test fails.

* tests/gpgscm/init.scm (*exit-status*): New.
(exit): Set *exit-status*.
* tests/gpgscm/tests.scm (mkdtemp-autoremove): Check
exit-status and only remove the directory if not zero.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Apr 26 2022, 10:20 AM
Parents
rGba2f2085a95b: tests: Support single invocation with variant.
Branches
Unknown
Tags
Unknown