emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 1eefada: Don't skip epg tests (Bug#23561)


From: Noam Postavsky
Subject: [Emacs-diffs] master 1eefada: Don't skip epg tests (Bug#23561)
Date: Thu, 6 Jul 2017 22:06:03 -0400 (EDT)

branch: master
commit 1eefada3f277e533cf74bc77ecd36f42c07a96cb
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    Don't skip epg tests (Bug#23561)
    
    * test/lisp/epg-tests.el (with-epg-tests): Ignore REQUIRE-PASSPHRASE
    parameter, since we supply the passphrase via pinentry-program for all
    GPG versions (as of 2017-02-28 "Fix epg-tests with dummy-pinentry
    program (Bug#23619)").
    (epg-tests-program-alist-for-passphrase-callback): Remove.
---
 test/lisp/epg-tests.el | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/test/lisp/epg-tests.el b/test/lisp/epg-tests.el
index 9dd093e..36db478 100644
--- a/test/lisp/epg-tests.el
+++ b/test/lisp/epg-tests.el
@@ -30,17 +30,8 @@
   (expand-file-name "data/epg" (getenv "EMACS_TEST_DIRECTORY"))
   "Directory containing epg test data.")
 
-(defconst epg-tests-program-alist-for-passphrase-callback
-  '((OpenPGP
-     nil
-     ("gpg" . "1.4.3"))))
-
-(defun epg-tests-find-usable-gpg-configuration (&optional require-passphrase)
-  (epg-find-configuration
-   'OpenPGP
-   'no-cache
-   (if require-passphrase
-       epg-tests-program-alist-for-passphrase-callback)))
+(defun epg-tests-find-usable-gpg-configuration (&optional _require-passphrase)
+  (epg-find-configuration 'OpenPGP 'no-cache))
 
 (defun epg-tests-passphrase-callback (_c _k _d)
   ;; Need to create a copy here, since the string will be wiped out



reply via email to

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