Files
mu4e/lib
Jakub Sitnicki ede481d4c0 mu: Test splicing child containers when there is only one thread
This test reproduces a regression introduced by commit 97101f1f82
("mu: Prune empty container when an only child gets promoted to the
root set").

When the results of a mu-find query contain only a one thread:

$ mu find --threads --fields 'd s' ''
Sat 09 Aug 2014 07:00:00 PM CEST [mu4e] Test Message
  `-> Sat 09 Aug 2014 08:30:00 PM CEST Re: [mu4e] Test Message

... and we narrow down the query in such a way that the root message
gets excluded, then a crash occurs:

$ mu find --threads --fields 'd s' '' date:2014-08-09/20:00..2014-08-09/21:00
**
ERROR:mu-container.c:117:mu_container_append_siblings: assertion failed: (c)
Aborted (core dumped)

Reported-by: Josiah Schwab <jschwab@gmail.com>
2014-08-15 10:10:39 +02:00
..
2013-07-21 14:44:44 +03:00
2013-03-30 11:32:07 +02:00
2013-03-30 11:32:07 +02:00
2013-03-30 11:32:07 +02:00
2013-12-21 10:01:04 -08:00
2013-03-30 11:32:07 +02:00
2013-03-30 11:32:07 +02:00
2013-03-30 11:32:07 +02:00
2013-12-01 20:21:44 +02:00
2013-06-24 22:44:36 +03:00
2013-03-30 11:32:07 +02:00
2013-03-30 11:32:07 +02:00
2013-03-30 11:32:07 +02:00
2013-03-30 11:32:07 +02:00
2013-04-30 21:53:16 +03:00
2013-03-30 11:32:07 +02:00
2013-03-30 11:32:07 +02:00
2013-03-30 11:32:07 +02:00
2013-05-15 00:42:33 +03:00
2013-06-24 22:44:36 +03:00
2013-07-21 14:44:44 +03:00
2013-03-30 11:32:07 +02:00
2013-05-13 22:30:27 +03:00
2013-03-30 11:32:07 +02:00
2013-03-30 11:32:07 +02:00
2013-03-30 11:32:07 +02:00
2013-03-30 11:32:07 +02:00
2013-03-30 11:32:07 +02:00
2013-03-30 11:32:07 +02:00