]> git.eshelyaron.com Git - emacs.git/commitdiff
Kill the scdaemon after doing the mml-sec tests
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 26 Dec 2020 02:59:35 +0000 (03:59 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 26 Dec 2020 02:59:35 +0000 (03:59 +0100)
* test/lisp/gnus/mml-sec-tests.el (mml-sec-test--kill-gpg-agent):
Kill the scdaemon, too (bug#43358).

test/lisp/gnus/mml-sec-tests.el

index a144e2e4ffbdef7a74b29d943bef1cc5d7b768ff..e3a8c81cc6564d9f6badde2a3851451f50dc6311 100644 (file)
@@ -884,7 +884,8 @@ So the second decryption fails."
   (dolist (pid (list-system-processes))
     (let ((atts (process-attributes pid)))
       (when (and (equal (cdr (assq 'user atts)) (user-login-name))
-                 (equal (cdr (assq 'comm atts)) "gpg-agent")
+                 (or (equal (cdr (assq 'comm atts)) "gpg-agent")
+                    (equal (cdr (assq 'comm atts)) "scdaemon"))
                  (string-match
                   (concat "homedir.*"
                           (regexp-quote (directory-file-name