[PATCH v2 1/5] test: Remove extraneous Emacs error handling test
authorAustin Clements <amdragon@MIT.EDU>
Thu, 30 May 2013 17:13:32 +0000 (13:13 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:55:09 +0000 (09:55 -0800)
d1/5e0fa5eed3d361c237965fb428aba6f994cd18 [new file with mode: 0644]

diff --git a/d1/5e0fa5eed3d361c237965fb428aba6f994cd18 b/d1/5e0fa5eed3d361c237965fb428aba6f994cd18
new file mode 100644 (file)
index 0000000..4acdca0
--- /dev/null
@@ -0,0 +1,103 @@
+Return-Path: <amdragon@mit.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 188BD431FD8\r
+       for <notmuch@notmuchmail.org>; Thu, 30 May 2013 10:13:59 -0700 (PDT)\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 FhRb17xTJsjS for <notmuch@notmuchmail.org>;\r
+       Thu, 30 May 2013 10:13:53 -0700 (PDT)\r
+Received: from dmz-mailsec-scanner-3.mit.edu (dmz-mailsec-scanner-3.mit.edu\r
+       [18.9.25.14])\r
+       by olra.theworths.org (Postfix) with ESMTP id 58BE5431FC0\r
+       for <notmuch@notmuchmail.org>; Thu, 30 May 2013 10:13:46 -0700 (PDT)\r
+X-AuditID: 1209190e-b7f4f6d000005142-55-51a788c95edd\r
+Received: from mailhub-auth-3.mit.edu ( [18.9.21.43])\r
+       by dmz-mailsec-scanner-3.mit.edu (Symantec Messaging Gateway) with SMTP\r
+       id B4.BD.20802.9C887A15; Thu, 30 May 2013 13:13:45 -0400 (EDT)\r
+Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11])\r
+       by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id r4UHDgtW018400; \r
+       Thu, 30 May 2013 13:13:43 -0400\r
+Received: from drake.dyndns.org (c-76-21-105-205.hsd1.ca.comcast.net\r
+       [76.21.105.205]) (authenticated bits=0)\r
+       (User authenticated as amdragon@ATHENA.MIT.EDU)\r
+       by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id r4UHDcRp009859\r
+       (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
+       Thu, 30 May 2013 13:13:41 -0400\r
+Received: from amthrax by drake.dyndns.org with local (Exim 4.77)\r
+       (envelope-from <amdragon@mit.edu>)\r
+       id 1Ui6Py-0005r0-5M; Thu, 30 May 2013 13:13:38 -0400\r
+From: Austin Clements <amdragon@MIT.EDU>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v2 1/5] test: Remove extraneous Emacs error handling test\r
+Date: Thu, 30 May 2013 13:13:32 -0400\r
+Message-Id: <1369934016-22308-2-git-send-email-amdragon@mit.edu>\r
+X-Mailer: git-send-email 1.7.10.4\r
+In-Reply-To: <1369934016-22308-1-git-send-email-amdragon@mit.edu>\r
+References: <1369934016-22308-1-git-send-email-amdragon@mit.edu>\r
+X-Brightmail-Tracker:\r
+ H4sIAAAAAAAAA+NgFjrKIsWRmVeSWpSXmKPExsUixCmqrXuyY3mgwaOLFhar5/JYXL85k9ni\r
+       zcp5rA7MHjtn3WX3OPx1IYvHs1W3mAOYo7hsUlJzMstSi/TtErgyJk/9zVKwnKPizKYXLA2M\r
+       v9i6GDk4JARMJFq6PboYOYFMMYkL99YDhbk4hAT2MUq0LZoB5WxklJi/owvKOc0k0d05iQXC\r
+       mcsocfHGbEaQfjYBDYlt+5eD2SIC0hI7785mBbGZBeIktkz5zwiyTljAU2Lmn0qQMIuAqsSh\r
+       ib/AynkFHCTuf3/BCHGGokT3swlsIDangKPEjsmnwcYIAdVc2vuVaQIj/wJGhlWMsim5Vbq5\r
+       iZk5xanJusXJiXl5qUW6xnq5mSV6qSmlmxjBoSXJt4Px60GlQ4wCHIxKPLwZScsDhVgTy4or\r
+       cw8xSnIwKYnyrm8FCvEl5adUZiQWZ8QXleakFh9ilOBgVhLhLXAGyvGmJFZWpRblw6SkOViU\r
+       xHmvpNz0FxJITyxJzU5NLUgtgsnKcHAoSfDOaAdqFCxKTU+tSMvMKUFIM3FwggznARo+DaSG\r
+       t7ggMbc4Mx0if4pRUUqcdy1IQgAkkVGaB9cLi/1XjOJArwjzrgSp4gGmDbjuV0CDmYAGP7EG\r
+       G1ySiJCSamBcESMUs2RvamtsC3PImz09XptXhoZ7uda4H6tfdDdCQjgxdod16nmdsnsnv3Gu\r
+       FuqbLnpA9p7N1/ode5b1vcr98GWH94FthyaVLcwR7+0qXD79qdvjnhUvnLw9Jn1r2XcwQG27\r
+       sfnq308f5Aque7rhYcWZ2JB/Cpy6/1Zv+Jf9L1RabHHIvhWrlFiKMxINtZiLihMBA6c9idgC        AAA=\r
+Cc: tomi.ollila@iki.fi\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: Thu, 30 May 2013 17:13:59 -0000\r
+\r
+We now check error handling more carefully in the last test in\r
+test/emacs and we're about to add more error handling tests.  (This\r
+was also a strange place for this test, since it had nothing to do\r
+with large search buffers.)\r
+---\r
+ test/emacs-large-search-buffer |   11 -----------\r
+ 1 file changed, 11 deletions(-)\r
+\r
+diff --git a/test/emacs-large-search-buffer b/test/emacs-large-search-buffer\r
+index 9dcbef5..8b1251f 100755\r
+--- a/test/emacs-large-search-buffer\r
++++ b/test/emacs-large-search-buffer\r
+@@ -29,15 +29,4 @@ test_emacs '(notmuch-search "*")\r
+ sed -i -e s',  *, ,g' -e 's/xxx*/[BLOB]/g' OUTPUT\r
+ test_expect_equal_file OUTPUT EXPECTED\r
\r
+-test_begin_subtest "Ensure that emacs doesn't drop error messages"\r
+-test_emacs '(notmuch-search "--this-option-does-not-exist")\r
+-          (notmuch-test-wait)\r
+-          (test-output)'\r
+-cat <<EOF >EXPECTED\r
+-Error: Unexpected output from notmuch search:\r
+-Unrecognized option: --this-option-does-not-exist\r
+-End of search results.\r
+-EOF\r
+-test_expect_equal_file OUTPUT EXPECTED\r
+-\r
+ test_done\r
+-- \r
+1.7.10.4\r
+\r