test: Remove extraneous Emacs error handling test

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.)
This commit is contained in:
Austin Clements 2013-05-31 20:40:03 -04:00 committed by David Bremner
parent b607965886
commit 7eaf698e23

View file

@ -29,15 +29,4 @@ test_emacs '(notmuch-search "*")
sed -i -e s', *, ,g' -e 's/xxx*/[BLOB]/g' OUTPUT sed -i -e s', *, ,g' -e 's/xxx*/[BLOB]/g' OUTPUT
test_expect_equal_file OUTPUT EXPECTED 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 test_done