1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-09 23:39:51 +02:00
gnupg/tests/gpgscm
NIIBE Yutaka a035938216
common,agent,gpg,dirmngr,g13,scd,tests,tools: New spawn function.
* common/exechelp-posix.c (do_exec, gnupg_spawn_process): Remove.
(check_syscall_func, pre_syscall, post_syscall) : New.
(do_create_socketpair, posix_open_null, call_spawn_cb): New.
(my_exec, spawn_detached, gnupg_spawn_helper): New.
(gnupg_process_spawn, process_kill, gnupg_process_terminate): New.
(gnupg_process_get_fds, gnupg_process_get_streams): New.
(process_vctl, gnupg_process_ctl): New.
(gnupg_process_wait, gnupg_process_release): New.
(gnupg_process_wait_list): New.
* common/exechelp-w32.c: Add definition of _WIN32_WINNT as 0x600.
(check_syscall_func, pre_syscall, post_syscall): New.
(gnupg_spawn_process): Remove.
(check_windows_version): New.
(spawn_detached, gnupg_spawn_helper, gnupg_process_spawn): New.
(gnupg_process_get_fds, gnupg_process_get_streams): New.
(process_kill, process_vctl, gnupg_process_ctl): New.
(gnupg_process_wait, gnupg_process_terminate): New.
(gnupg_process_release, gnupg_process_wait_list): New.
* common/exechelp.h: Re-write for new API.
* common/exectool.c (gnupg_exec_tool_stream): Follow the change.
* common/asshelp.c (start_new_service): Likewise.
* agent/genkey.c (do_check_passphrase_pattern): Likewise.
* dirmngr/ldap-wrapper.c (struct wrapper_context_s): Use PROC.
(destroy_wrapper): Follow the change of API.
(read_log_data): Follow the change of API, use printable_pid.
(ldap_reaper_thread, ldap_wrapper_release_context): Likewise.
(ldap_wrapper_connection_cleanup, ldap_wrapper): Likewise.
* g10/photoid.c (run_with_pipe): Follow the change of API.
(show_photo): Likewise.
* g13/be-encfs.c (run_umount_helper): Likewise.
(run_encfs_tool): Likewise.
* g13/g13.c: Add including ./common/exechelp.h.
* g13/mount.c: Likewise.
* g13/runner.c: Follow the change of API.
* g13/runner.h: Follow the change of API.
* scd/app.c (setup_env): New.
(report_change): Follow the change of API.
* tests/gpgscm/ffi.c (proc_object_finalize): New.
(proc_object_to_string): New.
(proc_wrap, proc_unwrap): New.
(do_spawn_process): Remove.
(do_process_spawn): New.
(setup_std_fds): New.
(do_spawn_process_fd): Remove.
(do_process_spawn_fd): New.
(do_wait_process): Remove.
(do_process_wait): New.
(do_wait_processes): Remove.
* tests/gpgscm/t-child.scm: Follow the change of API.
* tests/gpgscm/tests.scm: Likewise.
* tests/openpgp/defs.scm: Likewise.
* tests/tpm2dtests/defs.scm: Likewise.
* tools/gpg-card.c: Likewise.
* tools/gpgconf-comp.c: Likewise.
* tools/gpgconf.c: Likewise.
* tools/gpgtar-create.c: Likewise.
* tools/gpgtar-extract.c: Likewise.
* tools/gpgtar-list.c: Likewise.

--

GnuPG-bug-id: 6275
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2023-05-11 19:18:21 +09:00
..
ffi-private.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ffi.c common,agent,gpg,dirmngr,g13,scd,tests,tools: New spawn function. 2023-05-11 19:18:21 +09:00
ffi.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ffi.scm gpgscm: Improve error handling of foreign functions. 2017-06-19 16:51:29 +02:00
gnupg.scm tests: Fix no gpg-agent upon removal of GNUPGHOME. 2018-04-04 20:27:08 +09:00
init.scm tests: Avoid auto-removal when test fails. 2022-04-26 17:20:08 +09:00
lib.scm gpgscm: Emit JUnit-style XML reports. 2017-04-24 14:28:57 +02:00
LICENSE.TinySCHEME Add license notices for TinySCHEME. 2016-06-17 18:53:45 +02:00
main.c Remove the now obsolete argparse code. 2020-02-22 09:52:48 +01:00
Makefile.am tests: Move the makefile parser. 2017-05-11 17:41:03 +02:00
makefile.scm tests: Move the makefile parser. 2017-05-11 17:41:03 +02:00
Manual.txt Fix more spelling 2016-09-17 16:00:37 +09:00
opdefines.h gpgscm: Make tags mandatory. 2017-04-10 14:57:30 +02:00
private.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
repl.scm gpgscm: Library improvements. 2017-07-14 12:57:41 +02:00
scheme-config.h gpgscm: Use system strlwr if available. 2017-03-07 14:33:27 +01:00
scheme-private.h gpgscm: Create and re-use frame objects. 2017-05-03 15:36:16 +02:00
scheme.c agent,dirmngr,gpg,scd: Clean up for modern compiler. 2022-09-14 12:08:58 +09:00
scheme.h gpgscm: Mmap script files. 2017-04-10 14:57:35 +02:00
small-integers.h gpgscm: Allocate small integers in the rodata section. 2017-04-07 13:50:20 +02:00
t-child.c gpgscm: Fix test program. 2017-04-12 12:05:53 +09:00
t-child.scm common,agent,gpg,dirmngr,g13,scd,tests,tools: New spawn function. 2023-05-11 19:18:21 +09:00
tests.scm common,agent,gpg,dirmngr,g13,scd,tests,tools: New spawn function. 2023-05-11 19:18:21 +09:00
time.scm tests: Check expiration times of created keys. 2017-02-15 14:53:07 +01:00
xml.scm gpgscm: Emit JUnit-style XML reports. 2017-04-24 14:28:57 +02:00