✔ isRunId accepts the run id shape and nothing else (1.129303ms)
✔ a missing data root or runs directory lists nothing (2.363755ms)
✔ runs as a regular file lists nothing, as before (0.81288ms)
✔ listRunIds keeps r- names only, sorted oldest first (0.872847ms)
✔ listRunRecords returns each result, or null for an incomplete or unreadable one (2.892326ms)
✔ readRunRecord returns documents and artifacts in directory order (1.545032ms)
✔ readRunRecord is null for a missing run, a dangling link or a file (0.947125ms)
✔ readRunRecord and readRunDocument refuse an invalid run id before touching the disk (0.861621ms)
✔ readRunDocument reads only the three run documents (0.744194ms)
✔ a link inside the data root is followed (2.213785ms)
✔ a data root that is itself a link is trusted as configured (0.840807ms)
✔ a run directory linked out of the data root is never read (0.832753ms)
✔ a document linked out of the data root reads as null (1.088125ms)
✔ a runs directory linked out of the data root refuses (0.797926ms)
✔ a relative link that climbs out of the data root refuses (0.741627ms)
✔ a sibling whose name starts with the data root's name is outside it (0.847544ms)
✔ a link loop refuses instead of reading as missing (1.021958ms)
✔ an unreadable runs directory refuses instead of listing nothing (0.767933ms)
✔ an unreadable run directory refuses instead of reading as missing (0.687222ms)
✔ a link to the data root's parent is outside it (0.483537ms)
✔ listRunIds sorts whatever order the directory returns (1.065985ms)
✔ the readers write nothing (3.274403ms)
✔ no pointer is null (2.908017ms)
✔ the pointer release.sh writes reads back (1.898894ms)
✔ a pointer that isn't the version 1 shape refuses with exit 2 (3.141146ms)
✔ a pointer that is a directory refuses with exit 4 (0.931434ms)
✔ a state file linked out of the data root refuses (2.22612ms)
✔ a state directory linked out of the data root refuses (0.984988ms)
✔ a missing log is empty (0.69135ms)
✔ the log reads oldest first and counts malformed lines (1.524874ms)
✔ last must be a positive integer (1.101485ms)
✔ the state readers write nothing (1.595899ms)
✔ list prints each run in the established format (102.108158ms)
✔ show prints the run in the established format (98.414356ms)
✔ show of a missing run and an invalid id exit 4 as before (161.801585ms)
✔ list and show refuse a runs directory linked out of the data root (218.443475ms)
✔ show refuses a run linked out of the data root; list reports it unknown (197.170014ms)
ℹ tests 37
ℹ suites 0
ℹ pass 37
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 845.97083
