1 Return-Path: <dmitry.kurochkin@gmail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 251D14196FF
\r
6 for <notmuch@notmuchmail.org>; Tue, 31 Jan 2012 18:51:10 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id VgZBO01kJBeZ for <notmuch@notmuchmail.org>;
\r
17 Tue, 31 Jan 2012 18:51:08 -0800 (PST)
\r
18 Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com
\r
19 [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 5E964431E64
\r
22 for <notmuch@notmuchmail.org>; Tue, 31 Jan 2012 18:51:08 -0800 (PST)
\r
23 Received: by bke11 with SMTP id 11so662825bke.26
\r
24 for <notmuch@notmuchmail.org>; Tue, 31 Jan 2012 18:51:07 -0800 (PST)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
26 h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;
\r
27 bh=60nvJhmsP+ov5MVc62Ro8EsM2gVlet4ukr3MIjTyyzU=;
\r
28 b=uc+B/uJ/lc2hZyi78Ax9Vew+E+DF4MhMqW/Rzxo8/jz3S2/7j4nK1h58tybF3uUGv5
\r
29 x2NpUb4LjK1YDs/t4D01S5kh32CJ55Tie7XdRBe51Az/6Zbse8rfMDqmzo0XEVn2k9xU
\r
30 S4q0QiD2Tya1Gvy86l1RCSSPZWXr0Wrneub8I=
\r
31 Received: by 10.205.122.134 with SMTP id gg6mr12042359bkc.41.1328064667008;
\r
32 Tue, 31 Jan 2012 18:51:07 -0800 (PST)
\r
33 Received: from localhost ([91.144.186.21])
\r
34 by mx.google.com with ESMTPS id t17sm50030815bke.6.2012.01.31.18.51.05
\r
35 (version=TLSv1/SSLv3 cipher=OTHER);
\r
36 Tue, 31 Jan 2012 18:51:06 -0800 (PST)
\r
37 From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
\r
38 To: notmuch@notmuchmail.org
\r
39 Subject: [PATCH v3 1/2] test: add tests for quoting of MML tags in replies
\r
40 Date: Wed, 1 Feb 2012 06:49:40 +0400
\r
41 Message-Id: <1328064581-13949-2-git-send-email-dmitry.kurochkin@gmail.com>
\r
42 X-Mailer: git-send-email 1.7.9
\r
43 In-Reply-To: <1328064581-13949-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
44 References: <1326998589-37187-1-git-send-email-aaronecay@gmail.com>
\r
45 <1328064581-13949-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
46 X-BeenThere: notmuch@notmuchmail.org
\r
47 X-Mailman-Version: 2.1.13
\r
49 List-Id: "Use and development of the notmuch mail system."
\r
50 <notmuch.notmuchmail.org>
\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
52 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
54 List-Post: <mailto:notmuch@notmuchmail.org>
\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
57 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
58 X-List-Received-Date: Wed, 01 Feb 2012 02:51:10 -0000
\r
60 From: Aaron Ecay <aaronecay@gmail.com>
\r
62 The test is broken at this time; the next commit will introduce a fix.
\r
64 test/emacs | 12 ++++++++++++
\r
65 test/emacs.expected-output/quote-mml-in-reply | 7 +++++++
\r
66 2 files changed, 19 insertions(+), 0 deletions(-)
\r
67 create mode 100644 test/emacs.expected-output/quote-mml-in-reply
\r
69 diff --git a/test/emacs b/test/emacs
\r
70 index 8ca4c8a..a3f4893 100755
\r
73 @@ -273,6 +273,18 @@ On 01 Jan 2000 12:00:00 -0000, Notmuch Test Suite <test_suite@notmuchmail.org> w
\r
75 test_expect_equal_file OUTPUT EXPECTED
\r
77 +test_begin_subtest "Quote MML tags in reply"
\r
78 +test_subtest_known_broken
\r
79 +message_id='test-emacs-mml-quoting@message.id'
\r
80 +add_message [id]="$message_id" \
\r
81 + "[subject]='$test_subtest_name'" \
\r
82 + '[body]="<#part disposition=inline>"'
\r
83 +test_emacs "(let ((notmuch-fcc-dirs nil))
\r
84 + (notmuch-show \"id:$message_id\")
\r
85 + (notmuch-show-reply)
\r
87 +test_expect_equal_file OUTPUT "$EXPECTED/quote-mml-in-reply"
\r
89 test_begin_subtest "Save attachment from within emacs using notmuch-show-save-attachments"
\r
90 # save as archive to test that Emacs does not re-compress .gz
\r
91 test_emacs '(let ((standard-input "\"attachment1.gz\""))
\r
92 diff --git a/test/emacs.expected-output/quote-mml-in-reply b/test/emacs.expected-output/quote-mml-in-reply
\r
93 new file mode 100644
\r
94 index 0000000..adec92a
\r
96 +++ b/test/emacs.expected-output/quote-mml-in-reply
\r
98 +From: Notmuch Test Suite <test_suite@notmuchmail.org>
\r
100 +Subject: Re: Quote MML tags in reply
\r
101 +In-Reply-To: <test-emacs-mml-quoting@message.id>
\r
102 +--text follows this line--
\r
103 +On Fri, 05 Jan 2001 15:43:57 +0000, Notmuch Test Suite <test_suite@notmuchmail.org> wrote:
\r
104 +> <#!part disposition=inline>
\r