✔ isRunId accepts the run id shape and nothing else (1.748725ms)
✔ a missing data root or runs directory lists nothing (2.62682ms)
✔ runs as a regular file lists nothing, as before (0.946792ms)
✔ listRunIds keeps r- names only, sorted oldest first (1.233291ms)
✔ listRunRecords returns each result, or null for an incomplete or unreadable one (3.291242ms)
✔ readRunRecord returns documents and artifacts in directory order (1.713813ms)
✔ readRunRecord is null for a missing run, a dangling link or a file (1.29214ms)
✔ readRunRecord and readRunDocument refuse an invalid run id before touching the disk (1.833633ms)
✔ readRunDocument reads only the three run documents (0.879084ms)
✔ a link inside the data root is followed (1.653918ms)
✔ a data root that is itself a link is trusted as configured (1.299716ms)
✔ a run directory linked out of the data root is never read (3.611395ms)
✔ a document linked out of the data root reads as null (4.654578ms)
✔ a runs directory linked out of the data root refuses (1.553974ms)
✔ a relative link that climbs out of the data root refuses (0.913072ms)
✔ a sibling whose name starts with the data root's name is outside it (0.956986ms)
✔ a link loop refuses instead of reading as missing (1.278185ms)
✔ an unreadable runs directory refuses instead of listing nothing (0.756923ms)
✔ an unreadable run directory refuses instead of reading as missing (0.953906ms)
✔ a link to the data root's parent is outside it (0.694287ms)
✔ listRunIds sorts whatever order the directory returns (2.201433ms)
✔ the readers write nothing (3.639856ms)
✔ no pointer is null (2.887848ms)
✔ the pointer release.sh writes reads back (2.51019ms)
✔ a pointer that isn't the version 1 shape refuses with exit 2 (3.716029ms)
✔ a pointer that is a directory refuses with exit 4 (0.96141ms)
✔ a state file linked out of the data root refuses (2.368395ms)
✔ a state directory linked out of the data root refuses (1.703149ms)
✔ a missing log is empty (0.58268ms)
✔ the log reads oldest first and counts malformed lines (1.176573ms)
✔ last must be a positive integer (0.542446ms)
✔ the state readers write nothing (1.947461ms)
✔ list prints each run in the established format (113.565222ms)
✔ show prints the run in the established format (82.167185ms)
✔ show of a missing run and an invalid id exit 4 as before (136.70629ms)
✔ list and show refuse a runs directory linked out of the data root (178.235466ms)
✔ show refuses a run linked out of the data root; list reports it unknown (191.565769ms)
ℹ tests 37
ℹ suites 0
ℹ pass 37
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 777.874059
