]> git.cworth.org Git - notmuch/commitdiff
test/emacs: mark one test as fixed in newer emacs.
authorDavid Bremner <david@tethera.net>
Sun, 5 Dec 2021 14:40:07 +0000 (10:40 -0400)
committerDavid Bremner <david@tethera.net>
Mon, 6 Dec 2021 21:28:51 +0000 (17:28 -0400)
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.

test/T450-emacs-show.sh

index 4b5f5fdecafde48f5e36bf822a6b27534dcc93e4..057ad37ee30e1a1e90fef01f82edac906c5101f4 100755 (executable)
@@ -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'