<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/notmuch-test, branch 0.6</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.6</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.6'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2011-06-30T00:58:19Z</updated>
<entry>
<title>test:Folder tags shouldn't match after removal of file in given folder</title>
<updated>2011-06-30T00:58:19Z</updated>
<author>
<name>Mark Anderson</name>
<email>ma.skies@gmail.com</email>
</author>
<published>2011-06-27T17:12:24Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c04e6f84d3de7236891696b7c6cc009e7f5e976c'/>
<id>urn:sha1:c04e6f84d3de7236891696b7c6cc009e7f5e976c</id>
<content type='text'>
Test for bug.  Current stemming support for notmuch adds extra terms
to the DB which aren't removed when the file renames are detected.

When folder tags are added to a message, Xapian terms for both XFOLDER
and ZXFOLDER are generated.  When one of the filenames are
renamed/removed, only the XFOLDER tags are removed, leaving it possible
for a match on a folder: tag that was previously but is no longer a
match in the maildir.
(cherry picked from commit 86e0baeb6df5509393832488c0de3520a1a5bdcb)
</content>
</entry>
<entry>
<title>tests: add a test for symbol hiding side effects</title>
<updated>2011-06-23T10:05:25Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-06-22T11:58:01Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=fba968dbfa806dc517fc55d1f28cf208f0316863'/>
<id>urn:sha1:fba968dbfa806dc517fc55d1f28cf208f0316863</id>
<content type='text'>
The worry here is that a binary linking with libnotmuch might lose
access to Xapian::Error symbols because libnotmuch hides them.

We are careful here to create ./fakedb/.notmuch in order to trigger a
Xapian exception, and not just a missing file check.

Thanks to jrollins and amddragon for suggestions.
(cherry picked from commit 66f37f5f6864a988f94ddb893e3a176af57f6c8e)
</content>
</entry>
<entry>
<title>tests: Add optional use of timeout utility, if present.</title>
<updated>2011-06-22T11:11:32Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-05-28T09:50:11Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=114eb1c52095487caed1de8746f2741da7a3ead1'/>
<id>urn:sha1:114eb1c52095487caed1de8746f2741da7a3ead1</id>
<content type='text'>
Each top level test (basic, corpus, etc...) is run with a fixed
timeout of 2 minutes.

The goal here is to treat a hung test as a failure. The emacs test for
sending mail is known to be problematic on the Debian
autobuilders. This is both a bandaid fix for that, and a sensible long
term feature.
(cherry picked from commit 5f99c80e02736c90495558d9b88008a768876b29)
</content>
</entry>
<entry>
<title>test: add crypto tests for signature verification and decryption</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:16Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=627d752501b42326b9016271de33a6cb0fa2dc8c'/>
<id>urn:sha1:627d752501b42326b9016271de33a6cb0fa2dc8c</id>
<content type='text'>
This adds a new "crypto" test script to the test suite to test
PGP/MIME signature verification and message decryption.  Included here
is a test GNUPGHOME with a test secret key (passwordless), and test
for:

  * signing/verification
  * signing/verification with full owner trust
  * verification with signer key unavailable
  * encryption/decryption
  * decryption failure with missing key
  * encryption/decryption + signing/verfifying
  * reply to encrypted message
  * verification of signature from revoked key

These tests are not expected to pass now, but will as crypto
functionality is included.
</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>test: force deletion of test remnants</title>
<updated>2011-05-23T21:55:27Z</updated>
<author>
<name>Jameson Graef Rollins</name>
<email>jrollins@finestructure.net</email>
</author>
<published>2011-05-07T19:10:04Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=04927208fa10cfa33d2ca93dfcb5ac95f25f55a1'/>
<id>urn:sha1:04927208fa10cfa33d2ca93dfcb5ac95f25f55a1</id>
<content type='text'>
This keeps the test from failing if only a subset of the remnants were
available for deletion, because e.g. only a subset of the tests were
run.
</content>
</entry>
<entry>
<title>test: allow specifying tests to run with NOTMUCH_TESTS env var</title>
<updated>2011-05-23T21:55:27Z</updated>
<author>
<name>Jameson Graef Rollins</name>
<email>jrollins@finestructure.net</email>
</author>
<published>2011-05-07T19:08:34Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7058ac2bbe426daeb6c0c7a6f65f4b0e14f8ceb2'/>
<id>urn:sha1:7058ac2bbe426daeb6c0c7a6f65f4b0e14f8ceb2</id>
<content type='text'>
This is useful for just running a specific subset of tests, ie:

NOTMUCH_TESTS=crypto make test
</content>
</entry>
<entry>
<title>test: Add a test of "notmuch show" with a multipart message</title>
<updated>2011-05-17T05:21:31Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2011-05-16T22:25:25Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d67f75549785117a8e0c3bc4f0bd71352a29974c'/>
<id>urn:sha1:d67f75549785117a8e0c3bc4f0bd71352a29974c</id>
<content type='text'>
This tests "notmuch show" with both --format=text and --format=json on
a message with some non-trivial MIME multipart nesting, (multiple parts
within a multipart/mixed part which is within a multipart/signed part).

The test captures the current behavior (where only the leaf nodes of
the MIME structure are emitted as a flat list---the multipart parts
are effectively ignored). We plan to soon change the json output at
least to emit an actual hierarchy matching the MIME structure, (at
which point we will update this test).
</content>
</entry>
<entry>
<title>Rename/rewrite the new emacs-forgetfulness test (to emacs-large-search-buffer)</title>
<updated>2011-03-10T21:22:04Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2011-03-10T21:22:04Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4e414e2a5a72e8345df6371b3524030d07c2ce96'/>
<id>urn:sha1:4e414e2a5a72e8345df6371b3524030d07c2ce96</id>
<content type='text'>
The new name is more descriptive of the bug being tested. Also, the test
is rewritten slightly so that it's much more plain to see how the bug
manifests itself, (that messages are droped from the emacs result at
regular intervals). Primarily, this is by collapsing the large blobs
used to inflate the message subjects.
</content>
</entry>
<entry>
<title>New test: Emacs' forgetfulness.</title>
<updated>2011-03-10T20:07:53Z</updated>
<author>
<name>Thomas Schwinge</name>
<email>thomas@schwinge.name</email>
</author>
<published>2011-02-02T23:56:38Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a3bf541e2b28f368905fbc17be2987eb4502e25d'/>
<id>urn:sha1:a3bf541e2b28f368905fbc17be2987eb4502e25d</id>
<content type='text'>
Signed-off-by: Thomas Schwinge &lt;thomas@schwinge.name&gt;
</content>
</entry>
</feed>
