Re: [PATCH v4 09/16] index encrypted parts when asked.
[notmuch-archives.git] / e1 / 8f38d9cdb82ca20830df26b88da92b2500a27e
1 Return-Path: <novalazy@gmail.com>\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 9A195431FC3\r
6         for <notmuch@notmuchmail.org>; Sat, 20 Jul 2013 17:08:37 -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.099\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.099 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id voqrf1hFLqkb for <notmuch@notmuchmail.org>;\r
17         Sat, 20 Jul 2013 17:08:31 -0700 (PDT)\r
18 Received: from mail-pd0-f172.google.com (mail-pd0-f172.google.com\r
19         [209.85.192.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id BFD5E431FB6\r
22         for <notmuch@notmuchmail.org>; Sat, 20 Jul 2013 17:08:09 -0700 (PDT)\r
23 Received: by mail-pd0-f172.google.com with SMTP id z10so5523979pdj.3\r
24         for <notmuch@notmuchmail.org>; Sat, 20 Jul 2013 17:08:09 -0700 (PDT)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
26         h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;\r
27         bh=5PqiF2vctRp8mjQVlHh0IOJwiylu+E8z4n8S+rOl7gk=;\r
28         b=RUmJzi4JUG9iUW2t7tzmTQE5Y5hqe5JAmtXkgGdfzXHJ7pq+k60JJdAa70pzrxGJF9\r
29         wvumzqEt/hCj/Dq+wAWb5DV71uanaxtrCEk/kE1UOUCQveC1Z2Ff8KvInfdWk7NHGYh3\r
30         LmroJmHH0RABI5j96DzTv1aoI4CXoHkJtxlql/Gks4A0i/KsYMfUF/4O1s0URmSVRuNR\r
31         loMP00ifq+DTSgiFxqh4Rp8SgpnvLkMXaeOP0Ap2RVnI2T6C4pN+vUqGmG0xOKATnNl8\r
32         3PBaSDUc8hDRJW+k/29pOTV/Vbq3dMpEOhj+o2vUOdzQtE8uinuVUxdlzgNPLaitPQqc\r
33         hqBw==\r
34 X-Received: by 10.66.21.37 with SMTP id s5mr25464790pae.103.1374365289095;\r
35         Sat, 20 Jul 2013 17:08:09 -0700 (PDT)\r
36 Received: from localhost (215.42.233.220.static.exetel.com.au.\r
37         [220.233.42.215])\r
38         by mx.google.com with ESMTPSA id z14sm27407712pbt.0.2013.07.20.17.08.05\r
39         for <multiple recipients>\r
40         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
41         Sat, 20 Jul 2013 17:08:08 -0700 (PDT)\r
42 From: Peter Wang <novalazy@gmail.com>\r
43 To: notmuch@notmuchmail.org\r
44 Subject: [PATCH 3/3] test: test insert --must-index\r
45 Date: Sun, 21 Jul 2013 10:07:34 +1000\r
46 Message-Id: <1374365254-13227-3-git-send-email-novalazy@gmail.com>\r
47 X-Mailer: git-send-email 1.7.12.1\r
48 In-Reply-To: <1374365254-13227-1-git-send-email-novalazy@gmail.com>\r
49 References: <1374365254-13227-1-git-send-email-novalazy@gmail.com>\r
50 X-BeenThere: notmuch@notmuchmail.org\r
51 X-Mailman-Version: 2.1.13\r
52 Precedence: list\r
53 List-Id: "Use and development of the notmuch mail system."\r
54         <notmuch.notmuchmail.org>\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
58 List-Post: <mailto:notmuch@notmuchmail.org>\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
62 X-List-Received-Date: Sun, 21 Jul 2013 00:08:37 -0000\r
63 \r
64 Test the new insert --must-index option.\r
65 ---\r
66  test/insert | 3 +++\r
67  1 file changed, 3 insertions(+)\r
68 \r
69 diff --git a/test/insert b/test/insert\r
70 index 021edb6..938753e 100755\r
71 --- a/test/insert\r
72 +++ b/test/insert\r
73 @@ -26,6 +26,9 @@ test_expect_code 1 "Insert zero-length file" \\r
74  test_expect_code 0 "Insert non-message" \\r
75      "echo bad_message | notmuch insert"\r
76  \r
77 +test_expect_code 2 "Insert non-message, --must-index" \\r
78 +    "echo bad_message | notmuch insert --must-index"\r
79 +\r
80  test_begin_subtest "Database empty so far"\r
81  test_expect_equal "0" "`notmuch count --output=messages '*'`"\r
82  \r
83 -- \r
84 1.7.12.1\r
85 \r