From 63b8f25b88fcfe3198c15e5e78bdd075a7990cfe Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 28 Oct 2020 11:54:53 +0100 Subject: [PATCH] Disable mml-sec-tests on MacOS * test/lisp/gnus/mml-sec-tests.el (test-conf): Disable tests on MacOS (bug#44259). --- test/lisp/gnus/mml-sec-tests.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/lisp/gnus/mml-sec-tests.el b/test/lisp/gnus/mml-sec-tests.el index d85516179fa..a6002b4d51e 100644 --- a/test/lisp/gnus/mml-sec-tests.el +++ b/test/lisp/gnus/mml-sec-tests.el @@ -38,7 +38,10 @@ Mostly, the empty passphrase is used. However, the keys for as S/MIME).") (defun test-conf () - (ignore-errors (epg-find-configuration 'OpenPGP))) + ;; Emacs doesn't have support for finding the name of the PGP agent + ;; on MacOS, so disable the checks. + (and (not (eq system-type 'darwin)) + (ignore-errors (epg-find-configuration 'OpenPGP)))) (defun enc-standards () (if with-smime '(enc-pgp enc-pgp-mime enc-smime) -- 2.39.2