[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 fa953b5: Fix an epg test for recent GnuPG version
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] emacs-26 fa953b5: Fix an epg test for recent GnuPG versions (bug#33439) |
Date: |
Fri, 14 Dec 2018 20:09:10 -0500 (EST) |
branch: emacs-26
commit fa953b58afd39d396dab4d76a6ff0b8ba4040eb8
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>
Fix an epg test for recent GnuPG versions (bug#33439)
* test/lisp/epg-tests.el (epg-decrypt-1):
Tell recent GnuPG (e.g. 2.2.11) not to worry about missing MDC.
---
test/lisp/epg-tests.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/lisp/epg-tests.el b/test/lisp/epg-tests.el
index 0fe1501..f2cc351 100644
--- a/test/lisp/epg-tests.el
+++ b/test/lisp/epg-tests.el
@@ -87,6 +87,8 @@
(ert-deftest epg-decrypt-1 ()
(skip-unless (epg-tests-find-usable-gpg-configuration 'require-passphrase))
(with-epg-tests (:require-passphrase t)
+ (with-temp-file (expand-file-name "gpg.conf" epg-tests-home-directory)
+ (insert "ignore-mdc-error"))
(should (equal "test"
(epg-decrypt-string epg-tests-context "\
-----BEGIN PGP MESSAGE-----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 fa953b5: Fix an epg test for recent GnuPG versions (bug#33439),
Glenn Morris <=