From: Austin Clements Date: Sat, 18 May 2013 04:31:08 +0000 (+2000) Subject: [PATCH 1/5] test: Remove extraneous Emacs error handling test X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d081b280da5e704b9294ea57a9d471b815db4477;p=notmuch-archives.git [PATCH 1/5] test: Remove extraneous Emacs error handling test --- diff --git a/07/4d413a3c9d9ba9720584d22bf3dc6b40fe0744 b/07/4d413a3c9d9ba9720584d22bf3dc6b40fe0744 new file mode 100644 index 000000000..71d67e45b --- /dev/null +++ b/07/4d413a3c9d9ba9720584d22bf3dc6b40fe0744 @@ -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 1AE86431FC2 + for ; Fri, 17 May 2013 21:32:27 -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 G7OiS-vb2eDs for ; + Fri, 17 May 2013 21:32:21 -0700 (PDT) +Received: from dmz-mailsec-scanner-1.mit.edu (DMZ-MAILSEC-SCANNER-1.MIT.EDU + [18.9.25.12]) + by olra.theworths.org (Postfix) with ESMTP id 9DEF1431FD2 + for ; Fri, 17 May 2013 21:32:15 -0700 (PDT) +X-AuditID: 1209190c-b7f566d000004c69-68-5197044fa575 +Received: from mailhub-auth-2.mit.edu ( [18.7.62.36]) + by dmz-mailsec-scanner-1.mit.edu (Symantec Messaging Gateway) with SMTP + id EE.94.19561.F4407915; Sat, 18 May 2013 00:32:15 -0400 (EDT) +Received: from outgoing.mit.edu (OUTGOING-AUTH-1.MIT.EDU [18.9.28.11]) + by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id r4I4WDV1016938; + Sat, 18 May 2013 00:32:13 -0400 +Received: from drake.dyndns.org + (216-15-114-40.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com + [216.15.114.40]) (authenticated bits=0) + (User authenticated as amdragon@ATHENA.MIT.EDU) + by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id r4I4WBi5018831 + (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); + Sat, 18 May 2013 00:32:12 -0400 +Received: from amthrax by drake.dyndns.org with local (Exim 4.77) + (envelope-from ) + id 1UdYo1-0001Yu-Ij; Sat, 18 May 2013 00:31:41 -0400 +From: Austin Clements +To: notmuch@notmuchmail.org +Subject: [PATCH 1/5] test: Remove extraneous Emacs error handling test +Date: Sat, 18 May 2013 00:31:08 -0400 +Message-Id: <1368851472-5382-2-git-send-email-amdragon@mit.edu> +X-Mailer: git-send-email 1.7.10.4 +In-Reply-To: <1368851472-5382-1-git-send-email-amdragon@mit.edu> +References: <1368851472-5382-1-git-send-email-amdragon@mit.edu> +X-Brightmail-Tracker: + H4sIAAAAAAAAA+NgFtrDIsWRmVeSWpSXmKPExsUixG6nouvPMj3QoOuClMXquTwW12/OZHZg + 8tg56y67x7NVt5gDmKK4bFJSczLLUov07RK4MiZP/c1SsJyj4symFywNjL/Yuhg5OSQETCRa + /u5igbDFJC7cWw8U5+IQEtjHKHF9/TFmCGcjo0Tz6XlgVUICd5gkWl4nQSTmMkr8edXMDJJg + E9CQ2LZ/OSOILSIgLbHz7mxWEJtZwFHi8/5FYOuEBdwkDh9+wg5iswioSmy/fxvM5hWwl2i4 + c54V4gxFie5nE8DqOQUcJA7PP8YGsdheouvCTbYJjPwLGBlWMcqm5Fbp5iZm5hSnJusWJyfm + 5aUW6Rrq5WaW6KWmlG5iBAUSpyTPDsY3B5UOMQpwMCrx8H5wnRYoxJpYVlyZe4hRkoNJSZTX + 5B9QiC8pP6UyI7E4I76oNCe1+BCjBAezkgjv82KgHG9KYmVValE+TEqag0VJnPdyyk1/IYH0 + xJLU7NTUgtQimKwMB4eSBK8u8/RAIcGi1PTUirTMnBKENBMHJ8hwHqDhViA1vMUFibnFmekQ + +VOMilLivM4gCQGQREZpHlwvLNJfMYoDvSLMKw1SxQNMEnDdr4AGMwENZr02FWRwSSJCSqqB + caFf98R/Hhmef3ay8a0+JT/N3eWE+fdFGxZfM5x+4XnPn3NeifE6Fv2/3qgdO8w17Ueb9RJ1 + Vl6R4/Uxibs3HhSrWT9lWunVJqfGn1NmPezOuVaubXinOrbU7wyrs9RVqXnuLWG3+6eY/Jt3 + fA8L0yW7RIXLHuKP1ONjz8ufM3PrslO4mze7VImlOCPRUIu5qDgRANfrnQ/PAgAA +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: Sat, 18 May 2013 04:32:27 -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 +