Re: [PATCH 1/2] test: notmuch show --format=raw for 4096 byte messages.

2019-05-01 Thread David Bremner
Tomi Ollila writes: > On Sun, Apr 28 2019, David Bremner wrote: > >> Rob Browning isolated a bug where files of exactly 4096 bytes generate >> errors because of a zero byte read. > > This happens to be effective test in case where FILE buffering uses 4096 > byte buffers. If it used any other size

Re: [PATCH 1/2] test: notmuch show --format=raw for 4096 byte messages.

2019-05-01 Thread Tomi Ollila
On Sun, Apr 28 2019, David Bremner wrote: > Rob Browning isolated a bug where files of exactly 4096 bytes generate > errors because of a zero byte read. This happens to be effective test in case where FILE buffering uses 4096 byte buffers. If it used any other size then this is null test. So th

[PATCH 1/2] test: notmuch show --format=raw for 4096 byte messages.

2019-04-28 Thread David Bremner
Rob Browning isolated a bug where files of exactly 4096 bytes generate errors because of a zero byte read. --- test/T210-raw.sh | 29 + 1 file changed, 29 insertions(+) diff --git a/test/T210-raw.sh b/test/T210-raw.sh index 99fdef72..e1dd6064 100755 --- a/test/T210-raw