diff --git a/tools/fixtures/cab.py b/tools/fixtures/cab.py index 9fd9113..2a3ae87 100644 --- a/tools/fixtures/cab.py +++ b/tools/fixtures/cab.py @@ -1,8 +1,10 @@ -# Cabinet fixtures (tools/fixtures.py): cabinets by gcab (stored and MSZIP folders, paths), lcab (stored) and our own +# Cabinet fixtures (tools/fixtures.py): cabinets by gcab (stored and MSZIP folders, paths), lcab (stored), our own # minimal cabinet builder below (MSZIP blocks deflated with the previous block as the zlib dictionary, several -# folders, reserve areas, attributes, UTF-8 names), the libmspack test cabinets read from the nix store (test data, -# not committed: normal / reserve / multi-part / Quantum / LZX samples), and our writer's output. The reference data -# is what cabextract extracts and lists (sizes, data CRCs, the DOS times as UTC); cabextract, gcab and 7z must extract +# folders, reserve areas, attributes, UTF-8 names; LZX and Quantum folders from the fixture compressors _lzx.py / +# _quantum.py, since no packaged tool writes them), the libmspack test cabinets read from the nix store (test data, +# not committed: normal / reserve / multi-part / mszip_lzx_qtm samples and the broken ones), and our writer's output. +# The reference data is what cabextract extracts and lists (sizes, data CRCs, the DOS times as UTC); every fixture +# LZX / Quantum cabinet must extract with cabextract to the original bytes, and cabextract, gcab and 7z must extract # our writer's cabinets to the same bytes. # tests/gen/cab.luau { cases = { { name, data, entries = { { name, size, crc, mtime } } } }, ours = { ok, log }, # spanned = { { name, data } }, bad = { { name, data } } }