✔ isRunId accepts the run id shape and nothing else (1.84367ms)
✔ a missing data root or runs directory lists nothing (2.700807ms)
✔ runs as a regular file lists nothing, as before (1.033316ms)
✔ listRunIds keeps r- names only, sorted oldest first (1.32646ms)
✔ listRunRecords returns each result, or null for an incomplete or unreadable one (3.42376ms)
✔ readRunRecord returns documents and artifacts in directory order (1.65341ms)
✔ readRunRecord is null for a missing run, a dangling link or a file (1.089868ms)
✔ readRunRecord and readRunDocument refuse an invalid run id before touching the disk (1.018263ms)
✔ readRunDocument reads only the three run documents (2.607684ms)
✔ a link inside the data root is followed (1.72714ms)
✔ a data root that is itself a link is trusted as configured (1.101493ms)
✔ a run directory linked out of the data root is never read (1.204336ms)
✔ a document linked out of the data root reads as null (2.271677ms)
✔ a runs directory linked out of the data root refuses (0.930102ms)
✔ a relative link that climbs out of the data root refuses (0.643793ms)
✔ a sibling whose name starts with the data root's name is outside it (0.780072ms)
✔ a link loop refuses instead of reading as missing (1.056981ms)
✔ an unreadable runs directory refuses instead of listing nothing (0.657066ms)
✔ an unreadable run directory refuses instead of reading as missing (0.82135ms)
✔ a link to the data root's parent is outside it (0.603085ms)
✔ listRunIds sorts whatever order the directory returns (1.157629ms)
✔ the readers write nothing (3.625933ms)
✔ no pointer is null (2.573356ms)
✔ the pointer release.sh writes reads back (1.601548ms)
✔ a pointer that isn't the version 1 shape refuses with exit 2 (2.886359ms)
✔ a pointer that is a directory refuses with exit 4 (1.00578ms)
✔ a state file linked out of the data root refuses (1.827811ms)
✔ a state directory linked out of the data root refuses (0.966807ms)
✔ a missing log is empty (0.590111ms)
✔ the log reads oldest first and counts malformed lines (1.749904ms)
✔ last must be a positive integer (0.741643ms)
✔ the state readers write nothing (1.380717ms)
✔ list prints each run in the established format (109.05177ms)
✔ show prints the run in the established format (106.424344ms)
✔ show of a missing run and an invalid id exit 4 as before (151.998567ms)
✔ list and show refuse a runs directory linked out of the data root (198.84273ms)
✔ show refuses a run linked out of the data root; list reports it unknown (214.31565ms)
ℹ tests 37
ℹ suites 0
ℹ pass 37
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 861.341071
