diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-11-19 20:46:52 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-11-19 20:46:52 +0200 |
commit | e114502b2bc371e4a45449832cb69be036360722 (patch) | |
tree | 449c41d0408f99926de202611091747f1fbe2f85 /tests/files | |
parent | Fixed the test that should have been fixed as part (diff) | |
download | xz-e114502b2bc371e4a45449832cb69be036360722.tar.xz |
Oh well, big messy commit again. Some highlights:
- Updated to the latest, probably final file format version.
- Command line tool reworked to not use threads anymore.
Threading will probably go into liblzma anyway.
- Memory usage limit is now about 30 % for uncompression
and about 90 % for compression.
- Progress indicator with --verbose
- Simplified --help and full --long-help
- Upgraded to the last LGPLv2.1+ getopt_long from gnulib.
- Some bug fixes
Diffstat (limited to 'tests/files')
47 files changed, 9 insertions, 3 deletions
diff --git a/tests/files/README b/tests/files/README index 9818d3f1..8f0a73a7 100644 --- a/tests/files/README +++ b/tests/files/README @@ -172,11 +172,14 @@ bad-1-block_header-3.xz has wrong CRC32 in Block Header. - bad-1-block_header-4.xz has too big Compressed Size (2^63 bytes while - maximum is 2^63 - 4 bytes) in Block Header. It's important that the - file gets rejected due to invalid Compressed Size value; the decoder + bad-1-block_header-4.xz has too big Compressed Size in Block Header + (2^64 - 1 bytes while maximum is a little less, because the whole + Block must stay smaller than 2^64). It's important that the file + gets rejected due to invalid Compressed Size value; the decoder must not try decoding the Compressed Data field. + bad-1-block_header-5.xz has zero as Compressed Size in Block Header. + bad-2-index-1.xz has wrong Total Sizes in Index. bad-2-index-2.xz has wrong Uncompressed Sizes in Index. @@ -185,6 +188,9 @@ bad-2-index-4.xz wrong CRC32 in Index. + bad-2-index-5.xz has zero as Total Size. It is important that the file + gets rejected specifically due to Total Size having an invalid value. + bad-2-compressed_data_padding.xz has non-nul byte in the padding of the Compressed Data field of the first Block. diff --git a/tests/files/bad-1-block_header-1.xz b/tests/files/bad-1-block_header-1.xz Binary files differindex e126a419..d991536a 100644 --- a/tests/files/bad-1-block_header-1.xz +++ b/tests/files/bad-1-block_header-1.xz diff --git a/tests/files/bad-1-block_header-2.xz b/tests/files/bad-1-block_header-2.xz Binary files differindex e3e8166d..ae42ecf0 100644 --- a/tests/files/bad-1-block_header-2.xz +++ b/tests/files/bad-1-block_header-2.xz diff --git a/tests/files/bad-1-block_header-3.xz b/tests/files/bad-1-block_header-3.xz Binary files differindex 17955038..606cbd20 100644 --- a/tests/files/bad-1-block_header-3.xz +++ b/tests/files/bad-1-block_header-3.xz diff --git a/tests/files/bad-1-block_header-4.xz b/tests/files/bad-1-block_header-4.xz Binary files differindex be31ce04..e72dfbfc 100644 --- a/tests/files/bad-1-block_header-4.xz +++ b/tests/files/bad-1-block_header-4.xz diff --git a/tests/files/bad-1-block_header-5.xz b/tests/files/bad-1-block_header-5.xz Binary files differnew file mode 100644 index 00000000..96521129 --- /dev/null +++ b/tests/files/bad-1-block_header-5.xz diff --git a/tests/files/bad-1-check-crc32.xz b/tests/files/bad-1-check-crc32.xz Binary files differindex f8ec7d61..1ebe1310 100644 --- a/tests/files/bad-1-check-crc32.xz +++ b/tests/files/bad-1-check-crc32.xz diff --git a/tests/files/bad-1-check-crc64.xz b/tests/files/bad-1-check-crc64.xz Binary files differindex eb406ce6..cdb77093 100644 --- a/tests/files/bad-1-check-crc64.xz +++ b/tests/files/bad-1-check-crc64.xz diff --git a/tests/files/bad-1-check-sha256.xz b/tests/files/bad-1-check-sha256.xz Binary files differindex e33cee80..def7bff1 100644 --- a/tests/files/bad-1-check-sha256.xz +++ b/tests/files/bad-1-check-sha256.xz diff --git a/tests/files/bad-1-lzma2-1.xz b/tests/files/bad-1-lzma2-1.xz Binary files differindex f7ff6dd3..640f592e 100644 --- a/tests/files/bad-1-lzma2-1.xz +++ b/tests/files/bad-1-lzma2-1.xz diff --git a/tests/files/bad-1-lzma2-2.xz b/tests/files/bad-1-lzma2-2.xz Binary files differindex 3b279195..69ab07d4 100644 --- a/tests/files/bad-1-lzma2-2.xz +++ b/tests/files/bad-1-lzma2-2.xz diff --git a/tests/files/bad-1-lzma2-3.xz b/tests/files/bad-1-lzma2-3.xz Binary files differindex e1a20831..66f48c5d 100644 --- a/tests/files/bad-1-lzma2-3.xz +++ b/tests/files/bad-1-lzma2-3.xz diff --git a/tests/files/bad-1-lzma2-4.xz b/tests/files/bad-1-lzma2-4.xz Binary files differindex e0eb7aaa..ac970419 100644 --- a/tests/files/bad-1-lzma2-4.xz +++ b/tests/files/bad-1-lzma2-4.xz diff --git a/tests/files/bad-1-lzma2-5.xz b/tests/files/bad-1-lzma2-5.xz Binary files differindex 437aeed0..700464d5 100644 --- a/tests/files/bad-1-lzma2-5.xz +++ b/tests/files/bad-1-lzma2-5.xz diff --git a/tests/files/bad-1-lzma2-6.xz b/tests/files/bad-1-lzma2-6.xz Binary files differindex f87cab68..2bda0c4b 100644 --- a/tests/files/bad-1-lzma2-6.xz +++ b/tests/files/bad-1-lzma2-6.xz diff --git a/tests/files/bad-1-lzma2-7.xz b/tests/files/bad-1-lzma2-7.xz Binary files differindex 1a487ca7..8cc711c1 100644 --- a/tests/files/bad-1-lzma2-7.xz +++ b/tests/files/bad-1-lzma2-7.xz diff --git a/tests/files/bad-1-stream_flags-1.xz b/tests/files/bad-1-stream_flags-1.xz Binary files differindex fd77d474..6511773e 100644 --- a/tests/files/bad-1-stream_flags-1.xz +++ b/tests/files/bad-1-stream_flags-1.xz diff --git a/tests/files/bad-1-stream_flags-2.xz b/tests/files/bad-1-stream_flags-2.xz Binary files differindex a4a582ad..0c66b364 100644 --- a/tests/files/bad-1-stream_flags-2.xz +++ b/tests/files/bad-1-stream_flags-2.xz diff --git a/tests/files/bad-1-stream_flags-3.xz b/tests/files/bad-1-stream_flags-3.xz Binary files differindex f10b8d00..a9b1f983 100644 --- a/tests/files/bad-1-stream_flags-3.xz +++ b/tests/files/bad-1-stream_flags-3.xz diff --git a/tests/files/bad-1-vli-1.xz b/tests/files/bad-1-vli-1.xz Binary files differindex e2a08b9e..6514ab12 100644 --- a/tests/files/bad-1-vli-1.xz +++ b/tests/files/bad-1-vli-1.xz diff --git a/tests/files/bad-1-vli-2.xz b/tests/files/bad-1-vli-2.xz Binary files differindex 604e8186..c16941b4 100644 --- a/tests/files/bad-1-vli-2.xz +++ b/tests/files/bad-1-vli-2.xz diff --git a/tests/files/bad-2-compressed_data_padding.xz b/tests/files/bad-2-compressed_data_padding.xz Binary files differindex 1d0f58b7..382d0476 100644 --- a/tests/files/bad-2-compressed_data_padding.xz +++ b/tests/files/bad-2-compressed_data_padding.xz diff --git a/tests/files/bad-2-index-1.xz b/tests/files/bad-2-index-1.xz Binary files differindex 42efda0d..f51ed214 100644 --- a/tests/files/bad-2-index-1.xz +++ b/tests/files/bad-2-index-1.xz diff --git a/tests/files/bad-2-index-2.xz b/tests/files/bad-2-index-2.xz Binary files differindex ee5e89c2..d7d00ff3 100644 --- a/tests/files/bad-2-index-2.xz +++ b/tests/files/bad-2-index-2.xz diff --git a/tests/files/bad-2-index-3.xz b/tests/files/bad-2-index-3.xz Binary files differindex f51eaad8..62428b87 100644 --- a/tests/files/bad-2-index-3.xz +++ b/tests/files/bad-2-index-3.xz diff --git a/tests/files/bad-2-index-4.xz b/tests/files/bad-2-index-4.xz Binary files differindex 1b5b78e4..9cf2df65 100644 --- a/tests/files/bad-2-index-4.xz +++ b/tests/files/bad-2-index-4.xz diff --git a/tests/files/bad-2-index-5.xz b/tests/files/bad-2-index-5.xz Binary files differnew file mode 100644 index 00000000..0a792709 --- /dev/null +++ b/tests/files/bad-2-index-5.xz diff --git a/tests/files/good-1-3delta-lzma2.xz b/tests/files/good-1-3delta-lzma2.xz Binary files differindex 3edb4805..a0be1d00 100644 --- a/tests/files/good-1-3delta-lzma2.xz +++ b/tests/files/good-1-3delta-lzma2.xz diff --git a/tests/files/good-1-block_header-1.xz b/tests/files/good-1-block_header-1.xz Binary files differindex c0cc7200..fea5ad2f 100644 --- a/tests/files/good-1-block_header-1.xz +++ b/tests/files/good-1-block_header-1.xz diff --git a/tests/files/good-1-block_header-2.xz b/tests/files/good-1-block_header-2.xz Binary files differindex 5eb8575c..6b5dcb34 100644 --- a/tests/files/good-1-block_header-2.xz +++ b/tests/files/good-1-block_header-2.xz diff --git a/tests/files/good-1-block_header-3.xz b/tests/files/good-1-block_header-3.xz Binary files differindex 5e8dc78b..15653120 100644 --- a/tests/files/good-1-block_header-3.xz +++ b/tests/files/good-1-block_header-3.xz diff --git a/tests/files/good-1-check-crc32.xz b/tests/files/good-1-check-crc32.xz Binary files differindex 949a215d..6c89593d 100644 --- a/tests/files/good-1-check-crc32.xz +++ b/tests/files/good-1-check-crc32.xz diff --git a/tests/files/good-1-check-crc64.xz b/tests/files/good-1-check-crc64.xz Binary files differindex 6102c945..5a9915d2 100644 --- a/tests/files/good-1-check-crc64.xz +++ b/tests/files/good-1-check-crc64.xz diff --git a/tests/files/good-1-check-none.xz b/tests/files/good-1-check-none.xz Binary files differindex aab057d7..1e85faf3 100644 --- a/tests/files/good-1-check-none.xz +++ b/tests/files/good-1-check-none.xz diff --git a/tests/files/good-1-check-sha256.xz b/tests/files/good-1-check-sha256.xz Binary files differindex 141a4818..fdc556b6 100644 --- a/tests/files/good-1-check-sha256.xz +++ b/tests/files/good-1-check-sha256.xz diff --git a/tests/files/good-1-delta-lzma2.tiff.xz b/tests/files/good-1-delta-lzma2.tiff.xz Binary files differindex 744fb8d1..1f033bc5 100644 --- a/tests/files/good-1-delta-lzma2.tiff.xz +++ b/tests/files/good-1-delta-lzma2.tiff.xz diff --git a/tests/files/good-1-lzma2-1.xz b/tests/files/good-1-lzma2-1.xz Binary files differindex 96aff26e..d8d6489c 100644 --- a/tests/files/good-1-lzma2-1.xz +++ b/tests/files/good-1-lzma2-1.xz diff --git a/tests/files/good-1-lzma2-2.xz b/tests/files/good-1-lzma2-2.xz Binary files differindex 19631d48..7e8cdf1b 100644 --- a/tests/files/good-1-lzma2-2.xz +++ b/tests/files/good-1-lzma2-2.xz diff --git a/tests/files/good-1-lzma2-3.xz b/tests/files/good-1-lzma2-3.xz Binary files differindex 11c84ee6..c4c72be6 100644 --- a/tests/files/good-1-lzma2-3.xz +++ b/tests/files/good-1-lzma2-3.xz diff --git a/tests/files/good-1-sparc-lzma2.xz b/tests/files/good-1-sparc-lzma2.xz Binary files differindex 9111e39b..5c1c8600 100644 --- a/tests/files/good-1-sparc-lzma2.xz +++ b/tests/files/good-1-sparc-lzma2.xz diff --git a/tests/files/good-1-x86-lzma2.xz b/tests/files/good-1-x86-lzma2.xz Binary files differindex 4fbd0ee4..2c4a471a 100644 --- a/tests/files/good-1-x86-lzma2.xz +++ b/tests/files/good-1-x86-lzma2.xz diff --git a/tests/files/good-2-lzma2.xz b/tests/files/good-2-lzma2.xz Binary files differindex dd34b66a..bed5085c 100644 --- a/tests/files/good-2-lzma2.xz +++ b/tests/files/good-2-lzma2.xz diff --git a/tests/files/unsupported-block_header.xz b/tests/files/unsupported-block_header.xz Binary files differindex ee697e4d..38304429 100644 --- a/tests/files/unsupported-block_header.xz +++ b/tests/files/unsupported-block_header.xz diff --git a/tests/files/unsupported-check.xz b/tests/files/unsupported-check.xz Binary files differindex e2fe486b..c28355e7 100644 --- a/tests/files/unsupported-check.xz +++ b/tests/files/unsupported-check.xz diff --git a/tests/files/unsupported-filter_flags-1.xz b/tests/files/unsupported-filter_flags-1.xz Binary files differindex b4acab24..48b93731 100644 --- a/tests/files/unsupported-filter_flags-1.xz +++ b/tests/files/unsupported-filter_flags-1.xz diff --git a/tests/files/unsupported-filter_flags-2.xz b/tests/files/unsupported-filter_flags-2.xz Binary files differindex fa907dc2..c283359d 100644 --- a/tests/files/unsupported-filter_flags-2.xz +++ b/tests/files/unsupported-filter_flags-2.xz diff --git a/tests/files/unsupported-filter_flags-3.xz b/tests/files/unsupported-filter_flags-3.xz Binary files differindex 939ab5fe..26084984 100644 --- a/tests/files/unsupported-filter_flags-3.xz +++ b/tests/files/unsupported-filter_flags-3.xz |