ws-arch2-cab: cab fixture header

This commit is contained in:
4DBug committed 2026-10-31 16:16:52 -05:00
1 parent 9761df1af1
commit df02b05c9f
1 file changed
+6 -4
+6 -4
View File
@@ -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 } } }