emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 00b8fdf 1/2: Fix gpg-agent killing in mml-sec-tests


From: Lars Ingebrigtsen
Subject: master 00b8fdf 1/2: Fix gpg-agent killing in mml-sec-tests
Date: Fri, 25 Dec 2020 15:09:54 -0500 (EST)

branch: master
commit 00b8fdf29b83092a830f85e73084382c3a166ed3
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix gpg-agent killing in mml-sec-tests
    
    * test/lisp/gnus/mml-sec-tests.el (mml-sec-test--kill-gpg-agent):
    Identify the gpg-agent more successfully after the resource dir
    makeover.
---
 test/lisp/gnus/mml-sec-tests.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/lisp/gnus/mml-sec-tests.el b/test/lisp/gnus/mml-sec-tests.el
index a6002b4..20d8e03 100644
--- a/test/lisp/gnus/mml-sec-tests.el
+++ b/test/lisp/gnus/mml-sec-tests.el
@@ -883,7 +883,8 @@ So the second decryption fails."
                  (equal (cdr (assq 'comm atts)) "gpg-agent")
                  (string-match
                   (concat "homedir.*"
-                          (regexp-quote (ert-resource-directory)))
+                          (regexp-quote (directory-file-name
+                                         (ert-resource-directory))))
                   (cdr (assq 'args atts))))
         (call-process "kill" nil nil nil (format "%d" pid))))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]