]> git.notmuchmail.org Git - notmuch/commit
test: Add tests for write access to database from hooks.
authorDavid Bremner <david@tethera.net>
Fri, 19 Mar 2021 01:54:13 +0000 (22:54 -0300)
committerDavid Bremner <david@tethera.net>
Fri, 19 Mar 2021 01:54:13 +0000 (22:54 -0300)
commit7d286f0272feb08aea8c1bee0b0ec6cd9766aee7
treec489c49cb013d1f7239e5a1b47c2696b5a79a043
parent13efbd0e1c88fcbdb48b4c30c7852c5bf1fbd0b7
test: Add tests for write access to database from hooks.

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.
test/T400-hooks.sh
test/test-lib.sh