mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
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:
parent
1849c68d0f
commit
67f535332c
1 changed files with 11 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue