Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / f1 / 4790c900636b129d97b2933c091e29cc12b240
1 Return-Path: <prvs=395835c76=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 DA1CE431FAE\r
6         for <notmuch@notmuchmail.org>; Fri, 21 Nov 2014 07:58:05 -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: -1.026\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.026 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=1.274] 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 ZUWOh7FnPnKf for <notmuch@notmuchmail.org>;\r
16         Fri, 21 Nov 2014 07:58:01 -0800 (PST)\r
17 Received: from smtpauth.johnshopkins.edu (unknown [162.129.8.150])\r
18         (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 659E9431FC0\r
21         for <notmuch@notmuchmail.org>; Fri, 21 Nov 2014 07:57:56 -0800 (PST)\r
22 X-IronPort-AV: E=Sophos;i="5.07,432,1413259200"; d="scan'208";a="120034251"\r
23 Received: from guppy.hwcampus.jhu.edu (HELO localhost) ([10.161.32.234])\r
24         by IPEB2.johnshopkins.edu with ESMTP/TLS/AES128-SHA;\r
25         21 Nov 2014 10:57:54 -0500\r
26 From: Jesse Rosenthal <jrosenthal@jhu.edu>\r
27 To: notmuch@notmuchmail.org\r
28 Subject: [PATCH v2 2/2] test: Add test for correct naming of author.\r
29 Date: Fri, 21 Nov 2014 10:57:42 -0500\r
30 Message-Id: <1416585462-24558-3-git-send-email-jrosenthal@jhu.edu>\r
31 X-Mailer: git-send-email 2.1.3\r
32 In-Reply-To: <1416585462-24558-1-git-send-email-jrosenthal@jhu.edu>\r
33 References: <1416585462-24558-1-git-send-email-jrosenthal@jhu.edu>\r
34 X-BeenThere: notmuch@notmuchmail.org\r
35 X-Mailman-Version: 2.1.13\r
36 Precedence: list\r
37 List-Id: "Use and development of the notmuch mail system."\r
38         <notmuch.notmuchmail.org>\r
39 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
40         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
41 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
42 List-Post: <mailto:notmuch@notmuchmail.org>\r
43 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
44 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
45         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
46 X-List-Received-Date: Fri, 21 Nov 2014 15:58:06 -0000\r
47 \r
48 This is a new test file, since handling of unusual email addresses\r
49 doesn't seem to fit well in any of our existing tests.\r
50 \r
51 Signed-off-by: Jesse Rosenthal <jrosenthal@jhu.edu>\r
52 ---\r
53  test/T205-author-naming.sh | 12 ++++++++++++\r
54  1 file changed, 12 insertions(+)\r
55  create mode 100755 test/T205-author-naming.sh\r
56 \r
57 diff --git a/test/T205-author-naming.sh b/test/T205-author-naming.sh\r
58 new file mode 100755\r
59 index 0000000..cb678ae\r
60 --- /dev/null\r
61 +++ b/test/T205-author-naming.sh\r
62 @@ -0,0 +1,12 @@\r
63 +#!/usr/bin/env bash\r
64 +test_description="naming of authors with unusual addresses"\r
65 +. ./test-lib.sh\r
66 +\r
67 +test_begin_subtest "Add author with empty quoted real name"\r
68 +add_message '[subject]="author-naming: Initial thread subject"' \\r
69 +           '[date]="Fri, 05 Jan 2001 15:43:56 -0000"' \\r
70 +           '[from]="\"\" <address@example.com>"'\r
71 +output=$(notmuch search --sort=oldest-first author-naming and tag:inbox | notmuch_search_sanitize)\r
72 +test_expect_equal "$output" "thread:XXX   2001-01-05 [1/1] address@example.com; author-naming: Initial thread subject (inbox unread)"\r
73 +\r
74 +test_done\r
75 -- \r
76 2.1.3\r
77 \r