Lasse Collin
ea57b9aa2c
Tests: Add a test file for lzma_index_append() integer overflow bug.
...
This test fails before commit 18d7facd38
.
test_files.sh now runs xz -l for bad-3-index-uncomp-overflow.xz
because only then the previously-buggy code path gets tested.
Normal decompression doesn't use lzma_index_append() at all.
Instead, lzma_index_hash functions are used and those already
did the overflow check.
2022-09-17 00:21:54 +03:00
Lasse Collin
372a0d12c9
Tests: Add the .lzma files to test_files.sh.
2022-07-24 11:37:44 +03:00
Lasse Collin
d2d484647d
Tests: Don't hide unexpected error messages in test_files.sh.
...
Hiding them makes no sense since normally there's no error
when testing the "good" files. With "bad" files errors are
expected and then it makes sense to keep the messages hidden.
2015-01-06 20:30:15 +02:00
Lasse Collin
ae74d1bdeb
test_files.sh: Fix the first line.
...
For some reason this prevented running the test only
on OS/2 and even on that it broke only recently.
Thanks to Elbert Pol.
2010-10-10 17:43:26 +03:00
Lasse Collin
11f51b6714
Make tests accommodate missing xz or xzdec.
2010-10-08 15:32:29 +03:00
Lasse Collin
02ddf09bc3
Put the interesting parts of XZ Utils into the public domain.
...
Some minor documentation cleanups were made at the same time.
2009-04-13 11:27:40 +03:00
Lasse Collin
1880a3927b
Renamed lzma to xz and lzmadec to xzdec. We create symlinks
...
lzma, unlzma, and lzcat in "make install" for backwards
compatibility with LZMA Utils 4.32.x; I'm not sure if this
should be the default though.
2008-11-19 23:52:24 +02:00
Lasse Collin
4c321a41c4
Renamed the test files from .lzma suffix to .xz suffix.
2008-09-30 17:43:55 +03:00
Lasse Collin
b4943ccf73
Avoid using ! in test_files.sh, because that doesn't work
...
with some ancient /bin/sh versions.
2008-01-08 12:29:58 +02:00
Lasse Collin
2fd2d18154
Cosmetic edit to test_files.sh.
2008-01-07 18:22:24 +02:00
Lasse Collin
908b2ac604
Added test_files.sh to test decoding of the files in
...
the tests/files directory. It doesn't test the malicious
files yet.
2008-01-07 13:49:19 +02:00