test/emacs: add known broken test for viewing raw duplicate

This duplicates one of the bugs reported by Gregor in [1].

[1]: id:87edxw8jp4.fsf@no.workgroup
This commit is contained in:
David Bremner 2022-08-04 08:48:06 -03:00
parent 1849c68d0f
commit 67f535332c

View file

@ -381,4 +381,15 @@ test_emacs "(notmuch-show \"id:${ID3}\")
(test-visible-output \"OUTPUT\")" (test-visible-output \"OUTPUT\")"
test_expect_equal_file_nonempty $EXPECTED/notmuch-show-duplicate-4 OUTPUT test_expect_equal_file_nonempty $EXPECTED/notmuch-show-duplicate-4 OUTPUT
FILE4=$(notmuch search --output=files --duplicate=4 "id:${ID3}")
test_begin_subtest "duplicate=4, raw"
test_subtest_known_broken
test_emacs "(notmuch-show \"id:${ID3}\")
(notmuch-show-choose-duplicate 4)
(notmuch-show-view-raw-message)
(test-visible-output \"OUTPUT\")"
subject4=$(grep '^Subject:' $FILE4)
subject=$(grep '^Subject:' OUTPUT)
test_expect_equal "$subject4" "$subject"
test_done test_done