test: factor out some boilerplate from C tests
authorDavid Bremner <david@tethera.net>
Sat, 4 Jun 2016 12:29:14 +0000 (09:29 -0300)
committerDavid Bremner <david@tethera.net>
Tue, 14 Jun 2016 00:52:33 +0000 (21:52 -0300)
commitcc1a6d2a947ef8c2577a77027d69fce012ae91fd
tree8cf495c6eff6ddaa0f81912878226e3a9a0be833
parent57bd4cf3221a56f8fd8a27af541d6cc8b4011b62
test: factor out some boilerplate from C tests

The trick of having a common header file doesn't work to share between
test scripts, so make an include file in the test directory.

The use of #include <notmuch-test.h> looks slightly pretentious, but
the include file is not actually in the current (temporary) directory.
test/T590-libconfig.sh
test/notmuch-test.h [new file with mode: 0644]
test/test-lib.sh