Home GnuPG
Diffusion GnuPG 4fe8859541d0

gpgscm: Fix handling an error for chdir.

Description

gpgscm: Fix handling an error for chdir.

* tests/gpgscm/ffi.c (do_chdir): Use gpg_error_from_syserror.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on May 2 2022, 7:16 AM
Parents
rG792374edb676: tests: Fix plain invocation of "make check".
Branches
Unknown
Tags
Unknown

Event Timeline

FWIW, the original idea with gpgscm was to provide code which does no rely on any gpg stuff so it can be merged back into upstream. I am not sure whether this still makes sense.

Background: I encountered a problem error message shows irrelevant; While it should say 'No such file or directly', it says 'Unknown Packet'.