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 0E87B429E35 for ; Sun, 10 Jul 2011 08:56:27 -0700 (PDT) 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 ts0MGvI3tkg5 for ; Sun, 10 Jul 2011 08:56:26 -0700 (PDT) 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 745A4429E3E for ; Sun, 10 Jul 2011 08:56:26 -0700 (PDT) Received: by mail-ww0-f45.google.com with SMTP id 40so1521868wwj.2 for ; Sun, 10 Jul 2011 08:56:26 -0700 (PDT) Received: by 10.216.235.207 with SMTP id u57mr3537375weq.42.1310313386132; Sun, 10 Jul 2011 08:56:26 -0700 (PDT) Received: from localhost ([109.131.150.231]) by mx.google.com with ESMTPS id 53sm1407091wel.31.2011.07.10.08.56.24 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 10 Jul 2011 08:56:25 -0700 (PDT) From: Pieter Praet To: Notmuch Mail Subject: [PATCH 3/6] test: emacs: add test to verify that the message being replied to is tagged as such Date: Sun, 10 Jul 2011 17:55:32 +0200 Message-Id: <1310313335-4159-4-git-send-email-pieter@praet.org> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1310313335-4159-1-git-send-email-pieter@praet.org> References: <1310313335-4159-1-git-send-email-pieter@praet.org> 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: Sun, 10 Jul 2011 15:56:27 -0000 When a message is replied to, it should be tagged `replied'. Signed-off-by: Pieter Praet --- test/emacs | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/test/emacs b/test/emacs index f277653..6479c4e 100755 --- a/test/emacs +++ b/test/emacs @@ -300,6 +300,10 @@ Reply to a message via Emacs with fake SMTP EOF test_expect_equal_file OUTPUT EXPECTED +test_begin_subtest "Verify that 'replied' tag is added to reply's parent message." +output=$(notmuch search 'tag:replied' | notmuch_search_sanitize) +test_expect_equal "$output" "thread:XXX 2000-01-01 [1/2] Notmuch Test Suite; Testing message sent via SMTP (inbox replied)" + test_begin_subtest "Save attachment from within emacs using notmuch-show-save-attachments" # save as archive to test that Emacs does not re-compress .gz test_emacs '(let ((standard-input "\"attachment1.gz\"")) -- 1.7.5.4