<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/T610-message-property.sh, branch 0.35</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.35</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.35'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2021-12-04T16:36:08Z</updated>
<entry>
<title>test: move system includes to notmuch-test.h</title>
<updated>2021-12-04T16:36:08Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-10-28T12:32:34Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=1643c0459a496b45b601d91e0089fac507a2a6d1'/>
<id>urn:sha1:1643c0459a496b45b601d91e0089fac507a2a6d1</id>
<content type='text'>
This removes some redudant includes, and will also make it easier to
introduce "#define _GNU_SOURCE", which must come before all system
includes.
</content>
</entry>
<entry>
<title>Fix typos</title>
<updated>2020-08-10T00:14:36Z</updated>
<author>
<name>Jonas Bernoulli</name>
<email>jonas@bernoul.li</email>
</author>
<published>2020-08-08T11:49:55Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6c84dee53193a78cf797b44d3febcc14488ea6b1'/>
<id>urn:sha1:6c84dee53193a78cf797b44d3febcc14488ea6b1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: sort the output of the "prefix" test in T610-message-property</title>
<updated>2020-04-24T00:31:37Z</updated>
<author>
<name>Olivier Taïbi</name>
<email>oli@olitb.net</email>
</author>
<published>2020-04-19T16:06:19Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7b756d1e3885b70e81647a85432e0f2d043167c9'/>
<id>urn:sha1:7b756d1e3885b70e81647a85432e0f2d043167c9</id>
<content type='text'>
This test extracts values from a (key,value) map where multiple entries
can have the same key, and the entries are sorted by key, but not by
value.  The test incorrectly assumes that the values will be sorted as
well, so sort the output.
</content>
</entry>
<entry>
<title>lib/string_map: fix return type of string_cmp</title>
<updated>2019-03-06T01:46:41Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2019-03-02T18:10:51Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e88297c072e6bfbeaedc1287ec695ca37537255e'/>
<id>urn:sha1:e88297c072e6bfbeaedc1287ec695ca37537255e</id>
<content type='text'>
I can't figure out how checking the sign of a bool ever worked. The
following program demonstrates the problem (i.e. for me it prints 1).

 #include &lt;stdio.h&gt;
 #include &lt;stdbool.h&gt;
 int main(int argc, char **argv) {
    bool x;
    x = -1;
    printf("x = %d\n", x);
 }

This seems to be mandated by the C99 standard 6.3.1.2.
</content>
</entry>
<entry>
<title>lib: Add known broken test for string_map binary search.</title>
<updated>2019-03-06T01:46:41Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2019-03-05T18:56:29Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=09595cf577616f657fdfcd235c4e04d91b3c020a'/>
<id>urn:sha1:09595cf577616f657fdfcd235c4e04d91b3c020a</id>
<content type='text'>
Because the string_map functions are not exported, we test via message
properties.
</content>
</entry>
<entry>
<title>test: tests for python bindings get_property / get_properties</title>
<updated>2018-05-02T23:30:51Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2018-05-02T23:30:51Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f3f4297c7fb1ab57c1479e1c383ca5b35aae0700'/>
<id>urn:sha1:f3f4297c7fb1ab57c1479e1c383ca5b35aae0700</id>
<content type='text'>
These roughly replicate the equivalent C tests, although they rely on
the database state created by the former tests, since the python
bindings currently provide read-only access to properties.
</content>
</entry>
<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/dump: don't include tags when not asked for</title>
<updated>2017-06-01T10:07:32Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-05-08T01:44:23Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=11fda0bf2fd74b227d15a2bb6b36a8ce6403c8e9'/>
<id>urn:sha1:11fda0bf2fd74b227d15a2bb6b36a8ce6403c8e9</id>
<content type='text'>
Add in the analogous test for tags that is given for properties a few
lines below.
</content>
</entry>
<entry>
<title>test: add known broken test --include=properties</title>
<updated>2017-06-01T10:03:06Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-05-08T01:44:22Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e68022416d543e50d7cd4eaad218bddd90fdb805'/>
<id>urn:sha1:e68022416d543e50d7cd4eaad218bddd90fdb805</id>
<content type='text'>
Reported in [1], --include=properties currently implies
--include=tags, but it should not.

[1] id:87y3u8vjbo.fsf@tethera.net
</content>
</entry>
<entry>
<title>add property: query prefix to search for specific properties</title>
<updated>2016-09-21T21:14:25Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2016-07-08T09:15:36Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=693ca8d8a80438ce1e361e7e6d22288f52a11c55'/>
<id>urn:sha1:693ca8d8a80438ce1e361e7e6d22288f52a11c55</id>
<content type='text'>
We want to be able to query the properties directly, like:

   notmuch count property:foo=bar

which should return a count of messages where the property with key
"foo" has value equal to "bar".
</content>
</entry>
</feed>
