diff options
| author | David Bremner <david@tethera.net> | 2022-08-04 08:48:06 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2022-08-07 07:05:49 -0300 |
| commit | 67f535332c43e735a8fd28171a1ef4d82dc56b96 (patch) | |
| tree | e4cab75914b51f80719247547b806a40f0872038 /test | |
| parent | 1849c68d0f4de0a2028df5f1708d473e60d87785 (diff) | |
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
Diffstat (limited to 'test')
| -rwxr-xr-x | test/T450-emacs-show.sh | 11 |
1 files changed, 11 insertions, 0 deletions
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 |
