43 lines
2.4 KiB
Plaintext
43 lines
2.4 KiB
Plaintext
✔ isRunId accepts the run id shape and nothing else (1.679687ms)
|
||
✔ a missing data root or runs directory lists nothing (1.711645ms)
|
||
✔ runs as a regular file lists nothing, as before (0.711141ms)
|
||
✔ listRunIds keeps r- names only, sorted oldest first (0.883213ms)
|
||
✔ listRunRecords returns each result, or null for an incomplete or unreadable one (2.444986ms)
|
||
✔ readRunRecord returns documents and artifacts in directory order (1.167168ms)
|
||
✔ readRunRecord is null for a missing run, a dangling link or a file (0.70133ms)
|
||
✔ readRunRecord and readRunDocument refuse an invalid run id before touching the disk (0.793561ms)
|
||
✔ readRunDocument reads only the three run documents (0.730363ms)
|
||
✔ a link inside the data root is followed (1.147751ms)
|
||
✔ a data root that is itself a link is trusted as configured (0.641352ms)
|
||
✔ a run directory linked out of the data root is never read (0.659011ms)
|
||
✔ a document linked out of the data root reads as null (1.093445ms)
|
||
✔ a runs directory linked out of the data root refuses (0.615519ms)
|
||
✔ a relative link that climbs out of the data root refuses (0.563326ms)
|
||
✔ a sibling whose name starts with the data root's name is outside it (0.703948ms)
|
||
✔ a link loop refuses instead of reading as missing (0.914245ms)
|
||
✔ an unreadable runs directory refuses instead of listing nothing (0.587674ms)
|
||
✔ the readers write nothing (2.658199ms)
|
||
✔ no pointer is null (2.102149ms)
|
||
✔ the pointer release.sh writes reads back (1.402897ms)
|
||
✔ a pointer that isn't the version 1 shape refuses with exit 2 (2.240364ms)
|
||
✔ a pointer that is a directory refuses with exit 4 (0.676911ms)
|
||
✔ a state file linked out of the data root refuses (2.216034ms)
|
||
✔ a state directory linked out of the data root refuses (0.96548ms)
|
||
✔ a missing log is empty (0.663032ms)
|
||
✔ the log reads oldest first and counts malformed lines (1.490356ms)
|
||
✔ last must be a positive integer (0.835225ms)
|
||
✔ the state readers write nothing (1.481171ms)
|
||
✔ list prints each run in the established format (94.815455ms)
|
||
✔ show prints the run in the established format (81.715499ms)
|
||
✔ show of a missing run and an invalid id exit 4 as before (145.886523ms)
|
||
✔ list and show refuse a runs directory linked out of the data root (171.425218ms)
|
||
✔ show refuses a run linked out of the data root; list reports it unknown (196.821506ms)
|
||
ℹ tests 34
|
||
ℹ suites 0
|
||
ℹ pass 34
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 774.958121
|