[PATCH 4/4] Update NEWS for user.other_name
[notmuch-archives.git] / 4a / 506cf8d243d10fbb67db94106cde044ca06885
1 Return-Path: <awg@lagos.xvx.ca>\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 3BB34429E26\r
6         for <notmuch@notmuchmail.org>; Mon, 16 Jan 2012 10:13:50 -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\r
12         tests=[RCVD_IN_DNSWL_NONE=-0.0001] 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 b-NUeeLxiv7m for <notmuch@notmuchmail.org>;\r
16         Mon, 16 Jan 2012 10:13:48 -0800 (PST)\r
17 Received: from idcmail-mo1so.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10])\r
18         by olra.theworths.org (Postfix) with ESMTP id DC978431FB6\r
19         for <notmuch@notmuchmail.org>; Mon, 16 Jan 2012 10:13:47 -0800 (PST)\r
20 Received: from pd4ml1so-ssvc.prod.shaw.ca ([10.0.141.141])\r
21         by pd2mo1so-svcs.prod.shaw.ca with ESMTP; 16 Jan 2012 11:13:47 -0700\r
22 X-Cloudmark-SP-Filtered: true\r
23 X-Cloudmark-SP-Result: v=1.1 cv=zu4PKjlF+9DoPrG/TPTQ4CC8dREy1gI1uGhqrRhVwqE=\r
24         c=1 sm=1\r
25         a=bvXRxmw3sC0A:10 a=BLceEmwcHowA:10 a=yQp6g8lIsgqumF79BAsFDg==:17\r
26         a=bz-zy3QpAAAA:8 a=7343-z1_AAAA:8 a=zdyeZAWpJ2uQdTp3UlkA:9\r
27         a=8RRnNBo1tgW-nQP7ESsA:7 a=NFWI-YhVVZsA:10 a=GjjSzUO_F3QA:10\r
28         a=0c-eHkXYtrgA:10 a=pIMJlJgVeHwA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117\r
29 Received: from unknown (HELO lagos.xvx.ca) ([96.52.216.56])\r
30         by pd4ml1so-dmz.prod.shaw.ca with ESMTP; 16 Jan 2012 11:13:47 -0700\r
31 Received: by lagos.xvx.ca (Postfix, from userid 1000)\r
32         id 622D88004208; Mon, 16 Jan 2012 11:13:47 -0700 (MST)\r
33 From: Adam Wolfe Gordon <awg+notmuch@xvx.ca>\r
34 To: notmuch@notmuchmail.org\r
35 Subject: [PATCH v2 1/4] test: Add broken test for the new JSON reply format.\r
36 Date: Mon, 16 Jan 2012 11:13:20 -0700\r
37 Message-Id: <1326737603-21166-2-git-send-email-awg+notmuch@xvx.ca>\r
38 X-Mailer: git-send-email 1.7.5.4\r
39 In-Reply-To: <1326737603-21166-1-git-send-email-awg+notmuch@xvx.ca>\r
40 References: <1326737603-21166-1-git-send-email-awg+notmuch@xvx.ca>\r
41 X-BeenThere: notmuch@notmuchmail.org\r
42 X-Mailman-Version: 2.1.13\r
43 Precedence: list\r
44 List-Id: "Use and development of the notmuch mail system."\r
45         <notmuch.notmuchmail.org>\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
49 List-Post: <mailto:notmuch@notmuchmail.org>\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
53 X-List-Received-Date: Mon, 16 Jan 2012 18:13:50 -0000\r
54 \r
55 ---\r
56  test/multipart |    7 +++++++\r
57  1 files changed, 7 insertions(+), 0 deletions(-)\r
58 \r
59 diff --git a/test/multipart b/test/multipart\r
60 index f83526b..f5ebf04 100755\r
61 --- a/test/multipart\r
62 +++ b/test/multipart\r
63 @@ -589,6 +589,13 @@ Non-text part: text/html\r
64  EOF\r
65  test_expect_equal_file OUTPUT EXPECTED\r
66  \r
67 +test_begin_subtest "'notmuch reply' to a multipart message with json format"\r
68 +notmuch reply --format=json 'id:87liy5ap00.fsf@yoom.home.cworth.org' >OUTPUT\r
69 +cat <<EOF >EXPECTED\r
70 +[{ "reply": { "headers": { "from": "Notmuch Test Suite <test_suite@notmuchmail.org>", "to": "Carl Worth <cworth@cworth.org>, cworth@cworth.org", "subject": "Re: Multipart message", "in-reply-to": "<87liy5ap00.fsf@yoom.home.cworth.org>", "references": " <87liy5ap00.fsf@yoom.home.cworth.org>"} }, "original": { "headers": { "from": "Carl Worth <cworth@cworth.org>", "to": "cworth@cworth.org", "cc": "", "subject": "Multipart message", "date": "Fri, 05 Jan 2001 15:43:57 +0000", "in-reply-to": "", "references": "" }, "body": [ { "content-type": "text/html", "content": "<p>This is an embedded message, with a multipart/alternative part.</p>\n"}, { "content-type": "text/plain", "content": "This is an embedded message, with a multipart/alternative part.\n"}, { "content-type": "text/plain", "content": "And this message is signed.\n\n-Carl\n"}, {} ] } }, {} ]\r
71 +EOF\r
72 +test_expect_equal_file OUTPUT EXPECTED\r
73 +\r
74  test_begin_subtest "'notmuch show --part' does not corrupt a part with CRLF pair"\r
75  notmuch show --format=raw --part=3 id:base64-part-with-crlf > crlf.out\r
76  echo -n -e "\xEF\x0D\x0A" > crlf.expected\r
77 -- \r
78 1.7.5.4\r
79 \r