50 lines
3.0 KiB
Plaintext
50 lines
3.0 KiB
Plaintext
✔ isRunId accepts the run id shape and nothing else (1.770998ms)
|
||
✔ a missing data root or runs directory lists nothing (1.989138ms)
|
||
✔ runs as a regular file lists nothing, as before (0.715163ms)
|
||
✔ listRunIds keeps r- names only, sorted oldest first (0.840387ms)
|
||
✔ listRunRecords returns each result, or null for an incomplete or unreadable one (3.317939ms)
|
||
✔ readRunRecord returns documents and artifacts in directory order (1.76526ms)
|
||
✔ readRunRecord is null for a missing run, a dangling link or a file (1.065639ms)
|
||
✔ readRunRecord and readRunDocument refuse an invalid run id before touching the disk (0.984326ms)
|
||
✔ readRunDocument reads only the three run documents (0.834364ms)
|
||
✔ a link inside the data root is followed (1.595987ms)
|
||
✔ a data root that is itself a link is trusted as configured (1.010003ms)
|
||
✔ a run directory linked out of the data root is never read (1.037756ms)
|
||
✔ a document linked out of the data root reads as null (1.641586ms)
|
||
✔ a runs directory linked out of the data root refuses (0.903957ms)
|
||
✔ a relative link that climbs out of the data root refuses (0.782914ms)
|
||
✔ a sibling whose name starts with the data root's name is outside it (0.808601ms)
|
||
✔ a link loop refuses instead of reading as missing (1.029557ms)
|
||
✔ an unreadable runs directory refuses instead of listing nothing (0.686696ms)
|
||
✔ an unreadable run directory refuses instead of reading as missing (1.001154ms)
|
||
✔ a link to the data root's parent is outside it (0.71137ms)
|
||
✔ listRunIds sorts whatever order the directory returns (1.218126ms)
|
||
✔ listRunRecords lists an r- name that isn't a valid run id, as before (0.870566ms)
|
||
✔ the readers write nothing (3.448265ms)
|
||
✔ no pointer is null (3.344725ms)
|
||
✔ the pointer release.sh writes reads back (2.153513ms)
|
||
✔ a pointer that isn't the version 1 shape refuses with exit 2 (3.223291ms)
|
||
✔ a pointer that is a directory refuses with exit 4 (1.011091ms)
|
||
✔ a state file linked out of the data root refuses (1.299045ms)
|
||
✔ a state directory linked out of the data root refuses (0.646832ms)
|
||
✔ a state directory linked out to nothing reads as no release and an empty log (0.530058ms)
|
||
✔ a missing log is empty (0.464916ms)
|
||
✔ the log reads oldest first and counts malformed lines (1.567595ms)
|
||
✔ last must be a positive integer (0.777274ms)
|
||
✔ the state readers write nothing (1.438478ms)
|
||
✔ list prints each run in the established format (119.752516ms)
|
||
✔ show prints the run in the established format (102.354027ms)
|
||
✔ show of a missing run and an invalid id exit 4 as before (150.446742ms)
|
||
✔ list and show refuse a runs directory linked out of the data root (160.872649ms)
|
||
✔ show refuses a run linked out of the data root; list reports it unknown (173.701152ms)
|
||
✔ list shows an r- name that isn't a valid run id, as before (93.332958ms)
|
||
✔ show refuses an invalid id before reading the config (52.02463ms)
|
||
ℹ tests 41
|
||
ℹ suites 0
|
||
ℹ pass 41
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 926.712895
|