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 B13DC431FB6 for ; Mon, 20 Feb 2012 04:21:56 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, 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 Bccarj5mb6D2 for ; Mon, 20 Feb 2012 04:21:53 -0800 (PST) Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id CCD71431FAF for ; Mon, 20 Feb 2012 04:21:52 -0800 (PST) Received: by bkcit16 with SMTP id it16so5123735bkc.26 for ; Mon, 20 Feb 2012 04:21:51 -0800 (PST) Received-SPF: pass (google.com: domain of dmitry.kurochkin@gmail.com designates 10.204.9.198 as permitted sender) client-ip=10.204.9.198; Authentication-Results: mr.google.com; spf=pass (google.com: domain of dmitry.kurochkin@gmail.com designates 10.204.9.198 as permitted sender) smtp.mail=dmitry.kurochkin@gmail.com; dkim=pass header.i=dmitry.kurochkin@gmail.com Received: from mr.google.com ([10.204.9.198]) by 10.204.9.198 with SMTP id m6mr10731454bkm.74.1329740511291 (num_hops = 1); Mon, 20 Feb 2012 04:21:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:in-reply-to:references:user-agent:date:message-id :mime-version:content-type; bh=e3CpoOlbI9sq50+mJhvd7JJXrFELW+I2qBz4U37rFcg=; b=VIwg3fptHVlF9QcQ2HjLxbXm4B6ZTcOHkrwYVa8Ecm9J8er6NrocQHUZVY03jA3tJJ 9WPRHzQ07RALwupYtwp4Z3HwVc0bM26B+d59mwizuLnYST+5mM9XtEAYVSILlg2JjOnO 8gRrjHkC0BKQQ269aRRoPJwwdScqvf9HJs/fM= Received: by 10.204.9.198 with SMTP id m6mr8635294bkm.74.1329740511219; Mon, 20 Feb 2012 04:21:51 -0800 (PST) Received: from localhost ([91.144.186.21]) by mx.google.com with ESMTPS id ey8sm38936933bkb.1.2012.02.20.04.21.50 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 20 Feb 2012 04:21:50 -0800 (PST) From: Dmitry Kurochkin To: Pieter Praet , 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: <1329683908-5435-4-git-send-email-pieter@praet.org> 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> User-Agent: Notmuch/0.11.1+188~ga5674c2 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Mon, 20 Feb 2012 16:20:28 +0400 Message-ID: <87obstlmr7.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Mon, 20 Feb 2012 12:21:56 -0000 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. 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 >