Re: [PATCH] create .mailmap file (for git shortlog/blame)
[notmuch-archives.git] / e3 / 6dee9886a4ef24cd8efc2c5d9373da51291503
1 Return-Path: <markwalters1009@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 arlo.cworth.org (Postfix) with ESMTP id E09CD6DE1B80\r
6  for <notmuch@notmuchmail.org>; Sat,  7 Nov 2015 03:05:08 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.203\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.203 tagged_above=-999 required=5 tests=[AWL=0.073, \r
12  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13  FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,\r
14  RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001]\r
15  autolearn=disabled\r
16 Received: from arlo.cworth.org ([127.0.0.1])\r
17  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
18  with ESMTP id AliDpH9aCRzH for <notmuch@notmuchmail.org>;\r
19  Sat,  7 Nov 2015 03:05:06 -0800 (PST)\r
20 Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com\r
21  [74.125.82.52]) by arlo.cworth.org (Postfix) with ESMTPS id 4124C6DE1638 for\r
22  <notmuch@notmuchmail.org>; Sat,  7 Nov 2015 03:04:57 -0800 (PST)\r
23 Received: by wmec201 with SMTP id c201so37048241wme.0\r
24  for <notmuch@notmuchmail.org>; Sat, 07 Nov 2015 03:04:55 -0800 (PST)\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:in-reply-to:references;\r
27  bh=G9JYWo5r7rCTdCKsEIOIOmy0A2CoNcDIhPyZgZhDoVs=;\r
28  b=L32oO9Cw3z6IGdLoJD4xW+xd24tRQ8ln/pdBDnejSSA83hwSpSoNsfP/iKzq+dFkhb\r
29  jGadxqIsrK4qTWlz2yzz7AISm7k2Pam/jehUwI3BlQfXXpWVd7tNLIUlgN/ShK9Ignoq\r
30  PCy4x3Pg0RroAYUR0yQvlzEZni/IyCby93vC/PKxGh4YDM7mFbGzbE84zvA3ZwHSZMIx\r
31  57CwQNeWB5k7YUmtQh2UzCPFMySttWzPMG8UDkrpz8YmMDQYtvwdklQZ1GgAQDb7F29m\r
32  ow8AlDrkhpvfD8l9AW7JSNryb8BDzgGf1kU5cDvK2NGM0yXFeXbVS+EPKqyueDqyZ1lp\r
33  VqzA==\r
34 X-Received: by 10.28.19.198 with SMTP id 189mr15525345wmt.103.1446894295641;\r
35  Sat, 07 Nov 2015 03:04:55 -0800 (PST)\r
36 Received: from localhost (5751dfa2.skybroadband.com. [87.81.223.162])\r
37  by smtp.gmail.com with ESMTPSA id os9sm4560963wjc.26.2015.11.07.03.04.54\r
38  (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
39  Sat, 07 Nov 2015 03:04:54 -0800 (PST)\r
40 From: Mark Walters <markwalters1009@gmail.com>\r
41 To: notmuch@notmuchmail.org\r
42 Subject: [PATCH v4 7/7] test: fix the tests for the new reply code\r
43 Date: Sat,  7 Nov 2015 11:04:36 +0000\r
44 Message-Id: <1446894276-7814-8-git-send-email-markwalters1009@gmail.com>\r
45 X-Mailer: git-send-email 2.1.4\r
46 In-Reply-To: <1446894276-7814-1-git-send-email-markwalters1009@gmail.com>\r
47 References: <1446894276-7814-1-git-send-email-markwalters1009@gmail.com>\r
48 X-BeenThere: notmuch@notmuchmail.org\r
49 X-Mailman-Version: 2.1.20\r
50 Precedence: list\r
51 List-Id: "Use and development of the notmuch mail system."\r
52  <notmuch.notmuchmail.org>\r
53 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
54  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
56 List-Post: <mailto:notmuch@notmuchmail.org>\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
58 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
59  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
60 X-List-Received-Date: Sat, 07 Nov 2015 11:05:09 -0000\r
61 \r
62 This sets the part-insertion code to never insert part headers (as we\r
63 didn't before).\r
64 \r
65 With that change there is only one failing test: this test has a text\r
66 part (an email message) listed as application/octet-stream. Notmuch\r
67 show displays this part, but the reply code omitted it as it had type\r
68 application/octet-stream. The new code correctly includes it. Thus\r
69 update the expected output to match.\r
70 ---\r
71  test/T310-emacs.sh | 32 ++++++++++++++++++++++++++++++++\r
72  test/test-lib.el   |  4 ++++\r
73  2 files changed, 36 insertions(+)\r
74 \r
75 diff --git a/test/T310-emacs.sh b/test/T310-emacs.sh\r
76 index 61bc369..22ca71c 100755\r
77 --- a/test/T310-emacs.sh\r
78 +++ b/test/T310-emacs.sh\r
79 @@ -473,6 +473,38 @@ Alex Botero-Lowry <alex.boterolowry@gmail.com> writes:\r
80  > and http://mail-index.netbsd.org/pkgsrc-bugs/2006/06/07/msg016808.htmlspecifically\r
81  > uses 64 as the\r
82  > buffer size.\r
83 +> From e3bc4bbd7b9d0d086816ab5f8f2d6ffea1dd3ea4 Mon Sep 17 00:00:00 2001\r
84 +> From: Alexander Botero-Lowry <alex.boterolowry@gmail.com>\r
85 +> Date: Tue, 17 Nov 2009 11:30:39 -0800\r
86 +> Subject: [PATCH] Deal with situation where sysconf(_SC_GETPW_R_SIZE_MAX) returns -1\r
87 +>\r
88 +> ---\r
89 +>  notmuch-config.c |    2 ++\r
90 +>  1 files changed, 2 insertions(+), 0 deletions(-)\r
91 +>\r
92 +> diff --git a/notmuch-config.c b/notmuch-config.c\r
93 +> index 248149c..e7220d8 100644\r
94 +> --- a/notmuch-config.c\r
95 +> +++ b/notmuch-config.c\r
96 +> @@ -77,6 +77,7 @@ static char *\r
97 +>  get_name_from_passwd_file (void *ctx)\r
98 +>  {\r
99 +>      long pw_buf_size = sysconf(_SC_GETPW_R_SIZE_MAX);\r
100 +> +    if (pw_buf_size == -1) pw_buf_size = 64;\r
101 +>      char *pw_buf = talloc_zero_size (ctx, pw_buf_size);\r
102 +>      struct passwd passwd, *ignored;\r
103 +>      char *name;\r
104 +> @@ -101,6 +102,7 @@ static char *\r
105 +>  get_username_from_passwd_file (void *ctx)\r
106 +>  {\r
107 +>      long pw_buf_size = sysconf(_SC_GETPW_R_SIZE_MAX);\r
108 +> +    if (pw_buf_size == -1) pw_buf_size = 64;\r
109 +>      char *pw_buf = talloc_zero_size (ctx, pw_buf_size);\r
110 +>      struct passwd passwd, *ignored;\r
111 +>      char *name;\r
112 +> -- \r
113 +> 1.6.5.2\r
114 +>\r
115  > _______________________________________________\r
116  > notmuch mailing list\r
117  > notmuch@notmuchmail.org\r
118 diff --git a/test/test-lib.el b/test/test-lib.el\r
119 index 04c8d63..6e1689a 100644\r
120 --- a/test/test-lib.el\r
121 +++ b/test/test-lib.el\r
122 @@ -184,6 +184,10 @@ (defmacro notmuch-test-progn (&rest body)\r
123  (setq notmuch-tag-deleted-formats\r
124        '((".*" nil)))\r
125  \r
126 +;; For historical reasonse we don't print part headers when replying\r
127 +;; in the tests suite\r
128 +(setq notmuch-mua-reply-insert-header-p-function 'notmuch-show-reply-insert-header-p-never)\r
129 +\r
130  ;; force a common html renderer, to avoid test variations between\r
131  ;; environments\r
132  \r
133 -- \r
134 2.1.4\r
135 \r