From c3f4995586873d6a4fb7e451010a128571a9a370 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Thu, 31 Mar 2011 12:22:55 +0300 Subject: 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 (limited to 'tests/files') 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 Binary files /dev/null and b/tests/files/good-1-lzma2-5.xz differ -- cgit v1.2.3