Re: notmuch-mutt: support for duplicate message removal
[notmuch-archives.git] / d3 / 84979ce5c7e95a900d7cb93270816009fb9827
1 Return-Path: <pieter@praet.org>\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 0E87B429E35\r
6         for <notmuch@notmuchmail.org>; Sun, 10 Jul 2011 08:56:27 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id ts0MGvI3tkg5 for <notmuch@notmuchmail.org>;\r
16         Sun, 10 Jul 2011 08:56:26 -0700 (PDT)\r
17 Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com\r
18  [74.125.82.45])        (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
19  certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
20  745A4429E3E    for <notmuch@notmuchmail.org>; Sun, 10 Jul 2011 08:56:26 -0700\r
21  (PDT)\r
22 Received: by mail-ww0-f45.google.com with SMTP id 40so1521868wwj.2\r
23         for <notmuch@notmuchmail.org>; Sun, 10 Jul 2011 08:56:26 -0700 (PDT)\r
24 Received: by 10.216.235.207 with SMTP id u57mr3537375weq.42.1310313386132;\r
25         Sun, 10 Jul 2011 08:56:26 -0700 (PDT)\r
26 Received: from localhost ([109.131.150.231])\r
27         by mx.google.com with ESMTPS id 53sm1407091wel.31.2011.07.10.08.56.24\r
28         (version=TLSv1/SSLv3 cipher=OTHER);\r
29         Sun, 10 Jul 2011 08:56:25 -0700 (PDT)\r
30 From: Pieter Praet <pieter@praet.org>\r
31 To: Notmuch Mail <notmuch@notmuchmail.org>\r
32 Subject: [PATCH 3/6] test: emacs: add test to verify that the message being\r
33         replied to is tagged as such\r
34 Date: Sun, 10 Jul 2011 17:55:32 +0200\r
35 Message-Id: <1310313335-4159-4-git-send-email-pieter@praet.org>\r
36 X-Mailer: git-send-email 1.7.5.4\r
37 In-Reply-To: <1310313335-4159-1-git-send-email-pieter@praet.org>\r
38 References: <1310313335-4159-1-git-send-email-pieter@praet.org>\r
39 X-BeenThere: notmuch@notmuchmail.org\r
40 X-Mailman-Version: 2.1.13\r
41 Precedence: list\r
42 List-Id: "Use and development of the notmuch mail system."\r
43         <notmuch.notmuchmail.org>\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
45         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
47 List-Post: <mailto:notmuch@notmuchmail.org>\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
51 X-List-Received-Date: Sun, 10 Jul 2011 15:56:27 -0000\r
52 \r
53 When a message is replied to, it should be tagged `replied'.\r
54 \r
55 Signed-off-by: Pieter Praet <pieter@praet.org>\r
56 ---\r
57  test/emacs |    4 ++++\r
58  1 files changed, 4 insertions(+), 0 deletions(-)\r
59 \r
60 diff --git a/test/emacs b/test/emacs\r
61 index f277653..6479c4e 100755\r
62 --- a/test/emacs\r
63 +++ b/test/emacs\r
64 @@ -300,6 +300,10 @@ Reply to a message via Emacs with fake SMTP\r
65  EOF\r
66  test_expect_equal_file OUTPUT EXPECTED\r
67  \r
68 +test_begin_subtest "Verify that 'replied' tag is added to reply's parent message."\r
69 +output=$(notmuch search 'tag:replied' | notmuch_search_sanitize)\r
70 +test_expect_equal "$output" "thread:XXX   2000-01-01 [1/2] Notmuch Test Suite; Testing message sent via SMTP (inbox replied)"\r
71 +\r
72  test_begin_subtest "Save attachment from within emacs using notmuch-show-save-attachments"\r
73  # save as archive to test that Emacs does not re-compress .gz\r
74  test_emacs '(let ((standard-input "\"attachment1.gz\""))\r
75 -- \r
76 1.7.5.4\r
77 \r