--- /dev/null
+Return-Path: <prvs=395835c76=jrosenthal@jhu.edu>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id DA1CE431FAE\r
+ for <notmuch@notmuchmail.org>; Fri, 21 Nov 2014 07:58:05 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -1.026\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-1.026 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=1.274] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id ZUWOh7FnPnKf for <notmuch@notmuchmail.org>;\r
+ Fri, 21 Nov 2014 07:58:01 -0800 (PST)\r
+Received: from smtpauth.johnshopkins.edu (unknown [162.129.8.150])\r
+ (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 659E9431FC0\r
+ for <notmuch@notmuchmail.org>; Fri, 21 Nov 2014 07:57:56 -0800 (PST)\r
+X-IronPort-AV: E=Sophos;i="5.07,432,1413259200"; d="scan'208";a="120034251"\r
+Received: from guppy.hwcampus.jhu.edu (HELO localhost) ([10.161.32.234])\r
+ by IPEB2.johnshopkins.edu with ESMTP/TLS/AES128-SHA;\r
+ 21 Nov 2014 10:57:54 -0500\r
+From: Jesse Rosenthal <jrosenthal@jhu.edu>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v2 2/2] test: Add test for correct naming of author.\r
+Date: Fri, 21 Nov 2014 10:57:42 -0500\r
+Message-Id: <1416585462-24558-3-git-send-email-jrosenthal@jhu.edu>\r
+X-Mailer: git-send-email 2.1.3\r
+In-Reply-To: <1416585462-24558-1-git-send-email-jrosenthal@jhu.edu>\r
+References: <1416585462-24558-1-git-send-email-jrosenthal@jhu.edu>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 21 Nov 2014 15:58:06 -0000\r
+\r
+This is a new test file, since handling of unusual email addresses\r
+doesn't seem to fit well in any of our existing tests.\r
+\r
+Signed-off-by: Jesse Rosenthal <jrosenthal@jhu.edu>\r
+---\r
+ test/T205-author-naming.sh | 12 ++++++++++++\r
+ 1 file changed, 12 insertions(+)\r
+ create mode 100755 test/T205-author-naming.sh\r
+\r
+diff --git a/test/T205-author-naming.sh b/test/T205-author-naming.sh\r
+new file mode 100755\r
+index 0000000..cb678ae\r
+--- /dev/null\r
++++ b/test/T205-author-naming.sh\r
+@@ -0,0 +1,12 @@\r
++#!/usr/bin/env bash\r
++test_description="naming of authors with unusual addresses"\r
++. ./test-lib.sh\r
++\r
++test_begin_subtest "Add author with empty quoted real name"\r
++add_message '[subject]="author-naming: Initial thread subject"' \\r
++ '[date]="Fri, 05 Jan 2001 15:43:56 -0000"' \\r
++ '[from]="\"\" <address@example.com>"'\r
++output=$(notmuch search --sort=oldest-first author-naming and tag:inbox | notmuch_search_sanitize)\r
++test_expect_equal "$output" "thread:XXX 2001-01-05 [1/1] address@example.com; author-naming: Initial thread subject (inbox unread)"\r
++\r
++test_done\r
+-- \r
+2.1.3\r
+\r