Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / c9 / 9d2d2a8fa7ff93fa1cc157fe642ac8748232bc
1 Return-Path: <prvs=396941042=jrosenthal@jhu.edu>\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 19506431FBF\r
6         for <notmuch@notmuchmail.org>; Sat, 22 Nov 2014 05:17:04 -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 Cm31Qriht1Wz for <notmuch@notmuchmail.org>;\r
16         Sat, 22 Nov 2014 05:16:56 -0800 (PST)\r
17 Received: from smtpauth.johnshopkins.edu (smtpauth.johnshopkins.edu\r
18         [128.220.229.167]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 724D8431FBC\r
21         for <notmuch@notmuchmail.org>; Sat, 22 Nov 2014 05:16:56 -0800 (PST)\r
22 X-IronPort-AV: E=Sophos;i="5.07,437,1413259200"; d="scan'208";a="497023046"\r
23 Received: from c-69-137-43-192.hsd1.md.comcast.net (HELO localhost)\r
24         ([69.137.43.192])\r
25         by IPMTW3.johnshopkins.edu with ESMTP/TLS/AES128-SHA;\r
26         22 Nov 2014 08:16:54 -0500\r
27 From: Jesse Rosenthal <jrosenthal@jhu.edu>\r
28 To: notmuch@notmuchmail.org\r
29 Subject: [PATCH v3 1/2] test: Add known-broken test for empty author name\r
30 Date: Sat, 22 Nov 2014 08:17:15 -0500\r
31 Message-Id: <1416662236-26556-2-git-send-email-jrosenthal@jhu.edu>\r
32 X-Mailer: git-send-email 2.1.3\r
33 In-Reply-To: <1416662236-26556-1-git-send-email-jrosenthal@jhu.edu>\r
34 References: <1416662236-26556-1-git-send-email-jrosenthal@jhu.edu>\r
35 X-BeenThere: notmuch@notmuchmail.org\r
36 X-Mailman-Version: 2.1.13\r
37 Precedence: list\r
38 List-Id: "Use and development of the notmuch mail system."\r
39         <notmuch.notmuchmail.org>\r
40 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
41         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
42 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
43 List-Post: <mailto:notmuch@notmuchmail.org>\r
44 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
45 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
47 X-List-Received-Date: Sat, 22 Nov 2014 13:17:04 -0000\r
48 \r
49 We test for whether a quoted empty email address\r
50 \r
51     "" <address@example.com>\r
52 \r
53 will show up as the address, instead of the empty string. This is\r
54 marked as known-broken, since the current behavior is to use the empty\r
55 string.\r
56 \r
57 This is a new test file, since handling of unusual email addresses\r
58 doesn't seem to fit well in any of our existing tests.\r
59 \r
60 Signed-off-by: Jesse Rosenthal <jrosenthal@jhu.edu>\r
61 ---\r
62  test/T205-author-naming.sh | 13 +++++++++++++\r
63  1 file changed, 13 insertions(+)\r
64  create mode 100755 test/T205-author-naming.sh\r
65 \r
66 diff --git a/test/T205-author-naming.sh b/test/T205-author-naming.sh\r
67 new file mode 100755\r
68 index 0000000..18819dd\r
69 --- /dev/null\r
70 +++ b/test/T205-author-naming.sh\r
71 @@ -0,0 +1,13 @@\r
72 +#!/usr/bin/env bash\r
73 +test_description="naming of authors with unusual addresses"\r
74 +. ./test-lib.sh\r
75 +\r
76 +test_begin_subtest "Add author with empty quoted real name"\r
77 +test_subtest_known_broken\r
78 +add_message '[subject]="author-naming: Initial thread subject"' \\r
79 +           '[date]="Fri, 05 Jan 2001 15:43:56 -0000"' \\r
80 +           '[from]="\"\" <address@example.com>"'\r
81 +output=$(notmuch search --sort=oldest-first author-naming and tag:inbox | notmuch_search_sanitize)\r
82 +test_expect_equal "$output" "thread:XXX   2001-01-05 [1/1] address@example.com; author-naming: Initial thread subject (inbox unread)"\r
83 +\r
84 +test_done\r
85 -- \r
86 2.1.3\r
87 \r