Re: [PATCH v2 3/4] test: emacs: new test "notmuch-search: when reply is sent, parent...
authorPieter Praet <pieter@praet.org>
Wed, 22 Feb 2012 18:52:45 +0000 (19:52 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:44:50 +0000 (09:44 -0800)
4d/a21c1ef665abc289c34b3cc49e4984c249931d [new file with mode: 0644]

diff --git a/4d/a21c1ef665abc289c34b3cc49e4984c249931d b/4d/a21c1ef665abc289c34b3cc49e4984c249931d
new file mode 100644 (file)
index 0000000..dde6206
--- /dev/null
@@ -0,0 +1,118 @@
+Return-Path: <pieter@praet.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id ECA7E431FB6\r
+       for <notmuch@notmuchmail.org>; Wed, 22 Feb 2012 10:54:59 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id BxjRIeGqNfCw for <notmuch@notmuchmail.org>;\r
+       Wed, 22 Feb 2012 10:54:59 -0800 (PST)\r
+Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com\r
+ [74.125.82.45])       (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
+ certificate requested)        by olra.theworths.org (Postfix) with ESMTPS id\r
+ 13527431FAE   for <notmuch@notmuchmail.org>; Wed, 22 Feb 2012 10:54:58 -0800\r
+ (PST)\r
+Received: by wgbdt12 with SMTP id dt12so318500wgb.2\r
+       for <notmuch@notmuchmail.org>; Wed, 22 Feb 2012 10:54:58 -0800 (PST)\r
+Received-SPF: pass (google.com: domain of pieter@praet.org designates\r
+       10.180.103.97 as permitted sender) client-ip=10.180.103.97; \r
+Authentication-Results: mr.google.com;\r
+       spf=pass (google.com: domain of pieter@praet.org\r
+       designates 10.180.103.97 as permitted sender)\r
+       smtp.mail=pieter@praet.org\r
+Received: from mr.google.com ([10.180.103.97])\r
+       by 10.180.103.97 with SMTP id fv1mr38037791wib.17.1329936898069\r
+       (num_hops = 1); Wed, 22 Feb 2012 10:54:58 -0800 (PST)\r
+Received: by 10.180.103.97 with SMTP id fv1mr31498115wib.17.1329936897991;\r
+       Wed, 22 Feb 2012 10:54:57 -0800 (PST)\r
+Received: from localhost ([109.131.181.26])\r
+       by mx.google.com with ESMTPS id dr5sm75013043wib.0.2012.02.22.10.54.57\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Wed, 22 Feb 2012 10:54:57 -0800 (PST)\r
+From: Pieter Praet <pieter@praet.org>\r
+To: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>,\r
+       Notmuch Mail <notmuch@notmuchmail.org>\r
+Subject: Re: [PATCH v2 3/4] test: emacs: new test "notmuch-search: when reply\r
+       is sent, parent message should be tagged 'replied'"\r
+In-Reply-To: <87obstlmr7.fsf@gmail.com>\r
+References: <1310313335-4159-1-git-send-email-pieter@praet.org>\r
+       <1329683908-5435-1-git-send-email-pieter@praet.org>\r
+       <1329683908-5435-4-git-send-email-pieter@praet.org>\r
+       <87obstlmr7.fsf@gmail.com>\r
+User-Agent: Notmuch/0.11.1+210~g6afc43e (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-unknown-linux-gnu)\r
+Date: Wed, 22 Feb 2012 19:52:45 +0100\r
+Message-ID: <87hayi8zuq.fsf@praet.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-Gm-Message-State:\r
+ ALoCoQn73FtFCfzOX6quH9/oX1ik/Tfxih4RgTxjNYdtsZ7nqRpfK/ehpDhM9taFaFssFzsdGx6m\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 22 Feb 2012 18:55:00 -0000\r
+\r
+On Mon, 20 Feb 2012 16:20:28 +0400, Dmitry Kurochkin <dmitry.kurochkin@gmail.com> wrote:\r
+> On Sun, 19 Feb 2012 21:38:27 +0100, Pieter Praet <pieter@praet.org> wrote:\r
+> > When a message is replied to, it should be tagged `replied'.\r
+> > ---\r
+> >  test/emacs |    5 +++++\r
+> >  1 files changed, 5 insertions(+), 0 deletions(-)\r
+> > \r
+> > diff --git a/test/emacs b/test/emacs\r
+> > index 0f4f42b..b0fb760 100755\r
+> > --- a/test/emacs\r
+> > +++ b/test/emacs\r
+> > @@ -314,6 +314,11 @@ Reply to a message via Emacs with fake SMTP\r
+> >  EOF\r
+> >  test_expect_equal_file OUTPUT EXPECTED\r
+> >  \r
+> > +test_begin_subtest "notmuch-search: when reply is sent, the parent message should be tagged 'replied'"\r
+> > +# depends on subtest "notmuch-search: replying to a thread (sending)"\r
+> > +output=$(notmuch search 'tag:replied' | notmuch_search_sanitize)\r
+> \r
+> Add subject:"testing message sent via SMTP" to the query to avoid\r
+> potential collisions with other tests.\r
+>\r
+\r
+Good point.\r
+\r
+Depends on the previous test though, which is postponed [1],\r
+so I won't submit a v3 of this for the time being.\r
+\r
+\r
+> Regards,\r
+>   Dmitry\r
+> \r
+> > +test_expect_equal "$output" "thread:XXX   2000-01-01 [1/2] Notmuch Test Suite; Testing message sent via SMTP (inbox replied)"\r
+> > +\r
+> >  test_begin_subtest "Quote MML tags in reply"\r
+> >  message_id='test-emacs-mml-quoting@message.id'\r
+> >  add_message [id]="$message_id" \\r
+> > -- \r
+> > 1.7.8.1\r
+> > \r
+\r
+\r
+Peace\r
+\r
+-- \r
+Pieter\r
+\r
+[1] id:"87k43e8zxb.fsf@praet.org"\r