[PATCH] configure: add --without-api-docs option
[notmuch-archives.git] / e4 / 6622df42d8ee3113d2076627f502b270759612
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 B5C7C431FC3\r
6         for <notmuch@notmuchmail.org>; Sat, 22 Jun 2013 21:25:39 -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.799\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.799 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_LOW=-0.7] 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 YgEmQK6O63gD for <notmuch@notmuchmail.org>;\r
17         Sat, 22 Jun 2013 21:25:33 -0700 (PDT)\r
18 Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com\r
19         [209.85.160.50]) (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 43EC6429E32\r
22         for <notmuch@notmuchmail.org>; Sat, 22 Jun 2013 21:24:43 -0700 (PDT)\r
23 Received: by mail-pb0-f50.google.com with SMTP id wz7so9575507pbc.37\r
24         for <notmuch@notmuchmail.org>; Sat, 22 Jun 2013 21:24:42 -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=D7pXpe8OHnu2jofJFo6k5Qevrt9ddgvDcTwceFiZkUE=;\r
28         b=Mt7T3Cvp647Go2LTD+dHODlcYTx2rzbgfcMrkLBgwbDRJFYUFRcZyDYJaGR8g9MmSq\r
29         a5/CyVUwd57irGgSyj1yjrbYtYlYxzliigJM791NZ1CRn0hfFvR41c6CZol3KrtzelBn\r
30         cIiEn+ep4r6vZ+nu4frE+4CMLqLhruFE8AehFkqjkdCB7kqJHedphjJMFyMrPsPrL3wv\r
31         SRvKI8BCOBWmxHIh3CI1xXXuPgsdKmOMxutBrHvJ+u495vuw4O/3FHChSFCoNbCvloCq\r
32         tX0mlVSaId5YdtBi/X6f6uNU9KS11VuHDymOlrlsfT3R6+Nm+OmBLSkueg35UKddMhv0\r
33         oySQ==\r
34 X-Received: by 10.68.101.34 with SMTP id fd2mr18816399pbb.137.1371961482546;\r
35         Sat, 22 Jun 2013 21:24:42 -0700 (PDT)\r
36 Received: from localhost (215.42.233.220.static.exetel.com.au.\r
37         [220.233.42.215]) by mx.google.com with ESMTPSA id\r
38         o10sm11824455pbq.39.2013.06.22.21.24.40 for <multiple recipients>\r
39         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
40         Sat, 22 Jun 2013 21:24:41 -0700 (PDT)\r
41 From: Peter Wang <novalazy@gmail.com>\r
42 To: notmuch@notmuchmail.org\r
43 Subject: [PATCH v7 09/12] test: test insert --folder option\r
44 Date: Sun, 23 Jun 2013 14:24:02 +1000\r
45 Message-Id: <1371961445-15182-10-git-send-email-novalazy@gmail.com>\r
46 X-Mailer: git-send-email 1.7.12.1\r
47 In-Reply-To: <1371961445-15182-1-git-send-email-novalazy@gmail.com>\r
48 References: <1371961445-15182-1-git-send-email-novalazy@gmail.com>\r
49 X-BeenThere: notmuch@notmuchmail.org\r
50 X-Mailman-Version: 2.1.13\r
51 Precedence: list\r
52 List-Id: "Use and development of the notmuch mail system."\r
53         <notmuch.notmuchmail.org>\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
55         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
57 List-Post: <mailto:notmuch@notmuchmail.org>\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
60         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
61 X-List-Received-Date: Sun, 23 Jun 2013 04:25:39 -0000\r
62 \r
63 Add tests for notmuch insert --folder option.\r
64 ---\r
65  test/insert | 17 +++++++++++++++++\r
66  1 file changed, 17 insertions(+)\r
67 \r
68 diff --git a/test/insert b/test/insert\r
69 index b432a74..f573c76 100755\r
70 --- a/test/insert\r
71 +++ b/test/insert\r
72 @@ -77,4 +77,21 @@ notmuch insert +custom -unread < "$gen_msg_filename"\r
73  output=$(notmuch count tag:custom NOT tag:unread)\r
74  test_expect_equal "$output" "1"\r
75  \r
76 +test_begin_subtest "Insert message into folder"\r
77 +gen_insert_msg\r
78 +notmuch insert --folder=Drafts < "$gen_msg_filename"\r
79 +output=$(notmuch search --output=files folder:Drafts)\r
80 +dirname=$(dirname "$output")\r
81 +test_expect_equal "$dirname" "$MAIL_DIR/Drafts/cur"\r
82 +\r
83 +test_begin_subtest "Insert message into folder, add/remove tags"\r
84 +gen_insert_msg\r
85 +notmuch insert --folder=Drafts +draft -unread < "$gen_msg_filename"\r
86 +output=$(notmuch count folder:Drafts tag:draft NOT tag:unread)\r
87 +test_expect_equal "$output" "1"\r
88 +\r
89 +gen_insert_msg\r
90 +test_expect_code 1 "Insert message into non-existent folder" \\r
91 +    "notmuch insert --folder=nonesuch < $gen_msg_filename"\r
92 +\r
93  test_done\r
94 -- \r
95 1.7.12.1\r
96 \r