aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2018-12-14 20:09:02 -0500
committerGlenn Morris2018-12-14 20:09:02 -0500
commitfa953b58afd39d396dab4d76a6ff0b8ba4040eb8 (patch)
tree338ccadefe2d5e15a461cffd643604798fe22ad0
parent30156364714f7b66ee82b28c9c01abebba4f49e5 (diff)
downloademacs-fa953b58afd39d396dab4d76a6ff0b8ba4040eb8.tar.gz
emacs-fa953b58afd39d396dab4d76a6ff0b8ba4040eb8.zip
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.
-rw-r--r--test/lisp/epg-tests.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lisp/epg-tests.el b/test/lisp/epg-tests.el
index 0fe15017dd0..f2cc351d70b 100644
--- a/test/lisp/epg-tests.el
+++ b/test/lisp/epg-tests.el
@@ -87,6 +87,8 @@
87(ert-deftest epg-decrypt-1 () 87(ert-deftest epg-decrypt-1 ()
88 (skip-unless (epg-tests-find-usable-gpg-configuration 'require-passphrase)) 88 (skip-unless (epg-tests-find-usable-gpg-configuration 'require-passphrase))
89 (with-epg-tests (:require-passphrase t) 89 (with-epg-tests (:require-passphrase t)
90 (with-temp-file (expand-file-name "gpg.conf" epg-tests-home-directory)
91 (insert "ignore-mdc-error"))
90 (should (equal "test" 92 (should (equal "test"
91 (epg-decrypt-string epg-tests-context "\ 93 (epg-decrypt-string epg-tests-context "\
92-----BEGIN PGP MESSAGE----- 94-----BEGIN PGP MESSAGE-----