From 67f535332c43e735a8fd28171a1ef4d82dc56b96 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Thu, 4 Aug 2022 08:48:06 -0300 Subject: [PATCH] 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 --- test/T450-emacs-show.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test/T450-emacs-show.sh b/test/T450-emacs-show.sh index ab611d56..83e902f1 100755 --- a/test/T450-emacs-show.sh +++ b/test/T450-emacs-show.sh @@ -381,4 +381,15 @@ test_emacs "(notmuch-show \"id:${ID3}\") (test-visible-output \"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 -- 2.43.0