Re: [PATCH 3/5] nmbug-status: Add an nmbug-status(5) man page
[notmuch-archives.git] / 13 / 78c84ccf32f8dec3da86f832a56ccad213df30
1 Return-Path: <m.walters@qmul.ac.uk>\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 0E829431FBD\r
6         for <notmuch@notmuchmail.org>; Sat, 11 May 2013 14:47:55 -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: -1.098\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.098 tagged_above=-999 required=5\r
12         tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001,\r
13         NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_MED=-2.3] 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 vSCDrwyA0f8L for <notmuch@notmuchmail.org>;\r
17         Sat, 11 May 2013 14:47:50 -0700 (PDT)\r
18 Received: from mail2.qmul.ac.uk (mail2.qmul.ac.uk [138.37.6.6])\r
19         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 2B142431FBC\r
22         for <notmuch@notmuchmail.org>; Sat, 11 May 2013 14:47:50 -0700 (PDT)\r
23 Received: from smtp.qmul.ac.uk ([138.37.6.40])\r
24         by mail2.qmul.ac.uk with esmtp (Exim 4.71)\r
25         (envelope-from <m.walters@qmul.ac.uk>)\r
26         id 1UbHdq-0004I8-6W; Sat, 11 May 2013 22:47:48 +0100\r
27 Received: from 93-97-24-31.zone5.bethere.co.uk ([93.97.24.31] helo=localhost)\r
28         by smtp.qmul.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.71)\r
29         (envelope-from <m.walters@qmul.ac.uk>)\r
30         id 1UbHdp-00010m-RW; Sat, 11 May 2013 22:47:46 +0100\r
31 From: Mark Walters <markwalters1009@gmail.com>\r
32 To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org\r
33 Subject: Re: [PATCH 1/2] test: add basic test for notmuch setup\r
34 In-Reply-To:\r
35  <9971e27c7c3fe569765bbca0f21de128ad1e4fac.1367781422.git.jani@nikula.org>\r
36 References:\r
37  <9971e27c7c3fe569765bbca0f21de128ad1e4fac.1367781422.git.jani@nikula.org>\r
38 User-Agent: Notmuch/0.14+255~gff3cc55 (http://notmuchmail.org) Emacs/23.4.1\r
39         (x86_64-pc-linux-gnu)\r
40 Date: Sat, 11 May 2013 22:47:43 +0100\r
41 Message-ID: <87vc6pchog.fsf@qmul.ac.uk>\r
42 MIME-Version: 1.0\r
43 Content-Type: text/plain; charset=us-ascii\r
44 X-Sender-Host-Address: 93.97.24.31\r
45 X-QM-SPAM-Info: Sender has good ham record.  :)\r
46 X-QM-Body-MD5: a9b5831dbb2707f490874dab4c6b65c0 (of first 20000 bytes)\r
47 X-SpamAssassin-Score: -0.4\r
48 X-SpamAssassin-SpamBar: /\r
49 X-SpamAssassin-Report: The QM spam filters have analysed this message to\r
50         determine if it is\r
51         spam. We require at least 5.0 points to mark a message as spam.\r
52         This message scored -0.4 points.\r
53         Summary of the scoring: \r
54         * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\r
55         provider *      (markwalters1009[at]gmail.com)\r
56         * -0.4 AWL AWL: From: address is in the auto white-list\r
57 X-QM-Scan-Virus: ClamAV says the message is clean\r
58 Cc: Tomi Ollila <tomi.ollila@iki.fi>\r
59 X-BeenThere: notmuch@notmuchmail.org\r
60 X-Mailman-Version: 2.1.13\r
61 Precedence: list\r
62 List-Id: "Use and development of the notmuch mail system."\r
63         <notmuch.notmuchmail.org>\r
64 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
65         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
66 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
67 List-Post: <mailto:notmuch@notmuchmail.org>\r
68 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
69 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
70         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
71 X-List-Received-Date: Sat, 11 May 2013 21:47:55 -0000\r
72 \r
73 \r
74 Hi\r
75 \r
76 These patches look good to me. \r
77 \r
78 Best wishes\r
79 \r
80 Mark\r
81 \r
82 On Sun, 05 May 2013, Jani Nikula <jani@nikula.org> wrote:\r
83 > And annotate with test_subtest_known_broken. Hooray.\r
84 > ---\r
85 >  test/notmuch-test |    1 +\r
86 >  test/setup        |   28 ++++++++++++++++++++++++++++\r
87 >  2 files changed, 29 insertions(+)\r
88 >  create mode 100755 test/setup\r
89 >\r
90 > diff --git a/test/notmuch-test b/test/notmuch-test\r
91 > index ca9c3dc..27a144e 100755\r
92 > --- a/test/notmuch-test\r
93 > +++ b/test/notmuch-test\r
94 > @@ -20,6 +20,7 @@ TESTS="\r
95 >    basic\r
96 >    help-test\r
97 >    config\r
98 > +  setup\r
99 >    new\r
100 >    count\r
101 >    search\r
102 > diff --git a/test/setup b/test/setup\r
103 > new file mode 100755\r
104 > index 0000000..8cc5576\r
105 > --- /dev/null\r
106 > +++ b/test/setup\r
107 > @@ -0,0 +1,28 @@\r
108 > +#!/usr/bin/env bash\r
109 > +\r
110 > +test_description='"notmuch setup"'\r
111 > +. ./test-lib.sh\r
112 > +\r
113 > +test_begin_subtest "Create a new config interactively"\r
114 > +test_subtest_known_broken\r
115 > +notmuch --config=new-notmuch-config > /dev/null <<EOF\r
116 > +Test Suite\r
117 > +test.suite@example.com\r
118 > +another.suite@example.com\r
119 > +\r
120 > +/path/to/maildir\r
121 > +foo bar\r
122 > +baz\r
123 > +EOF\r
124 > +output=$(notmuch --config=new-notmuch-config config list)\r
125 > +test_expect_equal "$output" "\\r
126 > +database.path=/path/to/maildir\r
127 > +user.name=Test Suite\r
128 > +user.primary_email=test.suite@example.com\r
129 > +user.other_email=another.suite@example.com;\r
130 > +new.tags=foo;bar;\r
131 > +new.ignore=\r
132 > +search.exclude_tags=baz;\r
133 > +maildir.synchronize_flags=true"\r
134 > +\r
135 > +test_done\r
136 > -- \r
137 > 1.7.10.4\r
138 >\r
139 > _______________________________________________\r
140 > notmuch mailing list\r
141 > notmuch@notmuchmail.org\r
142 > http://notmuchmail.org/mailman/listinfo/notmuch\r