Tests: Add a new file to test empty LZMA2 streams.
authorLasse Collin <lasse.collin@tukaani.org>
Thu, 31 Mar 2011 09:22:55 +0000 (12:22 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Thu, 31 Mar 2011 09:22:55 +0000 (12:22 +0300)
tests/files/README
tests/files/good-1-lzma2-5.xz [new file with mode: 0644]

index 392ff76..2f74cef 100644 (file)
     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 (file)
index 0000000..339d1c3
Binary files /dev/null and b/tests/files/good-1-lzma2-5.xz differ