From af9d48d5515eadef689b1ce9ffb91e4dbcbc7f35 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Thu, 31 Mar 2011 12:22:55 +0300 Subject: [PATCH] Tests: Add a new file to test empty LZMA2 streams. --- tests/files/README | 4 ++++ tests/files/good-1-lzma2-5.xz | Bin 0 -> 52 bytes 2 files changed, 4 insertions(+) create mode 100644 tests/files/good-1-lzma2-5.xz diff --git a/tests/files/README b/tests/files/README index 392ff768..2f74cef2 100644 --- a/tests/files/README +++ b/tests/files/README @@ -87,6 +87,10 @@ uncompressed with dictionary reset, and third is LZMA with new properties but without dictionary reset. + good-1-lzma2-5.xz has an empty LZMA2 stream with only the end of + payload marker. XZ Utils 5.0.1 and older incorrectly see this file + as corrupt. + good-1-3delta-lzma2.xz has three Delta filters and LZMA2. diff --git a/tests/files/good-1-lzma2-5.xz b/tests/files/good-1-lzma2-5.xz new file mode 100644 index 0000000000000000000000000000000000000000..339d1c30c17f6358c7004c9ec071d81558b650c4 GIT binary patch literal 52 zcmexsUKJ6=z`&TPbkB^5L6K2_fq`K~L0=n?f&fNA2J30@#S@%n@-l)%7$c(qF$xMp literal 0 HcmV?d00001