<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/search, branch 0.11.1</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.11.1</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.11.1'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2011-06-01T23:35:11Z</updated>
<entry>
<title>test: move utf-8 subject search test from json to search test script</title>
<updated>2011-06-01T23:35:11Z</updated>
<author>
<name>Jameson Graef Rollins</name>
<email>jrollins@finestructure.net</email>
</author>
<published>2011-05-08T21:04:47Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7fdeb0fb630da0eac355f3c6538f01dba932c5e6'/>
<id>urn:sha1:7fdeb0fb630da0eac355f3c6538f01dba932c5e6</id>
<content type='text'>
This test doesn't have anything to do with json, and has everything to
do with testing search capability, so I'm not sure why it was in the
wrong place.
</content>
</entry>
<entry>
<title>test: Move a test from search to search-output, and add a similar json test</title>
<updated>2011-06-01T23:31:52Z</updated>
<author>
<name>Jameson Graef Rollins</name>
<email>jrollins@finestructure.net</email>
</author>
<published>2011-05-06T18:57:16Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7a453716c27f09063e0bda56b9ba1d6b2cdd17b5'/>
<id>urn:sha1:7a453716c27f09063e0bda56b9ba1d6b2cdd17b5</id>
<content type='text'>
The "Search for non-existent message prints nothing" test fits better
with the existing tests in search-output, so move it there. Also add a
similar test for the --format=json case.

These tests also use the new test_expect_equal_file function, (to ensure
that the presence of a trailing newline is correctly tested).
</content>
</entry>
<entry>
<title>tag signed/encrypted during notmuch new</title>
<updated>2011-05-27T23:22:00Z</updated>
<author>
<name>Jameson Graef Rollins</name>
<email>jrollins@finestructure.net</email>
</author>
<published>2011-05-26T01:01:20Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=1d6b49561f50d6cde1b473f9887e37748e49c02c'/>
<id>urn:sha1:1d6b49561f50d6cde1b473f9887e37748e49c02c</id>
<content type='text'>
This patch adds the tag "signed" to messages with any multipart/signed
parts, and the tag "encrypted" to messages with any
multipart/encrypted parts.  This only occurs when messages are indexed
during notmuch new, so a database rebuild is required to have old
messages tagged.
</content>
</entry>
<entry>
<title>test: change "#!/bin/bash" to "#!/usr/bin/env bash" enhances portability</title>
<updated>2011-05-27T21:03:28Z</updated>
<author>
<name>Joel Borggrén-Franck</name>
<email>jbf@codehouse.se</email>
</author>
<published>2010-12-01T20:27:52Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3fa843216c918fe4a6151e55947cf3a7f46fcdb5'/>
<id>urn:sha1:3fa843216c918fe4a6151e55947cf3a7f46fcdb5</id>
<content type='text'>
Change #!/bin/bash at start of tests to "#!/usr/bin/env bash". That way
systems running on bash &lt; 4 can prepend bash &gt;= 4 to path before
running the tests.
</content>
</entry>
<entry>
<title>search: Move lwn tests into their own file.</title>
<updated>2011-03-09T23:10:03Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2011-01-28T19:39:21Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=99ad348deb8282185ae56a51dc4af02f3c241f97'/>
<id>urn:sha1:99ad348deb8282185ae56a51dc4af02f3c241f97</id>
<content type='text'>
Since it's much easier to debug and fix these if they can be run on
their own.
</content>
</entry>
<entry>
<title>Add a few tests for searching LWN emails.</title>
<updated>2011-03-09T23:10:03Z</updated>
<author>
<name>Thomas Schwinge</name>
<email>thomas@schwinge.name</email>
</author>
<published>2011-01-27T10:31:49Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=12f4443e231f478c7a8067eebcc3a02e2ac9db20'/>
<id>urn:sha1:12f4443e231f478c7a8067eebcc3a02e2ac9db20</id>
<content type='text'>
These tests should pass -- but they currently don't.

Signed-off-by: Thomas Schwinge &lt;thomas@schwinge.name&gt;
</content>
</entry>
<entry>
<title>test: Fix bugs detected thanks to the previous commit</title>
<updated>2010-11-16T19:28:06Z</updated>
<author>
<name>Michal Sojka</name>
<email>sojkam1@fel.cvut.cz</email>
</author>
<published>2010-11-14T21:54:32Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=24d42f05075ddeb6783ae99b8f8fc2df059fcd22'/>
<id>urn:sha1:24d42f05075ddeb6783ae99b8f8fc2df059fcd22</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: Search for non-existent message should return nothing</title>
<updated>2010-11-04T19:34:33Z</updated>
<author>
<name>Michal Sojka</name>
<email>sojkam1@fel.cvut.cz</email>
</author>
<published>2010-11-01T16:15:39Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c6b59ea3c656e31e4ed6942b5d7660895fca543a'/>
<id>urn:sha1:c6b59ea3c656e31e4ed6942b5d7660895fca543a</id>
<content type='text'>
My scripts expect that empty search result is actually empty. Since
commit 6dcb7592, even empty search prints a newline character and this
breaks my scripts.

This patch adds a test for this bug. In the test I cannot use
test_expect_equal function as $() operator suppresses the final
newline and this kind of difference is not detected.

 test/search |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
</content>
</entry>
<entry>
<title>test: Fix the search and dump-restore tests to operator on non-empty mail store.</title>
<updated>2010-09-20T23:40:35Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-09-20T23:40:35Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5497b01c27ed217bc351d9995e0f46c3d6ff2442'/>
<id>urn:sha1:5497b01c27ed217bc351d9995e0f46c3d6ff2442</id>
<content type='text'>
We do this with a new add_email_corpus function that establishes a
mail store with 50 messages from the notmuch mailing list.
</content>
</entry>
<entry>
<title>test: Remove useless NOTMUCH variable (in favor of simply "notmuch")</title>
<updated>2010-09-20T23:15:08Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-09-20T23:13:15Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=ba9f9efc9a8ba9d6e509d4041a66e9a2d31171b1'/>
<id>urn:sha1:ba9f9efc9a8ba9d6e509d4041a66e9a2d31171b1</id>
<content type='text'>
When the NOTMUCH variable was originally invented it was used as an
explicit path to the notmuch binary being tested. Today, the test
suite sets the PATH variable instead, so the NOTMUCH variable always
has a value of simply "notmuch".

We simplifying that by using the constant value rather than the
continual variable reference.
</content>
</entry>
</feed>
