From: Stefan Kangas <stefan@marxist.se>
To: 44259@debbugs.gnu.org
Subject: bug#44259: Most mml-sec.el tests are failing on macOS
Date: Tue, 27 Oct 2020 19:16:57 +0100 [thread overview]
Message-ID: <CADwFkmmQbQfry01Ons27PH3NSt6nLrDkf38Uo+-_J3WjPYcFDA@mail.gmail.com> (raw)
Most mml-sec.el tests are failing on macOS. Here is my analysis.
In mml-sec-tests.el, the cleanup in mml-sec-test--kill-gpg-agent
depends on the 'args key in the alist returned by process-attributes.
But evaluating following on macOS gives nil:
(assq 'args (process-attributes (emacs-pid)))
Support for `args' seems to be not implemented on macOS. See
src/sysdep.c, function system_process_attributes.
This was previously discussed in Bug#16579, where support for
process-attributes was first added. It seems like the API for all this
is not documented, so it's tricky to add.
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=16579#5
So I guess we either should make the tests not depend on 'args, or
figure out how to implement the above support for macOS.
next reply other threads:[~2020-10-27 18:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-27 18:16 Stefan Kangas [this message]
2020-10-27 20:08 ` bug#44259: Most mml-sec.el tests are failing on macOS Lars Ingebrigtsen
2020-10-27 21:41 ` Stefan Kangas
2020-10-28 10:55 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CADwFkmmQbQfry01Ons27PH3NSt6nLrDkf38Uo+-_J3WjPYcFDA@mail.gmail.com \
--to=stefan@marxist.se \
--cc=44259@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).