Home GnuPG
Diffusion GnuPG 1b0ce9918c32

tests: Fix call-with-io deadlock.

Description

tests: Fix call-with-io deadlock.

* tests/gpgscm/ffi.c (es_wrap): Ifdef-out.
[HAVE_W32_SYSTEM] (read_from_pipe): New.
(do_process_spawn_io): Rename from do_process_spawn.  Do I/O
with no deadlock.
* tests/gpgscm/tests.scm (call-with-io): Use process-spawn-io.
(es-read-all): Remove.
  • GnuPG-bug-id: T6523
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details