47 lines
2.6 KiB
Plaintext
47 lines
2.6 KiB
Plaintext
✔ isRunId accepts the run id shape and nothing else (0.965437ms)
|
||
✔ a missing data root or runs directory lists nothing (1.475094ms)
|
||
✔ runs as a regular file lists nothing, as before (0.530968ms)
|
||
✔ listRunIds keeps r- names only, sorted oldest first (0.699171ms)
|
||
✔ listRunRecords returns each result, or null for an incomplete or unreadable one (1.781005ms)
|
||
✔ readRunRecord returns documents and artifacts in directory order (0.916419ms)
|
||
✔ readRunRecord is null for a missing run, a dangling link or a file (0.587172ms)
|
||
✔ readRunRecord and readRunDocument refuse an invalid run id before touching the disk (0.652461ms)
|
||
✔ readRunDocument reads only the three run documents (0.499342ms)
|
||
✔ a link inside the data root is followed (0.889387ms)
|
||
✔ a data root that is itself a link is trusted as configured (0.553199ms)
|
||
✔ a run directory linked out of the data root is never read (0.575368ms)
|
||
✔ a document linked out of the data root reads as null (0.894385ms)
|
||
✔ a runs directory linked out of the data root refuses (0.51067ms)
|
||
✔ a relative link that climbs out of the data root refuses (0.396113ms)
|
||
✔ a sibling whose name starts with the data root's name is outside it (0.499228ms)
|
||
✔ a link loop refuses instead of reading as missing (0.684475ms)
|
||
✔ an unreadable runs directory refuses instead of listing nothing (0.383259ms)
|
||
✔ an unreadable run directory refuses instead of reading as missing (0.467145ms)
|
||
✔ a link to the data root's parent is outside it (0.369657ms)
|
||
✔ listRunIds sorts whatever order the directory returns (0.670714ms)
|
||
✔ the readers write nothing (1.473542ms)
|
||
✔ no pointer is null (1.564788ms)
|
||
✔ the pointer release.sh writes reads back (1.031358ms)
|
||
✔ a pointer that isn't the version 1 shape refuses with exit 2 (1.483582ms)
|
||
✔ a pointer that is a directory refuses with exit 4 (0.499812ms)
|
||
✔ a state file linked out of the data root refuses (1.409385ms)
|
||
✔ a state directory linked out of the data root refuses (0.530763ms)
|
||
✔ a missing log is empty (0.381369ms)
|
||
✔ the log reads oldest first and counts malformed lines (0.826565ms)
|
||
✔ last must be a positive integer (0.441409ms)
|
||
✔ the state readers write nothing (0.824495ms)
|
||
✔ list prints each run in the established format (71.57906ms)
|
||
✔ show prints the run in the established format (64.020206ms)
|
||
✔ show of a missing run and an invalid id exit 4 as before (101.737552ms)
|
||
✔ list and show refuse a runs directory linked out of the data root (131.150958ms)
|
||
✔ show refuses a run linked out of the data root; list reports it unknown (134.659276ms)
|
||
ℹ tests 37
|
||
ℹ suites 0
|
||
ℹ pass 37
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 547.924201
|
||
rc=0
|