From ed3709000a3f17ecefab29b2235d7e2221b00003 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Tue, 30 Sep 2008 13:27:28 +0300 Subject: [PATCH] Added two test files. --- tests/files/README | 6 ++++++ tests/files/bad-0-footer_magic.lzma | Bin 0 -> 32 bytes tests/files/bad-0-header_magic.lzma | Bin 0 -> 32 bytes 3 files changed, 6 insertions(+) create mode 100644 tests/files/bad-0-footer_magic.lzma create mode 100644 tests/files/bad-0-header_magic.lzma diff --git a/tests/files/README b/tests/files/README index 7c7f4e18..4f963627 100644 --- a/tests/files/README +++ b/tests/files/README @@ -126,6 +126,12 @@ bad-0-empty-truncated.lzma is good-0-empty.lzma without the last byte of the file. + bad-0-header_magic.lzma is good-0-empty.lzma but with one byte wrong + in the Header Magic Bytes field. + + bad-0-footer_magic.lzma is good-0-empty.lzma but with one byte wrong + in the Footer Magic Bytes field. + bad-0-nonempty_index.lzma has no Blocks but Index claims that there is one Block. diff --git a/tests/files/bad-0-footer_magic.lzma b/tests/files/bad-0-footer_magic.lzma new file mode 100644 index 0000000000000000000000000000000000000000..5d9e3894bc2d112e987aee4788bde03f26ef98b6 GIT binary patch literal 32 kcmexsUKJ6=z`&TPbkB?d2xRWNC{A#i$;$}hFh)iI0FqV*i~s-t literal 0 HcmV?d00001 diff --git a/tests/files/bad-0-header_magic.lzma b/tests/files/bad-0-header_magic.lzma new file mode 100644 index 0000000000000000000000000000000000000000..5984a453bf873ee0cbadc55efa71f26f0fa3da24 GIT binary patch literal 32 kcmexsUKJ6^z`&TPbkB?d2xRWNC{A#i$;$}hFh)iJ0FpchjQ{`u literal 0 HcmV?d00001