aboutsummaryrefslogtreecommitdiff
path: root/tests/files
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2011-03-31 12:22:55 +0300
committerLasse Collin <lasse.collin@tukaani.org>2011-03-31 13:08:10 +0300
commitaf9d48d5515eadef689b1ce9ffb91e4dbcbc7f35 (patch)
tree0b8b9a4e838b8e7b5f800fe6338736c53882d5d7 /tests/files
parentliblzma: Fix decoding of LZMA2 streams having no uncompressed data. (diff)
downloadxz-af9d48d5515eadef689b1ce9ffb91e4dbcbc7f35.tar.xz
Tests: Add a new file to test empty LZMA2 streams.
Diffstat (limited to 'tests/files')
-rw-r--r--tests/files/README4
-rw-r--r--tests/files/good-1-lzma2-5.xzbin0 -> 52 bytes
2 files changed, 4 insertions, 0 deletions
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 00000000..339d1c30
--- /dev/null
+++ b/tests/files/good-1-lzma2-5.xz
Binary files differ