<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/T340-maildir-sync.sh, branch 0.26</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.26</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.26'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2017-10-20T22:52:49Z</updated>
<entry>
<title>test: use $(dirname "$0") for sourcing test-lib.sh</title>
<updated>2017-10-20T22:52:49Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2017-09-25T20:38:19Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a863de1e43ee34f6f5794a2759fdceb287e851aa'/>
<id>urn:sha1:a863de1e43ee34f6f5794a2759fdceb287e851aa</id>
<content type='text'>
Don't assume the tests are always run from within the source tree.
</content>
</entry>
<entry>
<title>CLI/new: support maildir synced tags in new.tags</title>
<updated>2017-08-30T00:57:38Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-08-20T01:07:27Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0082a55785a5ae64da22fe72af6c0ae928f13c03'/>
<id>urn:sha1:0082a55785a5ae64da22fe72af6c0ae928f13c03</id>
<content type='text'>
We reorder reading maildir flags to avoid overwriting 'new.tags'. The
inverted status of 'unread' means the maildir flag needs to be checked
a second time.

I backpedalled here on the idea of supporting 'new.tags' without
'unread' in the presence of maildir syncing.  For files in 'new/', it
seems quite natural to tag them as 'unread'.
</content>
</entry>
<entry>
<title>test: add test for ,S message without 'unread' in new.tags</title>
<updated>2017-08-17T00:53:43Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-08-08T16:35:08Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f385055528a77d7cc4566de3a3605f2a6c474862'/>
<id>urn:sha1:f385055528a77d7cc4566de3a3605f2a6c474862</id>
<content type='text'>
This is arguably overkill, but it helps to understand the complicated
interactions here between maildir tags and configuration.
</content>
</entry>
<entry>
<title>test: add missing quotes in maildir-sync test.</title>
<updated>2017-08-17T00:48:51Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-08-08T16:35:07Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e1f9ab4849917ab8d39e9517e0f7c56d438e4188'/>
<id>urn:sha1:e1f9ab4849917ab8d39e9517e0f7c56d438e4188</id>
<content type='text'>
Oops. ';' is significant in the shell. Who knew.
</content>
</entry>
<entry>
<title>test: add broken tests for maildir syncing</title>
<updated>2017-08-06T19:40:28Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-08-04T21:38:45Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0967e46475be71d39daf928c9370af20b416f102'/>
<id>urn:sha1:0967e46475be71d39daf928c9370af20b416f102</id>
<content type='text'>
Users should be able to specify synced tags in new.tags
</content>
</entry>
<entry>
<title>cli/search: print total number of files matched in summary output.</title>
<updated>2017-08-02T01:17:47Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-06-04T12:32:32Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=ed4a9082c02d0a73f5f7d07f90a7daf65bde0aaa'/>
<id>urn:sha1:ed4a9082c02d0a73f5f7d07f90a7daf65bde0aaa</id>
<content type='text'>
The structured output formats already have all of the filenames. This
is an easy bit of UI change to make the multiple files visible.
</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>cli/show: list all filenames of a message in the formatted output</title>
<updated>2017-02-26T11:41:33Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2017-02-25T13:31:31Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=14c60cf168ac3b0f277188c16e6012b7ebdadde7'/>
<id>urn:sha1:14c60cf168ac3b0f277188c16e6012b7ebdadde7</id>
<content type='text'>
Instead of just having the first filename for the message, list all
duplicate filenames of the message as a list in the formatted
outputs. This bumps the format version to 3.
</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>
<entry>
<title>test: renamed test scripts to format T\d\d\d-name.sh</title>
<updated>2014-01-13T18:16:46Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2014-01-09T15:18:59Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a755c9d6a9099366cc82ba3a4bee8e6d2b83d529'/>
<id>urn:sha1:a755c9d6a9099366cc82ba3a4bee8e6d2b83d529</id>
<content type='text'>
All test scripts to be executed are now named as T\d\d\d-name.sh,
numers in increments of 10.

This eases adding new tests and developers to see which are test scripts
that are executed by test suite and in which order.
</content>
</entry>
</feed>
