Re: [PATCH 1/1] emacs: fix notmuch-mua-reply point placement when signature involved
[notmuch-archives.git] / b4 / 5e3b1073ab73670bff2bd2a51a6013d6c26113
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 E1919429E21\r
6         for <notmuch@notmuchmail.org>; Fri, 13 May 2011 01:07:24 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \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 QNh2l9TcCgJA for <notmuch@notmuchmail.org>;\r
16         Fri, 13 May 2011 01:07:23 -0700 (PDT)\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  5177C431FB6    for <notmuch@notmuchmail.org>; Fri, 13 May 2011 01:07:23 -0700\r
21  (PDT)\r
22 Received: by wwi36 with SMTP id 36so2079721wwi.2\r
23         for <notmuch@notmuchmail.org>; Fri, 13 May 2011 01:07:22 -0700 (PDT)\r
24 Received: by 10.227.43.9 with SMTP id u9mr1110469wbe.74.1305274041881;\r
25         Fri, 13 May 2011 01:07:21 -0700 (PDT)\r
26 Received: from localhost (54.209-242-81.adsl-dyn.isp.belgacom.be\r
27         [81.242.209.54])\r
28         by mx.google.com with ESMTPS id ca12sm1216839wbb.19.2011.05.13.01.07.20\r
29         (version=TLSv1/SSLv3 cipher=OTHER);\r
30         Fri, 13 May 2011 01:07:21 -0700 (PDT)\r
31 From: Pieter Praet <pieter@praet.org>\r
32 To: Notmuch Mail <notmuch@notmuchmail.org>\r
33 Subject: [PATCH] test: do folder-based search with a single-term path after\r
34         moving message\r
35 Date: Fri, 13 May 2011 10:06:57 +0200\r
36 Message-Id: <1305274017-19538-1-git-send-email-pieter@praet.org>\r
37 X-Mailer: git-send-email 1.7.4.1\r
38 In-Reply-To: <87fwojhpmx.fsf@servo.factory.finestructure.net>\r
39 References: <87fwojhpmx.fsf@servo.factory.finestructure.net>\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.13\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44         <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Fri, 13 May 2011 08:07:25 -0000\r
53 \r
54 When moving mail to a different folder, there appear to be residual\r
55 incorrect "folder:" terms.\r
56 \r
57 This test exposes an existing bug, so is currently failing.\r
58 \r
59 Signed-off-by: Pieter Praet <pieter@praet.org>\r
60 ---\r
61  test/search-by-folder |    4 ++++\r
62  1 files changed, 4 insertions(+), 0 deletions(-)\r
63 \r
64 diff --git a/test/search-by-folder b/test/search-by-folder\r
65 index 162158c..62767fb 100755\r
66 --- a/test/search-by-folder\r
67 +++ b/test/search-by-folder\r
68 @@ -35,6 +35,10 @@ notmuch new\r
69  output=$(notmuch search folder:bad/news | notmuch_search_sanitize)\r
70  test_expect_equal "$output" ""\r
71  \r
72 +test_begin_subtest "After rename, old single-term path returns nothing"\r
73 +output=$(notmuch search folder:news | notmuch_search_sanitize)\r
74 +test_expect_equal_failure "$output" ""\r
75 +\r
76  test_begin_subtest "After rename, new path returns result"\r
77  output=$(notmuch search folder:bad/olds | notmuch_search_sanitize)\r
78  test_expect_equal "$output" "thread:XXX   2001-01-05 [1/1] Notmuch Test Suite; Bears (inbox unread)"\r
79 -- \r
80 1.7.4.1\r
81 \r