aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2008-09-30 13:27:28 +0300
committerLasse Collin <lasse.collin@tukaani.org>2008-09-30 13:27:28 +0300
commited3709000a3f17ecefab29b2235d7e2221b00003 (patch)
tree68bb3d04d594a4afe49d81dbcafb0199e27e5d98
parentFix conflicting Subblock helper filter's ID. (diff)
downloadxz-ed3709000a3f17ecefab29b2235d7e2221b00003.tar.xz
Added two test files.
-rw-r--r--tests/files/README6
-rw-r--r--tests/files/bad-0-footer_magic.lzmabin0 -> 32 bytes
-rw-r--r--tests/files/bad-0-header_magic.lzmabin0 -> 32 bytes
3 files changed, 6 insertions, 0 deletions
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 00000000..5d9e3894
--- /dev/null
+++ b/tests/files/bad-0-footer_magic.lzma
Binary files differ
diff --git a/tests/files/bad-0-header_magic.lzma b/tests/files/bad-0-header_magic.lzma
new file mode 100644
index 00000000..5984a453
--- /dev/null
+++ b/tests/files/bad-0-header_magic.lzma
Binary files differ