Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 73 / 3f70146125470be3cdd8e100e62685411f10ce
1 Return-Path: <tomi.ollila@iki.fi>\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 0A225431FAF\r
6         for <notmuch@notmuchmail.org>; Wed,  6 Mar 2013 00:34:26 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         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 U8XTb+B4e6pC for <notmuch@notmuchmail.org>;\r
16         Wed,  6 Mar 2013 00:34:25 -0800 (PST)\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
18         by olra.theworths.org (Postfix) with ESMTP id 09D70431FAE\r
19         for <notmuch@notmuchmail.org>; Wed,  6 Mar 2013 00:34:25 -0800 (PST)\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
21         by guru.guru-group.fi (Postfix) with ESMTP id AF8D2100051;\r
22         Wed,  6 Mar 2013 10:34:12 +0200 (EET)\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>\r
24 To: Aaron Ecay <aaronecay@gmail.com>, notmuch@notmuchmail.org\r
25 Subject: Re: [PATCH] test/README: mention the test_expect_equal_json and\r
26         *sanitize* functions\r
27 In-Reply-To: <1362540882-1894-1-git-send-email-aaronecay@gmail.com>\r
28 References: <1362540882-1894-1-git-send-email-aaronecay@gmail.com>\r
29 User-Agent: Notmuch/0.15.2+48~g8dcc33e (http://notmuchmail.org) Emacs/24.2.1\r
30         (x86_64-unknown-linux-gnu)\r
31 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
32         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
33         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
34 Date: Wed, 06 Mar 2013 10:34:12 +0200\r
35 Message-ID: <m2ppzd3p17.fsf@guru.guru-group.fi>\r
36 MIME-Version: 1.0\r
37 Content-Type: text/plain\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.13\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Wed, 06 Mar 2013 08:34:26 -0000\r
51 \r
52 On Wed, Mar 06 2013, Aaron Ecay <aaronecay@gmail.com> wrote:\r
53 \r
54 > also fix one typo\r
55 > ---\r
56 \r
57 LGTM.\r
58 \r
59 Tomi\r
60 \r
61 \r
62 >  test/README | 22 +++++++++++++++++++++-\r
63 >  1 file changed, 21 insertions(+), 1 deletion(-)\r
64 >\r
65 > diff --git a/test/README b/test/README\r
66 > index 81c232d..d12cff2 100644\r
67 > --- a/test/README\r
68 > +++ b/test/README\r
69 > @@ -178,11 +178,18 @@ library for your script to use.\r
70 >  \r
71 >   test_expect_equal_file <file1> <file2>\r
72 >  \r
73 > -   Identical to test_exepect_equal, except that <file1> and <file2>\r
74 > +   Identical to test_expect_equal, except that <file1> and <file2>\r
75 >     are files instead of strings.  This is a much more robust method to\r
76 >     compare formatted textual information, since it also notices\r
77 >     whitespace and closing newline differences.\r
78 >  \r
79 > + test_expect_equal_json <output> <expected>\r
80 > +\r
81 > +   Identical to test_expect_equal, except that the two strings are\r
82 > +   treated as JSON and canonicalized before equality testing.  This is\r
83 > +   useful to abstract away from whitespace differences in the expected\r
84 > +   output and that generated by running a notmuch command.\r
85 > +\r
86 >   test_debug <script>\r
87 >  \r
88 >     This takes a single argument, <script>, and evaluates it only\r
89 > @@ -253,3 +260,16 @@ variables which are useful in writing tests:\r
90 >      generated script that should be called instead of notmuch to do\r
91 >      the counting.  The notmuch_counter_value() function prints the\r
92 >      current counter value.\r
93 > +\r
94 > +There are also functions which remove various environment-dependent\r
95 > +values from notmuch output; these are useful to ensure that test\r
96 > +results remain consistent across different machines.\r
97 > +\r
98 > + notmuch_search_sanitize\r
99 > + notmuch_show_sanitize\r
100 > + notmuch_show_sanitize_all\r
101 > + notmuch_json_show_sanitize\r
102 > +\r
103 > +   All these functions should receive the text to be sanitized as the\r
104 > +   input of a pipe, e.g.\r
105 > +   output=`notmuch search "..." | notmuch_search_sanitize`\r
106 > -- \r
107 > 1.8.1.5\r
108 >\r
109 > _______________________________________________\r
110 > notmuch mailing list\r
111 > notmuch@notmuchmail.org\r
112 > http://notmuchmail.org/mailman/listinfo/notmuch\r