aboutsummaryrefslogtreecommitdiff
path: root/tests (follow)
AgeCommit message (Collapse)AuthorFilesLines
2008-12-27Use 28 MiB as memory usage limit for encoding in test_compress.sh.Lasse Collin1-1/+1
2008-12-15Bunch of liblzma API cleanups and fixes.Lasse Collin1-4/+6
2008-12-15Added two new test files.Lasse Collin3-0/+7
2008-11-25Remove the nowadays unneeded memory limitting malloc() wrapper.Lasse Collin2-116/+0
2008-11-19Renamed lzma to xz and lzmadec to xzdec. We create symlinksLasse Collin2-17/+16
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-19Oh well, big messy commit again. Some highlights:Lasse Collin49-33/+37
- 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
2008-10-09Fixed the test that should have been fixed as partLasse Collin1-1/+1
of 1e8e4fd1f3e50129b4541406ad765d2aa1233943.
2008-10-02Initial changes to change the suffix of the new format to .xz.Lasse Collin1-1/+2
This also fixes a bug related to --suffix option. Some issues with suffixes with --format=raw were not fixed.
2008-09-30Renamed the test files from .lzma suffix to .xz suffix.Lasse Collin59-68/+66
2008-09-30Added one more test file.Lasse Collin2-4/+11
2008-09-30Added two test files.Lasse Collin3-0/+6
2008-09-27Changed magic bytes to match the updated spec. FilenameLasse Collin54-0/+0
suffix wasn't changed yet.
2008-09-27Fix also test_compress.sh.Lasse Collin1-3/+3
2008-09-27Fixed compilation of test_filter_flags.c, which was broken byLasse Collin1-8/+8
1dcecfb09b55157b8653d747963069c8bed74f04.
2008-09-27Some API changes, bug fixes, cleanups etc.Lasse Collin3-6/+9
2008-09-13Renamed constants:Lasse Collin6-26/+26
- LZMA_VLI_VALUE_MAX -> LZMA_VLI_MAX - LZMA_VLI_VALUE_UNKNOWN -> LZMA_VLI_UNKNOWN - LZMA_HEADER_ERRRO -> LZMA_OPTIONS_ERROR
2008-09-12Improved the Stream Flags handling API.Lasse Collin1-2/+6
2008-09-06Some API cleanupsLasse Collin1-53/+19
2008-08-28Sort of garbage collection commit. :-| Many things are stillLasse Collin123-234/+165
broken. API has changed a lot and it will still change a little more here and there. The command line tool doesn't have all the required changes to reflect the API changes, so it's easy to get "internal error" or trigger assertions.
2008-06-20Fix test_filter_flags to match the new restriction of lc+lp.Lasse Collin1-0/+3
2008-06-18Delete old code that was supposed to be already deletedLasse Collin1-30/+0
from test_block_header.c.
2008-06-18Update the code to mostly match the new simpler file formatLasse Collin8-1190/+776
specification. Simplify things by removing most of the support for known uncompressed size in most places. There are some miscellaneous changes here and there too. The API of liblzma has got many changes and still some more will be done soon. While most of the code has been updated, some things are not fixed (the command line tool will choke with invalid filter chain, if nothing else). Subblock filter is somewhat broken for now. It will be updated once the encoded format of the Subblock filter has been decided.
2008-05-06Bunch of grammar fixes from meyering.Lasse Collin1-1/+1
2008-04-28Fixed wrong spelling "limitter" to "limiter". This affectsLasse Collin1-2/+2
liblzma's API.
2008-01-26Added more test files.Lasse Collin4-0/+11
2008-01-26Added more test files.Lasse Collin3-0/+6
2008-01-25Added more Multi-Block test files. Improved someLasse Collin4-6/+28
descriptions in the test files' README.
2008-01-25Added test_memlimit.c.Lasse Collin2-0/+116
2008-01-25Use more parenthesis in succeed() macro in tests/tests.h.Lasse Collin1-1/+1
2008-01-24Added more Multi-Block Stream test files.Lasse Collin7-0/+23
2008-01-24Added bunch of test files containing Multi-Block Streams.Lasse Collin19-0/+53
2008-01-23Added bad-single-none-footer_filter_flags.lzma andLasse Collin3-0/+5
bad-single-none-too_long_vli.lzma.
2008-01-23Fix Size of Header Metadata Block handling. NowLasse Collin1-2/+2
lzma_metadata.header_metadata_size == LZMA_VLI_VALUE_UNKNOWN is not allowed at all. To indicate missing Header Metadata Block, header_metadata_size must be set to zero. This is what Metadata decoder does after this patch too. Note that other missing fields in lzma_metadata are still indicated with LZMA_VLI_VALUE_UNKNOWN. This isn't as illogical as it sounds at first, because missing Size of Header Metadata Block means that Header Metadata Block is not present in the Stream. With other Metadata fields, a missing field means only that the value is unknown.
2008-01-18Added test files to test usage of flush marker in LZMA.Lasse Collin5-0/+12
2008-01-18Added test_compress.sh and bunch of files needed by it.Lasse Collin6-10/+433
This new set of tests compress and decompress several test files with many different compression options. This set of tests will be extended later.
2008-01-15Fix memory leaks from test_block_header.c.Lasse Collin1-2/+17
2008-01-15Fix CRC code in case --enable-small is used.Lasse Collin1-0/+2
2008-01-15Fix typo in test_index.c.Lasse Collin1-1/+1
2008-01-09Added good-single-none-empty_3.lzma andLasse Collin3-0/+6
bad-single-none-empty.lzma.
2008-01-08Updated tests/files/README.Lasse Collin1-6/+9
2008-01-08Added test files with empty Compressed Data.Lasse Collin4-0/+6
2008-01-08Added good-single-subblock_implicit.lzma.Lasse Collin2-0/+2
2008-01-08Added a few test files.Lasse Collin6-3/+18
2008-01-08Avoid using ! in test_files.sh, because that doesn't workLasse Collin1-1/+3
with some ancient /bin/sh versions.
2008-01-07Added test_files.sh to tests/Makefile.am so it getsLasse Collin1-1/+1
included in the tarball with "make dist".
2008-01-07Cosmetic edit to test_files.sh.Lasse Collin1-2/+2
2008-01-07Added tests/files/README.Lasse Collin1-0/+108
2008-01-07Cleaned up the tests/files directory.Lasse Collin3-0/+0
2008-01-07Added test_files.sh to test decoding of the files inLasse Collin2-1/+43
the tests/files directory. It doesn't test the malicious files yet.
2007-12-11Fixed a typo in tests/Makefile.am which preventedLasse Collin1-1/+1
building the tests if gnulib was needed.
2007-12-09* tests/test_block_header.c (test3): Remove duplicate initializer.Jim Meyering1-1/+0
2007-12-09Added a bunch of .lzma test files.Lasse Collin17-0/+0
2007-12-09Fixed the tests to build with -Werror.Lasse Collin6-12/+12
2007-12-09Imported to git.Lasse Collin9-0/+1969