<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/T563-lib-directory.sh, branch master</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=master</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2022-06-25T19:06:18Z</updated>
<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: 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: remove directory names from paths in exceptions</title>
<updated>2021-12-23T12:47:40Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-12-05T13:56:03Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=cea1604a087645d07998c6986a8678b2af239322'/>
<id>urn:sha1:cea1604a087645d07998c6986a8678b2af239322</id>
<content type='text'>
These cause failures when building out of tree.
</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: regression test for n_directory_{get,set}_mtime</title>
<updated>2020-08-04T00:00:25Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-08-01T12:26:00Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e8ffbf84ffa5ae6c02afd339a75ebb24c0a958b2'/>
<id>urn:sha1:e8ffbf84ffa5ae6c02afd339a75ebb24c0a958b2</id>
<content type='text'>
The mtime is cached, so closing the db is not a problem. Writing the
mtime throws an exception, which is caught.
</content>
</entry>
<entry>
<title>lib: fix return value for n_directory_delete</title>
<updated>2020-08-03T23:59:06Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-08-01T12:25:59Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f4f5db0f1a6e89f56bfd73f8517c1cac7af20290'/>
<id>urn:sha1:f4f5db0f1a6e89f56bfd73f8517c1cac7af20290</id>
<content type='text'>
Falling out of the catch meant the error return was lost
</content>
</entry>
<entry>
<title>test: known broken test for n_directory_delete with closed db.</title>
<updated>2020-08-03T23:57:43Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-08-01T12:25:58Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b03cc6cf90c302b66453feb081b36fabe927a576'/>
<id>urn:sha1:b03cc6cf90c302b66453feb081b36fabe927a576</id>
<content type='text'>
There is a return value bug in notmuch_directory_delete that is hiding
the exception.
</content>
</entry>
<entry>
<title>lib: catch exceptions in n_directory_get_child_files</title>
<updated>2020-08-03T23:56:09Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-08-01T12:25:57Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=337665e26a4f0bb0e24a9160f45faf444032bf5d'/>
<id>urn:sha1:337665e26a4f0bb0e24a9160f45faf444032bf5d</id>
<content type='text'>
Also clarify API in error case.
</content>
</entry>
<entry>
<title>test: add known broken test for n_directory_get_child_files</title>
<updated>2020-08-03T23:54:26Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-08-01T12:25:56Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3890d989665f5906fa82a10f1a57157c7b23503c'/>
<id>urn:sha1:3890d989665f5906fa82a10f1a57157c7b23503c</id>
<content type='text'>
This is a clone of the one for get_child_directories
</content>
</entry>
<entry>
<title>lib: catch exceptions in n_directory_get_child_directories</title>
<updated>2020-08-03T23:53:04Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-08-01T12:25:55Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9668583a49e9fe2e39844ceaab20779c9444ba8f'/>
<id>urn:sha1:9668583a49e9fe2e39844ceaab20779c9444ba8f</id>
<content type='text'>
Also clarify API in error case.
</content>
</entry>
</feed>
