<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/T240-dump-restore.sh, branch 0.25</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.25</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.25'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2017-04-06T17:37:02Z</updated>
<entry>
<title>test: standardize argument order to test_expect_equal_file</title>
<updated>2017-04-06T17:37:02Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-04-05T00:36:29Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=ec3937b5cd2884504d5536dc8631a15fd506050b'/>
<id>urn:sha1:ec3937b5cd2884504d5536dc8631a15fd506050b</id>
<content type='text'>
It is annoying to debug failing tests when the interpretation of the
diffs is reversed for some tests.
</content>
</entry>
<entry>
<title>Merge branch 'release'</title>
<updated>2017-04-01T12:36:34Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-04-01T12:36:34Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=33e58021958f8069ad46d7bd05cf586676fb6ae7'/>
<id>urn:sha1:33e58021958f8069ad46d7bd05cf586676fb6ae7</id>
<content type='text'>
Final 0.24.1 release
</content>
</entry>
<entry>
<title>cli/dump: bump dump format version to 3</title>
<updated>2017-04-01T12:10:15Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-03-31T10:55:17Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d47e18411807b57cac9aaa29a7435a9f83720b81'/>
<id>urn:sha1:d47e18411807b57cac9aaa29a7435a9f83720b81</id>
<content type='text'>
No changes to the format of the body, but the header format was
fixed, and version 2 headers probably shouldn't be relied on.
</content>
</entry>
<entry>
<title>cli/dump: fix bug in dump header</title>
<updated>2017-04-01T12:09:33Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-03-28T11:09:03Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=1f3c7916f82774cacbfbb0fbc9d0e0aaae9399b3'/>
<id>urn:sha1:1f3c7916f82774cacbfbb0fbc9d0e0aaae9399b3</id>
<content type='text'>
Fix copy paste error.
</content>
</entry>
<entry>
<title>test: add known broken test for dump header</title>
<updated>2017-04-01T12:09:20Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-03-28T11:09:02Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=704bd3d8a249b4041aa6a4204032f2b336f374e8'/>
<id>urn:sha1:704bd3d8a249b4041aa6a4204032f2b336f374e8</id>
<content type='text'>
Apparently nobody uses the list of "what was included in the dump"
</content>
</entry>
<entry>
<title>test: add known broken test for dump header</title>
<updated>2017-04-01T00:18:54Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-03-28T11:09:02Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c0a3bd956af91d08d95a993f4fd971a617a5517b'/>
<id>urn:sha1:c0a3bd956af91d08d95a993f4fd971a617a5517b</id>
<content type='text'>
Apparently nobody uses the list of "what was included in the dump"
</content>
</entry>
<entry>
<title>test: require test_begin_subtest before test_expect_success</title>
<updated>2017-03-09T13:01:21Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2017-02-26T13:43:00Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d0cd253b37646d9364d046e1d3edb022a58c105a'/>
<id>urn:sha1:d0cd253b37646d9364d046e1d3edb022a58c105a</id>
<content type='text'>
Unify the subtests by requiring test_begin_subtest before
test_expect_success. (Similar change for test_expect_code will
follow.)

This increases clarity in the test scripts by having a separate line
for the start of the subtest with the heading, and makes it possible
to simplify the test infrastructure by making all subtests similar.
</content>
</entry>
<entry>
<title>test: don't use dump and restore in a pipeline</title>
<updated>2016-06-29T07:03:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2016-06-28T08:24:07Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=496dccf44fadf4c8ee190e98d3cba54a8e828f97'/>
<id>urn:sha1:496dccf44fadf4c8ee190e98d3cba54a8e828f97</id>
<content type='text'>
This has been wrong since bbbdf0478ea, but the race condition was not
previously been (often?) triggered in the tests. With the DB_RETRY_LOCK
patches, it manifests itself as a deadlock.
</content>
</entry>
<entry>
<title>CLI: add optional config data to dump output.</title>
<updated>2016-05-25T10:07:56Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2016-03-22T10:54:50Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e042a25a3fd8706b6e1ee7bdf527bb17ecb74c6a'/>
<id>urn:sha1:e042a25a3fd8706b6e1ee7bdf527bb17ecb74c6a</id>
<content type='text'>
Note that it changes the default dump output format, but doesn't break
existing notmuch-restore. It might break user scripts though.
</content>
</entry>
<entry>
<title>test: make script exit (1) if it "fails" to source (.) a file</title>
<updated>2015-08-07T19:56:39Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2015-08-06T09:13:36Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=02a2eeb427d6b424029f6e5e5ddad4c6ec987741'/>
<id>urn:sha1:02a2eeb427d6b424029f6e5e5ddad4c6ec987741</id>
<content type='text'>
The files (test) scripts source (with builtin command `.`) provides
information which the scripts depend, and without the `source` to
succeed allowing script to continue may lead to dangerous situations
(e.g. rm -rf "${undefined_variable}"/*).

At the end of all source (.) lines construct ' || exit 1' was added;
In our case the script script will exit if it cannot find (or read) the
file to be sourced. Additionally script would also exits if the last
command of the sourced file exited nonzero.
</content>
</entry>
</feed>
