aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2008-01-26 10:47:55 +0200
committerLasse Collin <lasse.collin@tukaani.org>2008-01-26 10:47:55 +0200
commitc467b0defccf233d0c79234407bc38d7d09574d3 (patch)
tree2055c80a2c99198989199b3daeb62899bf634b32 /tests
parentReturn LZMA_HEADER_ERROR if LZMA_SYNC_FLUSH is used with any (diff)
downloadxz-c467b0defccf233d0c79234407bc38d7d09574d3.tar.xz
Added more test files.
Diffstat (limited to 'tests')
-rw-r--r--tests/files/README6
-rw-r--r--tests/files/bad-multi-none-block_3.lzmabin0 -> 58 bytes
-rw-r--r--tests/files/good-multi-none-block_2.lzmabin0 -> 58 bytes
3 files changed, 6 insertions, 0 deletions
diff --git a/tests/files/README b/tests/files/README
index b1d0b686..841ec2c1 100644
--- a/tests/files/README
+++ b/tests/files/README
@@ -105,6 +105,9 @@
Compressed Size and Uncompressed Size fields are present in the Data
Blocks. There is some Footer Padding between the Blocks.
+ good-multi-none-block_2.lzma has Index in Header Metadata Block. The
+ Uncompressed Size field is present in Data Blocks and no EOPM is used.
+
2.2. Bad Files
@@ -230,6 +233,9 @@
error before the end of the first Data Block; all Multi-Block decoders
must detect the file as corrupt at some point.
+ bad-multi-none-block_3.lzma has only the Compressed Size field in the
+ Block Header of the second Data Block and EOPM isn't used.
+
2.3. Malicious Files
diff --git a/tests/files/bad-multi-none-block_3.lzma b/tests/files/bad-multi-none-block_3.lzma
new file mode 100644
index 00000000..f5bc72be
--- /dev/null
+++ b/tests/files/bad-multi-none-block_3.lzma
Binary files differ
diff --git a/tests/files/good-multi-none-block_2.lzma b/tests/files/good-multi-none-block_2.lzma
new file mode 100644
index 00000000..901b030c
--- /dev/null
+++ b/tests/files/good-multi-none-block_2.lzma
Binary files differ