Re: [PATCH v3 1/5] Add failing unit tests for indexed mime types
authorDavid Bremner <david@tethera.net>
Sat, 17 Jan 2015 10:44:52 +0000 (11:44 +0100)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:47:26 +0000 (14:47 -0700)
55/146db5a540279cac7c1456c18d50c15845e056 [new file with mode: 0644]

diff --git a/55/146db5a540279cac7c1456c18d50c15845e056 b/55/146db5a540279cac7c1456c18d50c15845e056
new file mode 100644 (file)
index 0000000..8cabfa6
--- /dev/null
@@ -0,0 +1,63 @@
+Return-Path: <david@tethera.net>\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 A2F39431FD9\r
+       for <notmuch@notmuchmail.org>; Sat, 17 Jan 2015 02:45:07 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 2.438\r
+X-Spam-Level: **\r
+X-Spam-Status: No, score=2.438 tagged_above=-999 required=5\r
+       tests=[DNS_FROM_AHBL_RHSBL=2.438] 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 195mYytmZjCG for <notmuch@notmuchmail.org>;\r
+       Sat, 17 Jan 2015 02:45:04 -0800 (PST)\r
+Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])\r
+       (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 76C0A431FAF\r
+       for <notmuch@notmuchmail.org>; Sat, 17 Jan 2015 02:45:04 -0800 (PST)\r
+Received: from remotemail by yantan.tethera.net with local (Exim 4.80)\r
+       (envelope-from <david@tethera.net>)\r
+       id 1YCQsE-00068W-J3; Sat, 17 Jan 2015 06:44:58 -0400\r
+Received: (nullmailer pid 11748 invoked by uid 1000); Sat, 17 Jan 2015\r
+       10:44:52 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Todd <todd@electricoding.com>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH v3 1/5] Add failing unit tests for indexed mime types\r
+In-Reply-To: <1421368229-4360-1-git-send-email-todd@electricoding.com>\r
+References: <1420849787-4401-1-git-send-email-todd@electricoding.com>\r
+       <1421368229-4360-1-git-send-email-todd@electricoding.com>\r
+User-Agent: Notmuch/0.19+20~g2bbe5e0 (http://notmuchmail.org) Emacs/24.4.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Sat, 17 Jan 2015 11:44:52 +0100\r
+Message-ID: <87vbk5wusb.fsf@maritornes.cs.unb.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\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: Sat, 17 Jan 2015 10:45:07 -0000\r
+\r
+Todd <todd@electricoding.com> writes:\r
+> +test_begin_subtest "search for non-existent mime-type"\r
+> +test_subtest_known_broken\r
+> +output=$(notmuch search mimetype:non-existent/mime-type | notmuch_search_sanitize)\r
+> +test_expect_equal "$output" ""\r
+> +\r
+\r
+This one is not in fact broken, since the search silently returns\r
+nothing in either case.  Not sure if others have stricter ideas, but for\r
+me it would be ok to remote this one test_subtest_known_broken and note\r
+the situation in the commit message.\r