]> git.notmuchmail.org Git - notmuch/commit
test: add known broken tests for setting NOTMUCH_CONFIG in hooks
authorDavid Bremner <david@tethera.net>
Mon, 30 May 2022 11:38:19 +0000 (08:38 -0300)
committerDavid Bremner <david@tethera.net>
Sat, 18 Jun 2022 11:23:31 +0000 (08:23 -0300)
commite167825bca476403b0371fbdf4c8fbdfb4a6f935
treeb929ececfb596b7930aba8c2526eb03c613ef857
parent8d3d98991d5b48b6552712a3ca6797b4ac9d95bf
test: add known broken tests for setting NOTMUCH_CONFIG in hooks

Setting this according to --config was requested by Uwe
Kleine-König. There are some other ways that the configuration file
might be found in current notmuch, so check those as well.

As a bonus, fix a bug in the hook tests that left NOTMUCH_CONFIG set
even though a config file was provided via NOTMUCH_PROFILE.

[1]: id:8baa58c3-7ab9-ec03-1bbd-28aa5be838f2@kleine-koenig.org
test/T400-hooks.sh