aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-12-05 10:40:07 -0400
committerDavid Bremner <david@tethera.net>2021-12-06 17:28:51 -0400
commit57f29f4cb1e5ddfca453384954226b47f53e2ea6 (patch)
treef01f645ce91ed4223902b97eace0c1d0b1356d55
parentf17d75b83c90ae4ea75f79377f3acb873b9e564e (diff)
test/emacs: mark one test as fixed in newer emacs.
The remaining problem in this test is fixed upstream in Emacs 28. While most people are using earlier versions of emacs, the test still provides some documentation of a known bug.
-rwxr-xr-xtest/T450-emacs-show.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/T450-emacs-show.sh b/test/T450-emacs-show.sh
index 4b5f5fde..057ad37e 100755
--- a/test/T450-emacs-show.sh
+++ b/test/T450-emacs-show.sh
@@ -220,7 +220,9 @@ test_emacs '(notmuch-show "id:basic-encrypted@crypto.notmuchmail.org")
test_expect_equal_file $EXPECTED/notmuch-show-decrypted-message OUTPUT
test_begin_subtest "show encrypted rfc822 message"
-test_subtest_known_broken
+if ${TEST_EMACS} --quick --batch --eval '(kill-emacs (if (version< emacs-version "28") 0 1))'; then
+ test_subtest_known_broken
+fi
test_emacs '(notmuch-show "id:encrypted-rfc822-attachment@crypto.notmuchmail.org")
(test-visible-output)'
test_expect_code 1 'fgrep "!!!" OUTPUT'