aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2008-01-09 12:06:46 +0200
committerLasse Collin <lasse.collin@tukaani.org>2008-01-09 12:06:46 +0200
commit0e70fbe4032351aab13a1cd8e5deced105c0b276 (patch)
tree525d834d5c483c91b6cb3270daa7a667a74fda1d /tests
parentTake advantage of return_if_error() in block_decoder.c. (diff)
downloadxz-0e70fbe4032351aab13a1cd8e5deced105c0b276.tar.xz
Added good-single-none-empty_3.lzma and
bad-single-none-empty.lzma.
Diffstat (limited to 'tests')
-rw-r--r--tests/files/README6
-rw-r--r--tests/files/bad-single-none-empty.lzmabin0 -> 19 bytes
-rw-r--r--tests/files/good-single-none-empty_3.lzmabin0 -> 19 bytes
3 files changed, 6 insertions, 0 deletions
diff --git a/tests/files/README b/tests/files/README
index 84c9415c..e8f4160e 100644
--- a/tests/files/README
+++ b/tests/files/README
@@ -58,6 +58,9 @@
good-single-none-empty_2.lzma is an empty file with implicit Copy
filter and CRC32 as Check.
+ good-single-none-empty_3.lzma is an empty file with implicit Copy
+ filter, known Compressed Size, and no integrity Check.
+
good-single-lzma-empty.lzma is an empty file with LZMA filter and no
integrity Check.
@@ -85,6 +88,9 @@
with 0x5D appended to the end of the file. 0x5D is the most common
first byte of LZMA_Alone format file.
+ bad-single-none-empty.lzma is like good-single-none-empty_3.lzma but
+ with non-zero value in the Compressed Size field.
+
bad-single-data_after_eopm_1.lzma has LZMA+Subblock, where the Subblock
filter gives one byte of data to LZMA after LZMA has detected EOPM.
diff --git a/tests/files/bad-single-none-empty.lzma b/tests/files/bad-single-none-empty.lzma
new file mode 100644
index 00000000..3007e9a9
--- /dev/null
+++ b/tests/files/bad-single-none-empty.lzma
Binary files differ
diff --git a/tests/files/good-single-none-empty_3.lzma b/tests/files/good-single-none-empty_3.lzma
new file mode 100644
index 00000000..7e1d19b6
--- /dev/null
+++ b/tests/files/good-single-none-empty_3.lzma
Binary files differ