✔ isRunId accepts the run id shape and nothing else (1.51662ms)
✔ a missing data root or runs directory lists nothing (2.475089ms)
✔ runs as a regular file lists nothing, as before (1.23105ms)
✔ listRunIds keeps r- names only, sorted oldest first (1.353463ms)
✔ listRunRecords returns each result, or null for an incomplete or unreadable one (3.784699ms)
✔ readRunRecord returns documents and artifacts in directory order (1.983165ms)
✔ readRunRecord is null for a missing run, a dangling link or a file (1.313701ms)
✔ readRunRecord and readRunDocument refuse an invalid run id before touching the disk (1.315203ms)
✔ readRunDocument reads only the three run documents (1.070086ms)
✔ a link inside the data root is followed (1.390231ms)
✔ a data root that is itself a link is trusted as configured (1.13756ms)
✔ a run directory linked out of the data root is never read (1.289428ms)
✔ a document linked out of the data root reads as null (1.707909ms)
✔ a runs directory linked out of the data root refuses (0.751734ms)
✔ a relative link that climbs out of the data root refuses (0.807517ms)
✔ a sibling whose name starts with the data root's name is outside it (0.930121ms)
✔ a link loop refuses instead of reading as missing (4.279406ms)
✔ an unreadable runs directory refuses instead of listing nothing (1.054034ms)
✔ an unreadable run directory refuses instead of reading as missing (1.037179ms)
✔ a link to the data root's parent is outside it (0.766076ms)
✔ listRunIds sorts whatever order the directory returns (1.561169ms)
✔ the readers write nothing (4.251191ms)
✔ no pointer is null (2.961101ms)
✔ the pointer release.sh writes reads back (2.02442ms)
✔ a pointer that isn't the version 1 shape refuses with exit 2 (5.513029ms)
✔ a pointer that is a directory refuses with exit 4 (1.812389ms)
✔ a state file linked out of the data root refuses (1.807408ms)
✔ a state directory linked out of the data root refuses (1.064741ms)
✔ a missing log is empty (0.778107ms)
✔ the log reads oldest first and counts malformed lines (1.719825ms)
✔ last must be a positive integer (0.79633ms)
✔ the state readers write nothing (1.960078ms)
✔ list prints each run in the established format (121.641214ms)
✔ show prints the run in the established format (103.243231ms)
✔ show of a missing run and an invalid id exit 4 as before (168.245538ms)
✔ list and show refuse a runs directory linked out of the data root (247.465101ms)
✔ show refuses a run linked out of the data root; list reports it unknown (182.280266ms)
ℹ tests 37
ℹ suites 0
ℹ pass 37
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 914.239511
