aboutsummaryrefslogtreecommitdiff
path: root/tests
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 12:22:55 +0300
commitc3f4995586873d6a4fb7e451010a128571a9a370 (patch)
treeeb9ecf00909295f775ce6a0a002ef590d3e4d0c8 /tests
parentliblzma: Fix decoding of LZMA2 streams having no uncompressed data. (diff)
downloadxz-c3f4995586873d6a4fb7e451010a128571a9a370.tar.xz
Tests: Add a new file to test empty LZMA2 streams.
Diffstat (limited to 'tests')
-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