✔ isRunId accepts the run id shape and nothing else (1.834258ms)
✔ a missing data root or runs directory lists nothing (2.636105ms)
✔ runs as a regular file lists nothing, as before (2.901636ms)
✔ listRunIds keeps r- names only, sorted oldest first (3.100526ms)
✔ listRunRecords returns each result, or null for an incomplete or unreadable one (6.571513ms)
✔ readRunRecord returns documents and artifacts in directory order (3.744909ms)
✔ readRunRecord is null for a missing run, a dangling link or a file (2.315471ms)
✔ readRunRecord and readRunDocument refuse an invalid run id before touching the disk (2.654758ms)
✔ readRunDocument reads only the three run documents (1.530565ms)
✔ a link inside the data root is followed (3.351352ms)
✔ a data root that is itself a link is trusted as configured (3.308438ms)
✔ a run directory linked out of the data root is never read (1.199258ms)
✔ a document linked out of the data root reads as null (4.723514ms)
✔ a runs directory linked out of the data root refuses (2.543252ms)
✔ a relative link that climbs out of the data root refuses (0.642465ms)
✔ a sibling whose name starts with the data root's name is outside it (0.865087ms)
✔ a link loop refuses instead of reading as missing (2.746857ms)
✔ an unreadable runs directory refuses instead of listing nothing (0.67741ms)
✔ an unreadable run directory refuses instead of reading as missing (0.735708ms)
✔ a link to the data root's parent is outside it (0.592559ms)
✔ listRunIds sorts whatever order the directory returns (2.772116ms)
✔ the readers write nothing (5.349486ms)
✔ no pointer is null (6.038816ms)
✔ the pointer release.sh writes reads back (2.191058ms)
✔ a pointer that isn't the version 1 shape refuses with exit 2 (4.422889ms)
✔ a pointer that is a directory refuses with exit 4 (3.41713ms)
✔ a state file linked out of the data root refuses (2.798861ms)
✔ a state directory linked out of the data root refuses (2.478415ms)
✔ a missing log is empty (1.394344ms)
✔ the log reads oldest first and counts malformed lines (1.455927ms)
✔ last must be a positive integer (2.396006ms)
✔ the state readers write nothing (1.735056ms)
✔ list prints each run in the established format (131.488575ms)
✔ show prints the run in the established format (92.166358ms)
✔ show of a missing run and an invalid id exit 4 as before (158.462467ms)
✔ list and show refuse a runs directory linked out of the data root (170.034985ms)
✔ show refuses a run linked out of the data root; list reports it unknown (201.838401ms)
ℹ tests 37
ℹ suites 0
ℹ pass 37
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 872.50546
