From c467b0defccf233d0c79234407bc38d7d09574d3 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sat, 26 Jan 2008 10:47:55 +0200 Subject: [PATCH] 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 diff --git a/tests/files/README b/tests/files/README index b1d0b68..841ec2c 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 0000000000000000000000000000000000000000..f5bc72be8e863732717c882d4ba1586517247690 GIT binary patch literal 58 zcmezG6Xom3An@}4*7FM(*f^MYc-Yt(fIxwP%_B7@C!Y(*7GPix&o9bJQ3P@pFfcRo KO0Wq;Mgai5Y7B<} literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..901b030ce545494614ef7cf25396b76e8e1f7eed GIT binary patch literal 58 zcmezG6Xom3An@}4*7FM(*f^MYc-Yt(fIxwP%_B7@C!Y(