[Xapian-tickets] [Xapian] #823: Unit test ioblock1 failure
Xapian
nobody at xapian.org
Tue Jan 16 01:23:18 GMT 2024
#823: Unit test ioblock1 failure
--------------------------+-------------------------------
Reporter: someplaceguy | Owner: Olly Betts
Type: defect | Status: assigned
Priority: normal | Milestone: 1.4.25
Component: Test Suite | Version: 1.4.24
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: Linux
--------------------------+-------------------------------
Comment (by Olly Betts):
Change both occurrences of `12` in these lines to `132` (`BLOCK_SIZE` is
1024 here):
```
io_write_block(fd, buf.data(), BLOCK_SIZE, 12);
out.resize(BLOCK_SIZE);
io_read_block(fd, &out[0], BLOCK_SIZE, 12);
TEST(buf == out);
```
--
Ticket URL: <https://trac.xapian.org/ticket/823#comment:10>
Xapian <https://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list