<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/test-lib.sh, branch 0.32_rc2</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.32_rc2</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.32_rc2'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2021-04-24T15:11:22Z</updated>
<entry>
<title>test: replace notmuch_passwd_sanitize with python version</title>
<updated>2021-04-24T15:11:22Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-04-24T12:28:15Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=27a2c2c80d7854f75f8910802880f9a8e6764a45'/>
<id>urn:sha1:27a2c2c80d7854f75f8910802880f9a8e6764a45</id>
<content type='text'>
Apparently the -f option to hostname is not portable, and in fact it
does not seem to always behave reasonably in e.g. a chroot.

Python code originally due to Tomi [1], modified by yours truly.

[1]: id:m2lf9fbkug.fsf@guru.guru-group.fi
</content>
</entry>
<entry>
<title>test-lib: unset XDG_CONFIG_HOME</title>
<updated>2021-04-18T13:00:10Z</updated>
<author>
<name>Đoàn Trần Công Danh</name>
<email>congdanhqx@gmail.com</email>
</author>
<published>2021-04-18T03:48:46Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=828a004921ab0736634203cd07cc41393da00047'/>
<id>urn:sha1:828a004921ab0736634203cd07cc41393da00047</id>
<content type='text'>
lib/open.cc:_load_key_file will only open xdg-config files in
$XDG_CONFIG_HOME if it's defined, $HOME/.config will be considered if
and only if XDG_CONFIG_HOME not defined.

Let's unset said variable before running the test.
</content>
</entry>
<entry>
<title>test: put shim at end of LD_PRELOAD path</title>
<updated>2021-04-16T12:06:39Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-03-13T12:43:37Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5248f55d5f11c6ed6c2344b2ed13e6ff16fc6dde'/>
<id>urn:sha1:5248f55d5f11c6ed6c2344b2ed13e6ff16fc6dde</id>
<content type='text'>
Certain tools like the address-sanitizer fail if they are not the
first LD_PRELOADed library. It does not seem to matter for our shims,
as long as they are loaded before libnotmuch.
</content>
</entry>
<entry>
<title>lib/config: set default for primary user email</title>
<updated>2021-03-27T12:26:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-02-14T13:55:42Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2e9ee47072e161e85d2ac60515d1c922ea881e40'/>
<id>urn:sha1:2e9ee47072e161e85d2ac60515d1c922ea881e40</id>
<content type='text'>
This is mainly copying code from the CLI into the lib. The CLI copy
will be deleted in a later commit.
</content>
</entry>
<entry>
<title>lib/config: set defaults for user full name</title>
<updated>2021-03-27T12:26:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-02-14T13:23:44Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e81dc2072f22996a07e82b9b9b2eac826410e5a7'/>
<id>urn:sha1:e81dc2072f22996a07e82b9b9b2eac826410e5a7</id>
<content type='text'>
This just copies code from from the CLI into the library. New test
infrastructure is needed because apparently we have never tested this
code path.
</content>
</entry>
<entry>
<title>test: Add tests for write access to database from hooks.</title>
<updated>2021-03-19T01:54:13Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-03-19T01:54:13Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7d286f0272feb08aea8c1bee0b0ec6cd9766aee7'/>
<id>urn:sha1:7d286f0272feb08aea8c1bee0b0ec6cd9766aee7</id>
<content type='text'>
Recent changes to configuration handling meant the pre-new hook was
run while the database was open read only, limiting what could be done
in the hook. Add some known broken tests for this problem, as well as
a regression test for write access from the post-new hook.
</content>
</entry>
<entry>
<title>test: add (back) upgrade tests</title>
<updated>2021-01-17T17:24:04Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-01-17T12:35:38Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6a7b61b1d50bf25ebce61fa58af1c195951b387c'/>
<id>urn:sha1:6a7b61b1d50bf25ebce61fa58af1c195951b387c</id>
<content type='text'>
In ee897cab8b721 the upgrade tests from pre v3 databases were
removed. The reasons for that are still valid, but we should still
test the code paths that do the upgrade, and it is relatively
straightforward to do that for v3 to v3 upgrades.
</content>
</entry>
<entry>
<title>test: Fix indentation</title>
<updated>2020-08-10T00:14:36Z</updated>
<author>
<name>Jonas Bernoulli</name>
<email>jonas@bernoul.li</email>
</author>
<published>2020-08-08T11:49:57Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=bb15524c12a73e2cd6cdffe0561ba493706d65de'/>
<id>urn:sha1:bb15524c12a73e2cd6cdffe0561ba493706d65de</id>
<content type='text'>
Fix it to consistently match the style we have configured in
".dir-locals.el".
</content>
</entry>
<entry>
<title>test: drop use of db_ending</title>
<updated>2020-08-01T23:27:30Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-07-30T00:01:30Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=99a7aac8f2af6f3adb8f816be46ee33eb1d57515'/>
<id>urn:sha1:99a7aac8f2af6f3adb8f816be46ee33eb1d57515</id>
<content type='text'>
This will allow the dropping of the test for the default ending from
configure.
</content>
</entry>
<entry>
<title>test: Explicitly state that we want to sign with sender</title>
<updated>2020-07-28T11:40:30Z</updated>
<author>
<name>Jonas Bernoulli</name>
<email>jonas@bernoul.li</email>
</author>
<published>2020-07-27T15:25:03Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8b162b40f84e891afa340b72c50b98f62ae57106'/>
<id>urn:sha1:8b162b40f84e891afa340b72c50b98f62ae57106</id>
<content type='text'>
Since Emacs 27 'mml-secure-epg-sign' errors out if we don't opt-in to
signing as the sender using 'mml-secure-openpgp-sign-with-sender'.
</content>
</entry>
</feed>
