|
41 | 41 | good-0catpad-empty.xz has two zero-Block Streams concatenated with |
42 | 42 | four-byte Stream Padding between the Streams. |
43 | 43 |
|
| 44 | + good-2cat.xz has two Streams with one Block each. |
| 45 | + |
44 | 46 | good-1-check-none.xz has one Stream with one Block with two |
45 | 47 | uncompressed LZMA2 chunks and no integrity check. |
46 | 48 |
|
|
292 | 294 | Uncompressed Size bytes of output will have been produced but |
293 | 295 | the LZMA2 decoder doesn't indicate end of stream. |
294 | 296 |
|
| 297 | + bad-3-corrupt_lzma2.xz has three Streams in it. The first and third |
| 298 | + streams are valid xz Streams. The middle Stream has a correct Stream |
| 299 | + Header, Block Header, Index and Stream Footer. Only the LZMA2 data |
| 300 | + is corrupt. This file should decompress if --single-stream is used. |
| 301 | + |
295 | 302 |
|
296 | 303 | 3. Descriptions of Individual .lzma Files |
297 | 304 |
|
|
308 | 315 | will give an error at the end of the file after producing the |
309 | 316 | correct uncompressed output. |
310 | 317 |
|
| 318 | + good-small_compressed.lzma was created with a small dictionary (2^16). |
| 319 | + It contains the string "Hello World" repeated 100,000 times. This tests |
| 320 | + match decoding and wrapping the dictionary. |
| 321 | + |
| 322 | + good-large_compressed.lzma was created with a mix of repeated |
| 323 | + characters and random data to test a data stream containing many |
| 324 | + matches and many literals. |
| 325 | + |
311 | 326 |
|
312 | 327 | 3.2. Bad Files |
313 | 328 |
|
|
329 | 344 | bad-too_small_size-without_eopm-3.lzma is like -1 above but instead |
330 | 345 | of a literal the problem occurs in the middle of a match. |
331 | 346 |
|
| 347 | + bad-dict_size.lzma has a valid dictionary size according to the .lzma |
| 348 | + File Format, but will be rejected by XZ Utils because it is not 2^n or |
| 349 | + 2^n + 2^(n-1). |
| 350 | + |
332 | 351 |
|
333 | 352 | 4. Descriptions of Individual .lz (lzip) Files |
334 | 353 |
|
|
0 commit comments