From a88d3df18a01448d42a59db74dbb07cc325ebf6f Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Sat, 1 Jun 2013 20:40:03 +2000 Subject: [PATCH] [PATCH v3 1/6] test: Remove extraneous Emacs error handling test --- 31/07c950ff8d5e91bbc1aae7b40a7a993bac68f8 | 103 ++++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 31/07c950ff8d5e91bbc1aae7b40a7a993bac68f8 diff --git a/31/07c950ff8d5e91bbc1aae7b40a7a993bac68f8 b/31/07c950ff8d5e91bbc1aae7b40a7a993bac68f8 new file mode 100644 index 000000000..afb94d0af --- /dev/null +++ b/31/07c950ff8d5e91bbc1aae7b40a7a993bac68f8 @@ -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 9C84F429E47 + for ; Fri, 31 May 2013 17:40:34 -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 yCauqbbdG072 for ; + Fri, 31 May 2013 17:40:28 -0700 (PDT) +Received: from dmz-mailsec-scanner-5.mit.edu (dmz-mailsec-scanner-5.mit.edu + [18.7.68.34]) + by olra.theworths.org (Postfix) with ESMTP id 561DC429E29 + for ; Fri, 31 May 2013 17:40:17 -0700 (PDT) +X-AuditID: 12074422-b7f5b6d00000095d-85-51a942ee1a2b +Received: from mailhub-auth-1.mit.edu ( [18.9.21.35]) + by dmz-mailsec-scanner-5.mit.edu (Symantec Messaging Gateway) with SMTP + id C9.23.02397.EE249A15; Fri, 31 May 2013 20:40:14 -0400 (EDT) +Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) + by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id r510eD23008174; + Fri, 31 May 2013 20:40:14 -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 r510e9lf020939 + (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); + Fri, 31 May 2013 20:40:12 -0400 +Received: from amthrax by drake.dyndns.org with local (Exim 4.77) + (envelope-from ) + id 1UiZrd-0003QP-8z; Fri, 31 May 2013 20:40:09 -0400 +From: Austin Clements +To: notmuch@notmuchmail.org +Subject: [PATCH v3 1/6] test: Remove extraneous Emacs error handling test +Date: Fri, 31 May 2013 20:40:03 -0400 +Message-Id: <1370047208-12785-2-git-send-email-amdragon@mit.edu> +X-Mailer: git-send-email 1.7.10.4 +In-Reply-To: <1370047208-12785-1-git-send-email-amdragon@mit.edu> +References: <1370047208-12785-1-git-send-email-amdragon@mit.edu> +X-Brightmail-Tracker: + H4sIAAAAAAAAA+NgFjrCIsWRmVeSWpSXmKPExsUixCmqrPvOaWWgwfVLlhar5/JYXL85k9ni + zcp5rA7MHjtn3WX3OPx1IYvHs1W3mAOYo7hsUlJzMstSi/TtErgyJk/9zVKwnKPizKYXLA2M + v9i6GDk5JARMJP6duMsOYYtJXLi3HiwuJLCPUaLhN5S9kVFi0n4PCPs0k8Sf1XJdjFxA9lxG + iekrDzGCJNgENCS27V8OZosISEvsvDubFcRmFoiT2DLlP1hcWMBT4siidrChLAKqEk+WP2cG + sXkFHCTebPsDdZCiRPezCWA2p4CjxPmr/5ghFjtIPD5xknkCI/8CRoZVjLIpuVW6uYmZOcWp + ybrFyYl5ealFuqZ6uZkleqkppZsYQYHF7qK0g/HnQaVDjAIcjEo8vAYrVgQKsSaWFVfmHmKU + 5GBSEuWd7bgyUIgvKT+lMiOxOCO+qDQntfgQowQHs5IIb/4coHLelMTKqtSifJiUNAeLkjjv + tZSb/kIC6YklqdmpqQWpRTBZGQ4OJQnelyBDBYtS01Mr0jJzShDSTBycIMN5gIafA6nhLS5I + zC3OTIfIn2JUlBLnvQCSEABJZJTmwfXCIv8VozjQK8IQVTzApAHX/QpoMBPQ4CfWy0EGlyQi + pKQaGAPD973d5q9WH7WrTd0jYEuwROCcIzLcD9Uvadk/3L3+84OuE5Yh6V0nLFyPhQb9dv83 + YZW2YZPBC76kMteaOvMsrd5L+i9+/rllNvGpYNWWMH6tr1n/D/zu25954ElBbt67CzWSTwPv + hazji4s4cueXkVRW7x+urLQIvWXvfh26Ui32MnzCEiWW4oxEQy3mouJEAGjJLw7XAgAA +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: Sat, 01 Jun 2013 00:40:34 -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