<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test, branch debian/buster-backports</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=debian%2Fbuster-backports</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=debian%2Fbuster-backports'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2021-06-27T01:39:07Z</updated>
<entry>
<title>lib/n_d_index_file: re-use thread-id of existing message</title>
<updated>2021-06-27T01:39:07Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-05-15T18:40:22Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=dab32dc70c15789b188001b78b7225c61bed4784'/>
<id>urn:sha1:dab32dc70c15789b188001b78b7225c61bed4784</id>
<content type='text'>
This prevents the message document getting multiple thread-id terms
when there are multiple files with the same message-id.

This change shifts some thread ids, requiring adjustments to other tests.

(cherry picked from commit 3f4de98e7c8c70f9a86a4f899147126f79907bd9)
</content>
</entry>
<entry>
<title>test: Fix race condition in T568-lib-thread.sh</title>
<updated>2021-02-18T11:15:47Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-02-15T00:55:55Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a37d5f5976de07b36141aa6b4a98cf913a3cf2fe'/>
<id>urn:sha1:a37d5f5976de07b36141aa6b4a98cf913a3cf2fe</id>
<content type='text'>
The assignment of thread-ids is (apparently) non-deterministic in a
way that mostly seems to show up on multicore machines. In my tests
the number is different from that previously assumed by this test
about 15% of the time on a 50 thread (25 core) Xeon.

Since message id's are fixed, use a message known to be in the thread
of interest to pick out the correct thread-id.
</content>
</entry>
<entry>
<title>test/T360-symbol-hiding.sh: trim extra output from readelf</title>
<updated>2020-12-25T15:36:33Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-12-15T20:45:09Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6d5d28c593a6f0e935bd039ade450e23d7b08ac8'/>
<id>urn:sha1:6d5d28c593a6f0e935bd039ade450e23d7b08ac8</id>
<content type='text'>
readelf on (at least) ppc64le sometimes generates some extension to
the Ndx name inside '[]'. Remove this output to allow our simple
column based parsing to work.
</content>
</entry>
<entry>
<title>test/T360-symbol-hiding: use readelf in place of nm</title>
<updated>2020-12-13T12:23:42Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-12-11T17:06:44Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=82faa059b8c98a3af016778734be329557d4217d'/>
<id>urn:sha1:82faa059b8c98a3af016778734be329557d4217d</id>
<content type='text'>
It turns out that using nm -P isn't as portable as hoped. In
particular with some ELF ABIs (e.g. ppc64 ELFv1), the desired symbols
end up in the data section instead of text.

The test is currently only functional on ELF based architectures, so I
think it's legit to depend on readelf instead of nm.

The switch to readelf has the advantage that we can explicitely ask
for all of the symbols with global visibility, rather than grepping
for notmuch. That seems a more robust approach since it will catch any
strangely named global symbols.
</content>
</entry>
<entry>
<title>test: fix syntax errors in erroring calls to notmuch insert</title>
<updated>2020-09-05T00:04:33Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-09-04T01:10:57Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=85b580386905ca1fdb168edc64fca66ffb9620a7'/>
<id>urn:sha1:85b580386905ca1fdb168edc64fca66ffb9620a7</id>
<content type='text'>
notmuch insert does not currently support passing a filename for the
input, so all of these tests have an extra error in addition to the
one being tested for.

Currently this does not make a difference because the error being
tested for is caught before the error of an extra command line
argument. In the future it might make a difference, and in any case it
is confusing.
</content>
</entry>
<entry>
<title>test: fix uninitialized variable use in T562-lib-database</title>
<updated>2020-08-16T17:04:36Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-08-16T17:04:36Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=fe449f779d2a5ab5243a315a12f4a85b625dc078'/>
<id>urn:sha1:fe449f779d2a5ab5243a315a12f4a85b625dc078</id>
<content type='text'>
Fix a copy paste error of using the boolean ret as a notmuch_status_t,
and uninitialized.
</content>
</entry>
<entry>
<title>test: update README to reflect dropping upgrade tests</title>
<updated>2020-08-16T13:41:44Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-08-15T12:15:05Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=25f9a42287a7a2ad58a1dff5ccfe75fe7e26d8db'/>
<id>urn:sha1:25f9a42287a7a2ad58a1dff5ccfe75fe7e26d8db</id>
<content type='text'>
These test databases have been unneeded since ee897cab8.
</content>
</entry>
<entry>
<title>Emacs: Indent first header line only when indentation is turned on</title>
<updated>2020-08-15T12:16:34Z</updated>
<author>
<name>Teemu Likonen</name>
<email>tlikonen@iki.fi</email>
</author>
<published>2020-08-15T06:28:29Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=adb90b9bb633c82f41a6c04c07f6becc12f332aa'/>
<id>urn:sha1:adb90b9bb633c82f41a6c04c07f6becc12f332aa</id>
<content type='text'>
Previously in message-show mode message's first header line (From
header) was always indented, even if user had turned thread
indentation off with "&lt;" (notmuch-show-toggle-thread-indentation)
command.

This change modifies notmuch-show-insert-headerline function so that
it doesn't indent the first header line if notmuch-show-indent-content
variable is nil.

This change also modifies tests so that they expect this new output
format:
test/emacs-show.expected-output/notmuch-show-indent-thread-content-off
</content>
</entry>
<entry>
<title>emacs: Do not abuse advice to monkey patch while testing</title>
<updated>2020-08-10T00:17:06Z</updated>
<author>
<name>Jonas Bernoulli</name>
<email>jonas@bernoul.li</email>
</author>
<published>2020-08-08T11:50:07Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3665914f71fc7be2f537ec0ae2647f768c7f5bbe'/>
<id>urn:sha1:3665914f71fc7be2f537ec0ae2647f768c7f5bbe</id>
<content type='text'>
Use `cl-letf*' instead.
</content>
</entry>
<entry>
<title>emacs: Drop old advices that were only need for Emacs 23</title>
<updated>2020-08-10T00:16:12Z</updated>
<author>
<name>Jonas Bernoulli</name>
<email>jonas@bernoul.li</email>
</author>
<published>2020-08-08T11:50:06Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=96baa2231882e9a9025797b1f9945ba6b2751dd4'/>
<id>urn:sha1:96baa2231882e9a9025797b1f9945ba6b2751dd4</id>
<content type='text'>
</content>
</entry>
</feed>
