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