mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-01 18:54:31 +01:00
reads_of counts reads by buffer address and never forgets them, so a buffer allocated where another test's freed buffer was read starts with that count. linked_pages_read_the_file_once_and_a_blank_page_keeps_its_crop_box asserted reads_of(&blob) == 0 and failed once that way under 16 test threads. Each read now gets a sequence number. read_mark returns the next one and reads_of_since counts only the reads at or after a mark. The linked-pages test takes a mark before opening the file.