From c467b0defccf233d0c79234407bc38d7d09574d3 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sat, 26 Jan 2008 10:47:55 +0200 Subject: Added more test files. --- tests/files/README | 6 ++++++ tests/files/bad-multi-none-block_3.lzma | Bin 0 -> 58 bytes tests/files/good-multi-none-block_2.lzma | Bin 0 -> 58 bytes 3 files changed, 6 insertions(+) create mode 100644 tests/files/bad-multi-none-block_3.lzma create mode 100644 tests/files/good-multi-none-block_2.lzma (limited to 'tests/files') 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 Binary files /dev/null and b/tests/files/bad-multi-none-block_3.lzma 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 Binary files /dev/null and b/tests/files/good-multi-none-block_2.lzma differ -- cgit v1.2.3