Fix epg-tests with upstream patch for newer GnuPG
authorRob Browning <rlb@defaultvalue.org>
Mon, 17 Dec 2018 17:58:49 +0000 (11:58 -0600)
committerRob Browning <rlb@defaultvalue.org>
Mon, 17 Dec 2018 19:25:30 +0000 (13:25 -0600)
Add 0009-An-epg-test-failure-with-recent-GnuPG-versions-has-b.patch to
fix the problem.

1  2 
debian/.git-dpm
debian/patches/0009-An-epg-test-failure-with-recent-GnuPG-versions-has-b.patch
debian/patches/series

diff --cc debian/.git-dpm
index f9da0b0a3b61d9ba0be2e641348ba0b0b2e7d98e,0000000000000000000000000000000000000000..3c79b2386ff749e068b9aee6c9e075e500171986
mode 100644,000000..100644
--- /dev/null
@@@ -1,8 -1,0 +1,8 @@@
- bda90e2ab5203feb938188cbd8e029c9b2a467db
- bda90e2ab5203feb938188cbd8e029c9b2a467db
 +# see git-dpm(1) from git-dpm package
++d13836843d9f34fa308d83bf3dd09ee9d00e142d
++d13836843d9f34fa308d83bf3dd09ee9d00e142d
 +511a2cebd6df0f71ec24b5939564fb58726ead84
 +511a2cebd6df0f71ec24b5939564fb58726ead84
 +emacs_26.1+1.orig.tar.xz
 +9318da32923e8a4a17ee23113302ff509c0d4056
 +24259708
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..641715f10e6d51acaa063c55c2c23b7577afadf2
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,33 @@@
++From d13836843d9f34fa308d83bf3dd09ee9d00e142d Mon Sep 17 00:00:00 2001
++From: Glenn Morris <rgm@gnu.org>
++Date: Fri, 14 Dec 2018 20:09:02 -0500
++Subject: An epg test failure with recent GnuPG versions has been fixed
++
++This patch has been backported from upstream to fix m68k build
++failures:
++
++  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.
++
++Origin: backport, commit: fa953b58afd39d396dab4d76a6ff0b8ba4040eb8)
++Bug: https://debbugs.gnu.org/33439
++Forwarded: not-needed
++---
++ 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 0fe15017dd0..f2cc351d70b 100644
++--- a/test/lisp/epg-tests.el
+++++ b/test/lisp/epg-tests.el
++@@ -87,6 +87,8 @@ epg-tests-passphrase-callback
++ (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-----
index 81a8bab0f4388c44ad43b158de5b533f1178cdf7,0000000000000000000000000000000000000000..aab53542d348054df6a933325529840cc75fac3f
mode 100644,000000..100644
--- /dev/null
@@@ -1,8 -1,0 +1,9 @@@
 +0001-Prefer-usr-share-info-emacs.patch
 +0002-Run-debian-startup-and-set-debian-emacs-flavor.patch
 +0003-Remove-files-that-appear-to-be-incompatible-with-the.patch
 +0004-Adjust-documentation-references-for-Debian.patch
 +0005-Modify-the-output-of-version-to-indicate-Debian-modi.patch
 +0006-Don-t-try-to-build-src-macuvs.h-via-IVD_Sequences.tx.patch
 +0007-Kill-gpg-agent-in-package-test.el-to-avoid-a-race.patch
 +0008-Don-t-downcase-real-xref-in-elisp-mode-tests.patch
++0009-An-epg-test-failure-with-recent-GnuPG-versions-has-b.patch