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 94783431FD9
\r
6 for <notmuch@notmuchmail.org>; Sun, 19 Feb 2012 12:41:15 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\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 RzQqKcKTn1Pu for <notmuch@notmuchmail.org>;
\r
16 Sun, 19 Feb 2012 12:41:14 -0800 (PST)
\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 502C8431FC2 for <notmuch@notmuchmail.org>; Sun, 19 Feb 2012 12:41:14 -0800
\r
22 Received: by mail-ww0-f45.google.com with SMTP id dt12so4004483wgb.2
\r
23 for <notmuch@notmuchmail.org>; Sun, 19 Feb 2012 12:41:13 -0800 (PST)
\r
24 Received-SPF: pass (google.com: domain of pieter@praet.org designates
\r
25 10.180.92.73 as permitted sender) client-ip=10.180.92.73;
\r
26 Authentication-Results: mr.google.com;
\r
27 spf=pass (google.com: domain of pieter@praet.org
\r
28 designates 10.180.92.73 as permitted sender)
\r
29 smtp.mail=pieter@praet.org
\r
30 Received: from mr.google.com ([10.180.92.73])
\r
31 by 10.180.92.73 with SMTP id ck9mr12029838wib.2.1329684073991 (num_hops
\r
32 = 1); Sun, 19 Feb 2012 12:41:13 -0800 (PST)
\r
34 Received: by 10.180.92.73 with SMTP id ck9mr10019400wib.2.1329684073919;
\r
35 Sun, 19 Feb 2012 12:41:13 -0800 (PST)
\r
36 Received: from localhost (104.218-242-81.adsl-dyn.isp.belgacom.be.
\r
38 by mx.google.com with ESMTPS id fl2sm29208385wib.4.2012.02.19.12.41.13
\r
39 (version=TLSv1/SSLv3 cipher=OTHER);
\r
40 Sun, 19 Feb 2012 12:41:13 -0800 (PST)
\r
41 From: Pieter Praet <pieter@praet.org>
\r
42 To: Notmuch Mail <notmuch@notmuchmail.org>
\r
43 Subject: [PATCH v2 3/4] test: emacs: new test "notmuch-search: when reply is
\r
44 sent, parent message should be tagged 'replied'"
\r
45 Date: Sun, 19 Feb 2012 21:38:27 +0100
\r
46 Message-Id: <1329683908-5435-4-git-send-email-pieter@praet.org>
\r
47 X-Mailer: git-send-email 1.7.8.1
\r
48 In-Reply-To: <1329683908-5435-1-git-send-email-pieter@praet.org>
\r
49 References: <1310313335-4159-1-git-send-email-pieter@praet.org>
\r
50 <1329683908-5435-1-git-send-email-pieter@praet.org>
\r
52 ALoCoQk2Niu8Vz4awytUDrVb0E4MvxumvHKaSMapbBbePjUnAJbA+fM2/rKBYahFqYbEIAH0eRZn
\r
53 X-BeenThere: notmuch@notmuchmail.org
\r
54 X-Mailman-Version: 2.1.13
\r
56 List-Id: "Use and development of the notmuch mail system."
\r
57 <notmuch.notmuchmail.org>
\r
58 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
60 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
61 List-Post: <mailto:notmuch@notmuchmail.org>
\r
62 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
63 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
64 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
65 X-List-Received-Date: Sun, 19 Feb 2012 20:41:16 -0000
\r
67 When a message is replied to, it should be tagged `replied'.
\r
69 test/emacs | 5 +++++
\r
70 1 files changed, 5 insertions(+), 0 deletions(-)
\r
72 diff --git a/test/emacs b/test/emacs
\r
73 index 0f4f42b..b0fb760 100755
\r
76 @@ -314,6 +314,11 @@ Reply to a message via Emacs with fake SMTP
\r
78 test_expect_equal_file OUTPUT EXPECTED
\r
80 +test_begin_subtest "notmuch-search: when reply is sent, the parent message should be tagged 'replied'"
\r
81 +# depends on subtest "notmuch-search: replying to a thread (sending)"
\r
82 +output=$(notmuch search 'tag:replied' | notmuch_search_sanitize)
\r
83 +test_expect_equal "$output" "thread:XXX 2000-01-01 [1/2] Notmuch Test Suite; Testing message sent via SMTP (inbox replied)"
\r
85 test_begin_subtest "Quote MML tags in reply"
\r
86 message_id='test-emacs-mml-quoting@message.id'
\r
87 add_message [id]="$message_id" \
\r