Re: [PATCH 2/3 v2] test: Add tests for `notmuch-show-clean-address'.
authorDavid Edmondson <dme@dme.org>
Tue, 10 Jan 2012 11:17:16 +0000 (11:17 +0000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:41:51 +0000 (09:41 -0800)
e4/af12b8830c91a6cfe7fb887dc782b3e2f8fdb4 [new file with mode: 0644]

diff --git a/e4/af12b8830c91a6cfe7fb887dc782b3e2f8fdb4 b/e4/af12b8830c91a6cfe7fb887dc782b3e2f8fdb4
new file mode 100644 (file)
index 0000000..9b3874d
--- /dev/null
@@ -0,0 +1,103 @@
+Return-Path: <dme@dme.org>\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 74C1D429E21\r
+       for <notmuch@notmuchmail.org>; Tue, 10 Jan 2012 03:17:26 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 V8fox4GC5fJG for <notmuch@notmuchmail.org>;\r
+       Tue, 10 Jan 2012 03:17:24 -0800 (PST)\r
+Received: from mail-we0-f181.google.com (mail-we0-f181.google.com\r
+       [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 5EE8A431FD0\r
+       for <notmuch@notmuchmail.org>; Tue, 10 Jan 2012 03:17:24 -0800 (PST)\r
+Received: by werm12 with SMTP id m12so4079690wer.26\r
+       for <notmuch@notmuchmail.org>; Tue, 10 Jan 2012 03:17:23 -0800 (PST)\r
+Received: by 10.216.133.74 with SMTP id p52mr603091wei.39.1326194243193;\r
+       Tue, 10 Jan 2012 03:17:23 -0800 (PST)\r
+Received: from hotblack-desiato.hh.sledj.net\r
+       (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25])\r
+       by mx.google.com with ESMTPS id r1sm1061758wia.8.2012.01.10.03.17.21\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Tue, 10 Jan 2012 03:17:22 -0800 (PST)\r
+Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000)\r
+       id ECD129FE69; Tue, 10 Jan 2012 11:17:19 +0000 (GMT)\r
+To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH 2/3 v2] test: Add tests for `notmuch-show-clean-address'.\r
+In-Reply-To: <87wr8zke99.fsf@zancas.localnet>\r
+References: <1324980940-25466-1-git-send-email-dme@dme.org>\r
+       <1325237978-22893-1-git-send-email-dme@dme.org>\r
+       <1325237978-22893-2-git-send-email-dme@dme.org>\r
+       <87wr8zke99.fsf@zancas.localnet>\r
+User-Agent: Notmuch/0.10.2+186~gd0f7804 (http://notmuchmail.org)\r
+       Emacs/24.0.92.1 (x86_64-pc-linux-gnu)\r
+From: David Edmondson <dme@dme.org>\r
+Date: Tue, 10 Jan 2012 11:17:16 +0000\r
+Message-ID: <cunobubolhf.fsf@hotblack-desiato.hh.sledj.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\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: Tue, 10 Jan 2012 11:17:26 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Tue, 10 Jan 2012 07:06:58 -0400, David Bremner <david@tethera.net> wrote:\r
+> On Fri, 30 Dec 2011 09:39:37 +0000, David Edmondson <dme@dme.org> wrote:\r
+> > ---\r
+> >=20\r
+> > Added backslash test. UTF8 round-trip still isn't right.\r
+> >=20\r
+>=20\r
+> Do you mind explaining a bit better in the commit message what the issue\r
+> is here?\r
+\r
+I'm not completely sure.\r
+\r
+The expected output file is supposed to contain some UTF8 encoded\r
+text. One of the addresses to be tested has a 'human readable' part that\r
+has the same UTF8 text. Testing the functions directly within emacs\r
+retains the text correctly encoded. Pushing the text through the test\r
+suite results in text that does not correctly match the expected\r
+output.\r
+\r
+There are many places where things could be wrong:\r
+      - the expected output file doesn't include the correct UTF8 text\r
+        (but it looks fine in emacs),\r
+      - the test wrapper script doesn't correctly pass around the UTF8\r
+        encoded text,\r
+      - the emacs reader is not correctly loading the UTF8 encoded text,\r
+      - <your favourite imagined problem here>.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+\r
+iEYEARECAAYFAk8MHjwACgkQaezQq/BJZRbZUQCfVkIthpPMEt7CEC2VuPuqjKRp\r
+XtoAn1YFGCpjtyIqGU96ELQrhInUWwRW\r
+=8ntf\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r