unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Austin Clements <amdragon@MIT.EDU>
To: notmuch@notmuchmail.org
Cc: tomi.ollila@iki.fi
Subject: [PATCH v2 1/5] test: Remove extraneous Emacs error handling test
Date: Thu, 30 May 2013 13:13:32 -0400	[thread overview]
Message-ID: <1369934016-22308-2-git-send-email-amdragon@mit.edu> (raw)
In-Reply-To: <1369934016-22308-1-git-send-email-amdragon@mit.edu>

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 <<EOF >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

  reply	other threads:[~2013-05-30 17:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-30 17:13 [PATCH v2 0/5] Make Emacs search use sexp format Austin Clements
2013-05-30 17:13 ` Austin Clements [this message]
2013-05-30 17:13 ` [PATCH v2 2/5] emacs: Utilities to manage asynchronous notmuch processes Austin Clements
2013-05-31 19:01   ` Tomi Ollila
2013-05-31 23:41     ` Austin Clements
2013-05-30 17:13 ` [PATCH v2 3/5] emacs: Use async process helper for search Austin Clements
2013-05-30 17:13 ` [PATCH v2 4/5] emacs: Streaming S-expression parser Austin Clements
2013-05-30 17:13 ` [PATCH v2 5/5] emacs: Use streaming S-expr parser for search Austin Clements
2013-05-31 22:38 ` [PATCH v2 0/5] Make Emacs search use sexp format Mark Walters
2013-05-31 23:43   ` Austin Clements

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1369934016-22308-2-git-send-email-amdragon@mit.edu \
    --to=amdragon@mit.edu \
    --cc=notmuch@notmuchmail.org \
    --cc=tomi.ollila@iki.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).