50 lines
3.0 KiB
Plaintext
50 lines
3.0 KiB
Plaintext
✔ isRunId accepts the run id shape and nothing else (1.661527ms)
|
||
✔ a missing data root or runs directory lists nothing (2.489845ms)
|
||
✔ runs as a regular file lists nothing, as before (1.007024ms)
|
||
✔ listRunIds keeps r- names only, sorted oldest first (1.227195ms)
|
||
✔ listRunRecords returns each result, or null for an incomplete or unreadable one (3.072184ms)
|
||
✔ readRunRecord returns documents and artifacts in directory order (1.893272ms)
|
||
✔ readRunRecord is null for a missing run, a dangling link or a file (1.701173ms)
|
||
✔ readRunRecord and readRunDocument refuse an invalid run id before touching the disk (1.050582ms)
|
||
✔ readRunDocument reads only the three run documents (0.973167ms)
|
||
✔ a link inside the data root is followed (1.078984ms)
|
||
✔ a data root that is itself a link is trusted as configured (0.771344ms)
|
||
✔ a run directory linked out of the data root is never read (0.807758ms)
|
||
✔ a document linked out of the data root reads as null (1.271962ms)
|
||
✔ a runs directory linked out of the data root refuses (0.628472ms)
|
||
✔ a relative link that climbs out of the data root refuses (0.541068ms)
|
||
✔ a sibling whose name starts with the data root's name is outside it (0.635437ms)
|
||
✔ a link loop refuses instead of reading as missing (0.794793ms)
|
||
✔ an unreadable runs directory refuses instead of listing nothing (0.4774ms)
|
||
✔ an unreadable run directory refuses instead of reading as missing (0.590549ms)
|
||
✔ a link to the data root's parent is outside it (0.468851ms)
|
||
✔ listRunIds sorts whatever order the directory returns (1.298843ms)
|
||
✔ listRunRecords lists an r- name that isn't a valid run id, as before (0.588761ms)
|
||
✔ the readers write nothing (2.756404ms)
|
||
✔ no pointer is null (2.391745ms)
|
||
✔ the pointer release.sh writes reads back (1.972215ms)
|
||
✔ a pointer that isn't the version 1 shape refuses with exit 2 (3.084606ms)
|
||
✔ a pointer that is a directory refuses with exit 4 (0.898546ms)
|
||
✔ a state file linked out of the data root refuses (1.693041ms)
|
||
✔ a state directory linked out of the data root refuses (0.64316ms)
|
||
✔ a state directory linked out to nothing reads as no release and an empty log (0.624481ms)
|
||
✔ a missing log is empty (0.498985ms)
|
||
✔ the log reads oldest first and counts malformed lines (1.233284ms)
|
||
✔ last must be a positive integer (0.555806ms)
|
||
✔ the state readers write nothing (0.903086ms)
|
||
✔ list prints each run in the established format (116.699465ms)
|
||
✔ show prints the run in the established format (86.595596ms)
|
||
✔ show of a missing run and an invalid id exit 4 as before (122.19983ms)
|
||
✔ list and show refuse a runs directory linked out of the data root (163.737707ms)
|
||
✔ show refuses a run linked out of the data root; list reports it unknown (157.209126ms)
|
||
✔ list shows an r- name that isn't a valid run id, as before (76.12043ms)
|
||
✔ show refuses an invalid id before reading the config (57.803996ms)
|
||
ℹ tests 41
|
||
ℹ suites 0
|
||
ℹ pass 41
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 865.104009
|