From: Aaron Ecay <aarone...@gmail.com> The test is broken at this time; the next commit will introduce a fix. --- test/emacs | 12 ++++++++++++ test/emacs.expected-output/quote-mml-in-reply | 7 +++++++ 2 files changed, 19 insertions(+), 0 deletions(-) create mode 100644 test/emacs.expected-output/quote-mml-in-reply
diff --git a/test/emacs b/test/emacs index 8ca4c8a..a3f4893 100755 --- a/test/emacs +++ b/test/emacs @@ -273,6 +273,18 @@ On 01 Jan 2000 12:00:00 -0000, Notmuch Test Suite <test_suite at 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 at message.id' +add_message [id]="$message_id" \ + "[subject]='$test_subtest_name'" \ + '[body]="<#part disposition=inline>"' +test_emacs "(let ((notmuch-fcc-dirs nil)) + (notmuch-show \"id:$message_id\") + (notmuch-show-reply) + (test-output))" +test_expect_equal_file OUTPUT "$EXPECTED/quote-mml-in-reply" + 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\"")) diff --git a/test/emacs.expected-output/quote-mml-in-reply b/test/emacs.expected-output/quote-mml-in-reply new file mode 100644 index 0000000..adec92a --- /dev/null +++ b/test/emacs.expected-output/quote-mml-in-reply @@ -0,0 +1,7 @@ +From: Notmuch Test Suite <test_suite at notmuchmail.org> +To: +Subject: Re: Quote MML tags in reply +In-Reply-To: <test-emacs-mml-quoting at message.id> +--text follows this line-- +On Fri, 05 Jan 2001 15:43:57 +0000, Notmuch Test Suite <test_suite at notmuchmail.org> wrote: +> <#!part disposition=inline> -- 1.7.9