Added two test files.
authorLasse Collin <lasse.collin@tukaani.org>
Tue, 30 Sep 2008 10:27:28 +0000 (13:27 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Tue, 30 Sep 2008 10:27:28 +0000 (13:27 +0300)
tests/files/README
tests/files/bad-0-footer_magic.lzma [new file with mode: 0644]
tests/files/bad-0-header_magic.lzma [new file with mode: 0644]

index 7c7f4e1..4f96362 100644 (file)
     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 (file)
index 0000000..5d9e389
Binary files /dev/null and b/tests/files/bad-0-footer_magic.lzma differ
diff --git a/tests/files/bad-0-header_magic.lzma b/tests/files/bad-0-header_magic.lzma
new file mode 100644 (file)
index 0000000..5984a45
Binary files /dev/null and b/tests/files/bad-0-header_magic.lzma differ