<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/T566-lib-message.sh, branch 0.37</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.37</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.37'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2022-06-25T19:06:34Z</updated>
<entry>
<title>lib: check for writable db in n_m_tags_maildir_flags</title>
<updated>2022-06-25T19:06:34Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-05-25T10:51:17Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6f749dd24a1c8138a05ac92884e8cb71098c7f6e'/>
<id>urn:sha1:6f749dd24a1c8138a05ac92884e8cb71098c7f6e</id>
<content type='text'>
The database needs to be writable because the list of stored file
names will change in general.
</content>
</entry>
<entry>
<title>lib: add NOTMUCH_STATUS_CLOSED_DATABASE, use in _n_d_ensure_writable</title>
<updated>2022-06-25T19:06:18Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-05-25T10:51:16Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3f27cce71f9f154cb0c2134c32d41c31eb62a239'/>
<id>urn:sha1:3f27cce71f9f154cb0c2134c32d41c31eb62a239</id>
<content type='text'>
In order for a database to actually be writeable, it must be the case that it
is open, not just the correct type of Xapian object. By explicitely
checking, we are able to provide better error reporting, in particular
for the previously broken test in T566-lib-message.
</content>
</entry>
<entry>
<title>test: error handling for n_m_tags_to_maildir_flags</title>
<updated>2022-06-25T19:05:16Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-05-25T10:51:12Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8ade833ec2714c6f4fb2fcba0bc28b9c421907d5'/>
<id>urn:sha1:8ade833ec2714c6f4fb2fcba0bc28b9c421907d5</id>
<content type='text'>
The closed database case should fail gracefully, but currently it
segfaults.
</content>
</entry>
<entry>
<title>test: error handling in _n_message_{add,remove}_filename</title>
<updated>2022-06-25T15:55:02Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-05-23T23:39:01Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9e9d0e5ffcdb92e4051b10a8df0c093db1be5d42'/>
<id>urn:sha1:9e9d0e5ffcdb92e4051b10a8df0c093db1be5d42</id>
<content type='text'>
Use a closed database to force throwing a Xapian exception. Leave the
check vague to accomodate a potential explicit check for open database.
</content>
</entry>
<entry>
<title>test: _notmuch_message_remove_term catches exceptions.</title>
<updated>2022-06-25T15:55:02Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-05-23T23:38:56Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a581755fbbf4149c33740779a85f3ee1f11cd7e9'/>
<id>urn:sha1:a581755fbbf4149c33740779a85f3ee1f11cd7e9</id>
<content type='text'>
Unfortunately we can't differentiate between the two distinct error
conditions for Document::remove_term.
</content>
</entry>
<entry>
<title>lib/message: catch exceptions in _n_m_add_term</title>
<updated>2022-06-25T15:55:02Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-05-23T23:38:55Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f48d2e2ff89a7e0a413b29ca844b2c785063eb3d'/>
<id>urn:sha1:f48d2e2ff89a7e0a413b29ca844b2c785063eb3d</id>
<content type='text'>
Some code movement is needed to make sure the cache is only
invalidated when the Xapian operation succeeds.
</content>
</entry>
<entry>
<title>test: replace deprecated use of notmuch_database_open_verbose</title>
<updated>2022-05-29T10:36:32Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-05-21T18:06:29Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f6e7a9dde5a7d9c2fa390a15888704c31852a538'/>
<id>urn:sha1:f6e7a9dde5a7d9c2fa390a15888704c31852a538</id>
<content type='text'>
We need to do it some day, and it is a bit annoying to read
deprecation messages in broken tests.
</content>
</entry>
<entry>
<title>test: move system includes to notmuch-test.h</title>
<updated>2021-12-04T16:36:08Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-10-28T12:32:34Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=1643c0459a496b45b601d91e0089fac507a2a6d1'/>
<id>urn:sha1:1643c0459a496b45b601d91e0089fac507a2a6d1</id>
<content type='text'>
This removes some redudant includes, and will also make it easier to
introduce "#define _GNU_SOURCE", which must come before all system
includes.
</content>
</entry>
<entry>
<title>test: clean up some extra whitespace.</title>
<updated>2021-03-12T11:19:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-01-16T01:29:17Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=97fadd0645e908ff8322577a983dc710bfda33d6'/>
<id>urn:sha1:97fadd0645e908ff8322577a983dc710bfda33d6</id>
<content type='text'>
The extra space is mainly just untidy.
</content>
</entry>
<entry>
<title>test: regression test for n_m_get_filenames</title>
<updated>2020-08-03T23:50:15Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-08-01T12:25:53Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c151506773e76345508af8e46d7787d73fcffc62'/>
<id>urn:sha1:c151506773e76345508af8e46d7787d73fcffc62</id>
<content type='text'>
Closing the database after the iterator is created is not a problem.
</content>
</entry>
</feed>
