50 lines
3.0 KiB
Plaintext
50 lines
3.0 KiB
Plaintext
✔ isRunId accepts the run id shape and nothing else (0.966743ms)
|
||
✔ a missing data root or runs directory lists nothing (1.583769ms)
|
||
✔ runs as a regular file lists nothing, as before (0.671755ms)
|
||
✔ listRunIds keeps r- names only, sorted oldest first (0.767585ms)
|
||
✔ listRunRecords returns each result, or null for an incomplete or unreadable one (2.014739ms)
|
||
✔ readRunRecord returns documents and artifacts in directory order (1.045739ms)
|
||
✔ readRunRecord is null for a missing run, a dangling link or a file (0.891383ms)
|
||
✔ readRunRecord and readRunDocument refuse an invalid run id before touching the disk (0.672891ms)
|
||
✔ readRunDocument reads only the three run documents (0.627308ms)
|
||
✔ a link inside the data root is followed (0.985388ms)
|
||
✔ a data root that is itself a link is trusted as configured (0.630768ms)
|
||
✔ a run directory linked out of the data root is never read (0.664926ms)
|
||
✔ a document linked out of the data root reads as null (0.913555ms)
|
||
✔ a runs directory linked out of the data root refuses (0.528674ms)
|
||
✔ a relative link that climbs out of the data root refuses (0.693208ms)
|
||
✔ a sibling whose name starts with the data root's name is outside it (0.552912ms)
|
||
✔ a link loop refuses instead of reading as missing (0.590648ms)
|
||
✔ an unreadable runs directory refuses instead of listing nothing (0.422715ms)
|
||
✔ an unreadable run directory refuses instead of reading as missing (0.528006ms)
|
||
✔ a link to the data root's parent is outside it (0.41202ms)
|
||
✔ listRunIds sorts whatever order the directory returns (0.801857ms)
|
||
✔ listRunRecords lists an r- name that isn't a valid run id, as before (0.528402ms)
|
||
✔ the readers write nothing (1.954826ms)
|
||
✔ no pointer is null (1.909539ms)
|
||
✔ the pointer release.sh writes reads back (1.154233ms)
|
||
✔ a pointer that isn't the version 1 shape refuses with exit 2 (1.589317ms)
|
||
✔ a pointer that is a directory refuses with exit 4 (0.559351ms)
|
||
✔ a state file linked out of the data root refuses (1.660618ms)
|
||
✔ a state directory linked out of the data root refuses (0.624989ms)
|
||
✔ a state directory linked out to nothing reads as no release and an empty log (0.467383ms)
|
||
✔ a missing log is empty (0.384301ms)
|
||
✔ the log reads oldest first and counts malformed lines (0.96115ms)
|
||
✔ last must be a positive integer (0.488488ms)
|
||
✔ the state readers write nothing (0.842149ms)
|
||
✔ list prints each run in the established format (84.344239ms)
|
||
✔ show prints the run in the established format (71.404103ms)
|
||
✔ show of a missing run and an invalid id exit 4 as before (106.875642ms)
|
||
✔ list and show refuse a runs directory linked out of the data root (140.804141ms)
|
||
✔ show refuses a run linked out of the data root; list reports it unknown (154.028031ms)
|
||
✔ list shows an r- name that isn't a valid run id, as before (68.332071ms)
|
||
✔ show refuses an invalid id before reading the config (38.208227ms)
|
||
ℹ tests 41
|
||
ℹ suites 0
|
||
ℹ pass 41
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 719.990904
|