diff options
author | Aaron Ecay <aaronecay@gmail.com> | 2012-02-03 11:24:07 +0100 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-02-03 08:26:27 -0400 |
commit | 3f2050ac221a4c940c12442f156f12fff11600c6 (patch) | |
tree | 6f579660288f6f0c3e1e52ecf94acd80b620f116 /test | |
parent | c8410bce8ba4fb40672f997e66ac4f94072b6349 (diff) |
test: add tests for quoting of MML tags in replies
The test is broken at this time; the next commit will introduce a fix.
Edited-by: Pieter Praet <pieter@praet.org>:
Rebased to release branch, moved expected output into the actual test,
and fixed "Fcc:" line.
Diffstat (limited to 'test')
-rwxr-xr-x | test/emacs | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -273,6 +273,27 @@ On 01 Jan 2000 12:00:00 -0000, Notmuch Test Suite <test_suite@notmuchmail.org> w EOF test_expect_equal_file OUTPUT EXPECTED +test_begin_subtest "Quote MML tags in reply" +test_subtest_known_broken +message_id='test-emacs-mml-quoting@message.id' +add_message [id]="$message_id" \ + "[subject]='$test_subtest_name'" \ + '[body]="<#part disposition=inline>"' +test_emacs "(notmuch-show \"id:$message_id\") + (notmuch-show-reply) + (test-output)" +cat <<EOF >EXPECTED +From: Notmuch Test Suite <test_suite@notmuchmail.org> +To: +Subject: Re: Quote MML tags in reply +In-Reply-To: <test-emacs-mml-quoting@message.id> +Fcc: ${MAIL_DIR}/sent +--text follows this line-- +On Tue, 05 Jan 2001 15:43:57 -0000, Notmuch Test Suite <test_suite@notmuchmail.org> wrote: +> <#!part disposition=inline> +EOF +test_expect_equal_file OUTPUT EXPECTED + test_begin_subtest "Save attachment from within emacs using notmuch-show-save-attachments" # save as archive to test that Emacs does not re-compress .gz test_emacs '(let ((standard-input "\"attachment1.gz\"")) |