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