test/data: add enwik5.lzma2-chunk-max-1-13.xz

It was created wih a custom xz binary (built from the source at
https://github.com/tukaani-project/xz), with this command:
  xz --compress --keep --stdout enwik5 > enwik5.lzma2-chunk-max-1-13.xz
after applying this patch to xz's src/liblzma/lzma/lzma2_encoder.h:

-#define LZMA2_CHUNK_MAX (UINT32_C(1) << 16)
+#define LZMA2_CHUNK_MAX (UINT32_C(1) << 13)

The resultant enwik5.lzma2-chunk-max-1-13.xz file has multiple LZMA2
chunks, unlike the existing enwik5.xz (created with the normal chunk
limit). Wuffs' std/xz currently does not decode this new file properly.
This commit is contained in:
Nigel Tao committed 2024-02-13 22:17:35 +11:00
1 parent 749e3559f2
commit 2f7fbd0f34
2 files changed
+1

No files matched your search

Binary file not shown.
+1
View File
@@ -15,6 +15,7 @@ OK. 84e8999d test/data/artificial-xz-filter/xz-filter-08-84e8999d-armthumb.dat.x
OK. 0353bd24 test/data/artificial-xz-filter/xz-filter-09-0353bd24-sparc.dat.xz
OK. dfdb871b test/data/artificial-xz-filter/xz-filter-0a-dfdb871b-arm64.dat.xz
OK. acef87f1 test/data/enwik5.lzma
BAD 3506b4c3 test/data/enwik5.lzma2-chunk-max-1-13.xz
OK. acef87f1 test/data/enwik5.xz
OK. 3db2cdc6 test/data/midsummer.txt.bz2
OK. 3db2cdc6 test/data/midsummer.txt.gz