aboutsummaryrefslogtreecommitdiff
path: root/tests (follow)
AgeCommit message (Expand)AuthorFilesLines
2024-02-14Change most public domain parts to 0BSD.Lasse Collin27-79/+2
2024-02-13Tests: Add RISC-V filter support in a few places.Jia Tan2-0/+12
2024-01-23Tests: Use smaller dictionary size in RISC-V test files.Jia Tan2-0/+0
2024-01-23Tests: Skip RISC-V test files if decoder was not built.Jia Tan1-0/+5
2024-01-23Tests: Add two RISC-V Filter test files.Jia Tan3-0/+8
2024-01-23Tests: Add RISC-V Filter test in test_compress.sh.Jia Tan1-0/+1
2023-12-07Tests: Silence -Wsign-conversion warning on GCC version < 10.Jia Tan1-1/+1
2023-12-07Tests: Minor cleanups to OSS-Fuzz files.Jia Tan7-56/+66
2023-12-07Tests: Add fuzz_encode_stream ossfuzz target.Maksym Vatsyk2-0/+81
2023-12-07Tests: Add fuzz_decode_alone OSS-Fuzz targetMaksym Vatsyk3-0/+66
2023-12-07Tests: Update OSS-Fuzz Makefile.Maksym Vatsyk1-4/+9
2023-12-07Tests: Move common OSS-Fuzz target code to .h file.Maksym Vatsyk2-44/+71
2023-12-07Tests: Rename OSS-Fuzz files.Maksym Vatsyk4-2/+3
2023-11-30Tests: Fix typosKian-Meng Ang2-3/+3
2023-11-18Tests: Create test_suffix.sh.Jia Tan2-0/+191
2023-11-17Tests: Fix typo in a comment.Jia Tan1-1/+1
2023-09-26Build: Remove Gnulib dependency from tests.Jia Tan1-6/+1
2023-08-28Tests: Improve invalid unpadded size check in test_lzma_index_append().Jia Tan1-3/+23
2023-08-28Tests: Improve comments in test_index.c.Jia Tan1-3/+3
2023-08-03Tests: Style fixes to test_lzip_decoder.c.Jia Tan1-12/+24
2023-07-31Docs: Fix typos found by codespellDimitri Papadopoulos Orfanos3-4/+4
2023-07-21Tests: Skip .lz files in test_files.sh if not configured.Jia Tan1-1/+1
2023-07-20Tests: Add ARM64 filter test to test_compress.sh.Jia Tan1-0/+1
2023-07-17Tests: Use new --filters option in test_compress.shJia Tan1-10/+10
2023-07-14Tests: Improve feature testing for skipping.Jia Tan2-3/+3
2023-06-29Tests: Fix memory leaks in test_index.Jia Tan1-0/+11
2023-06-29Tests: Fix memory leaks in test_block_header.Jia Tan1-16/+22
2023-03-13Tests: Remove unused macros and functions.Jia Tan1-75/+0
2023-03-13liblzma: Defines masks for return values from lzma_index_checks().Jia Tan1-11/+11
2023-03-13Tests: Refactors existing lzma_index tests.Jia Tan1-544/+1492
2023-02-24Tests: Small tweak to test-vli.c.Jia Tan1-0/+2
2023-02-03Tests: Create test_filter_str.c.Jia Tan2-0/+595
2023-01-12Tests: Fix warnings from clang --Wassign-enum.Lasse Collin4-8/+17
2023-01-12Tests: Silence warnings from -Wsign-conversion.Lasse Collin2-8/+8
2023-01-12Tests: test_lzip_decoder: Remove trailing white-space.Lasse Collin1-2/+2
2023-01-12Tests: test_lzip_decoder: Silence warnings from -Wsign-conversion.Lasse Collin1-6/+7
2023-01-11Tests: Fix test_filter_flags copy/paste error.Jia Tan1-2/+2
2023-01-11Tests: Fix type-limits warning in test_filter_flags.Jia Tan1-3/+10
2023-01-11Tests: Fix unused function warning in test_block_header.Jia Tan1-0/+4
2023-01-11Tests: Fix unused function warning in test_index_hash.Jia Tan1-3/+1
2023-01-09Tests: test_filter_flags: Clean up minor issues.Lasse Collin1-75/+78
2023-01-09Tests: Refactors existing filter flags tests.Jia Tan1-198/+457
2023-01-08Tests: tuktest.h: Support tuktest_malloc(0).Lasse Collin1-2/+2
2023-01-07Merge pull request #7 from tukaani-project/tuktest_index_hashJia Tan2-0/+391
2023-01-06Tests: test_index_hash: Add an assert_uint_eq().Lasse Collin1-0/+3
2023-01-06Tests: test_index_hash: Fix a memory leak.Lasse Collin1-0/+2
2023-01-06Tests: test_index_hash: Don't treat pointers as booleans.Lasse Collin1-3/+3
2023-01-06Tests: test_index_hash: Fix a typo in a comment.Lasse Collin1-1/+1
2023-01-06Tests: test_index_hash: Avoid the variable name "index".Lasse Collin1-8/+8
2023-01-06Tests: test_index_hash: Use the word "Record" instead of "entry".Lasse Collin1-51/+51
2023-01-06Tests: test_index_hash: Tweak comments and style.Lasse Collin1-29/+33
2023-01-06Tests: test_index_hash: Use INDEX_INDICATOR constant instead of 0.Lasse Collin1-1/+1
2023-01-04Tests: Adjust style in test_compress.sh.Lasse Collin1-5/+7
2023-01-04Tests: Replace non portable shell parameter expansionJia Tan4-10/+16
2023-01-02Tests: Creates test_index_hash.cJia Tan2-0/+382
2022-12-30Tests: test_check: Test corner cases of CLMUL CRC64.Lasse Collin1-0/+27
2022-12-30Tests: Clarify a comment in test_lzip_decoder.c.Lasse Collin1-2/+6
2022-12-30Tests: Adds lzip decoder testsJia Tan2-0/+473
2022-12-13Tests: Fix a typo in tests/files/README.Lasse Collin1-1/+1
2022-12-13Tests: Add two ARM64 test files.Lasse Collin4-0/+12
2022-11-09Tests: Test the .lz files in test_files.sh.Lasse Collin1-0/+25
2022-11-09Tests: Add .lz (lzip) test files.Lasse Collin19-11/+98
2022-10-27Tests: test_files.sh: Make it not fail if features were disabled at build.Lasse Collin1-4/+46
2022-10-27Tests: test_files.sh: Suppress an expected warning from the log.Lasse Collin1-2/+2
2022-10-27Tests: test_files.sh: Print the reason for skipping if xz & xzdec missing.Lasse Collin1-0/+1
2022-10-27Tests: Keep test_compress_* working when some filters are unavailable.Lasse Collin1-14/+20
2022-10-26Tests: test_bcj_exact_size skips properly now if PowerPC filter disabled.Jia Tan1-0/+3
2022-10-26Tests: Test also unsupported-*.xz.Lasse Collin1-0/+37
2022-10-19Tests: Skip tests in test_*.sh if encoders and/or decoders are disabled.Lasse Collin3-0/+34
2022-10-19Test: Remove the (exit 1) lines.Lasse Collin3-25/+0
2022-10-19Tests: Fix a warning in test_memlimit.c when decoders are disabled.Lasse Collin1-0/+3
2022-10-06Tests: Refactor test_stream_flags.c.Jia Tan1-117/+416
2022-10-06Tests: Refactor test_block_header.c.Jia Tan1-116/+370
2022-10-06Tests: Fix compilation issues.Jia Tan6-9/+56
2022-10-05Tests: Include mythread.h in the tests that use MYTHREAD_ENABLED.Lasse Collin3-0/+3
2022-10-05Tests: Fix compilation error when threading support has been disabled.Jia Tan3-0/+12
2022-09-28Tests: Create a test for the lzma_index_cat bug.Jia Tan1-1/+42
2022-09-28Tests: Add test_memlimit.c to test restarting after LZMA_MEMLIMIT_ERROR.Lasse Collin2-0/+153
2022-09-16Tests: Add a test file for lzma_index_append() integer overflow bug.Lasse Collin3-0/+18
2022-09-09Tests: Silence warnings about unused functions from tuktest.h.Lasse Collin1-0/+10
2022-07-14Tests: Add the .lzma files to test_files.sh.Lasse Collin1-0/+20
2022-07-14Tests: Add .lzma test files.Lasse Collin9-13/+50
2022-07-10Created script to generate code coverage reports.Jia Tan1-0/+79
2022-06-16Tests: Add more tests into test_check.Jia Tan2-7/+295
2022-06-16Tests: Use char[][24] array for enum_strings_lzma_ret.Lasse Collin1-1/+1
2022-06-16Tests: tuktest.h: Add tuktest_error_impl to help with error conditions.Lasse Collin1-40/+32
2022-06-16Tests: tuktest.h: Rename file_from_* and use tuktest_malloc there.Lasse Collin2-31/+25
2022-06-16Tests: tuktest.h: Add malloc wrapper with automatic freeing.Lasse Collin1-0/+124
2022-06-16Tests: tuktest.h: Move a function.Lasse Collin1-22/+22
2022-06-14Tests: test_vli: Remove an invalid test-assertion.Lasse Collin1-2/+0
2022-06-14Tests: test_vli: Add const where appropriate.Lasse Collin1-25/+28
2022-06-14Created tests for all functions exported in vli.hJia Tan2-1/+311
2022-06-14Tests: Use good-1-empty-bcj-lzma2.xz in test_bcj_exact_size.Lasse Collin1-12/+7
2022-06-14Tests: Add file reading helpers to tuktest.h.Lasse Collin1-7/+176
2022-06-14Tests: tuktest.h: Move a printf from a macro to a helper function.Lasse Collin1-8/+18
2022-06-14Tests: Add test file good-1-empty-bcj-lzma2.xz.Lasse Collin2-0/+5
2022-06-10Tests: Created tests for hardware functions.Jia Tan2-0/+47
2022-06-02Tests: Convert test_check to tuktest.Lasse Collin1-34/+33
2022-06-02Tests: Convert test_block_header to tuktest.Lasse Collin1-37/+52
2022-06-02Tests: Convert test_bcj_exact_size to tuktest.Lasse Collin1-34/+41
2022-06-02Tests: Include tuktest.h in tests.h.Lasse Collin1-24/+23
2022-06-02Tests: Add tuktest.h mini-test-framework.Lasse Collin2-0/+753
2022-05-23Tests: Split test_compress.sh into separate test unit for each file.Lasse Collin7-40/+77
2022-05-23Test: Make create_compress_files.c a little more flexible.Lasse Collin1-10/+15
2022-05-23Tests: Remove unneeded commented lines from test_compress.sh.Lasse Collin1-13/+0
2022-05-23Tests: Remove progress indicator from test_compress.sh.Lasse Collin1-9/+0
2022-02-20Tests: Add bad-1-lzma2-11.xz.Lasse Collin2-0/+5
2021-01-24Tests: Add bad-1-lzma2-10.xz and also modify -9.xz.Lasse Collin3-2/+9
2021-01-24Tests: Add bad-1-lzma2-9.xz.Lasse Collin2-0/+4
2021-01-24Tests: Add bad-1-check-crc32-2.xz.Lasse Collin2-0/+7
2020-01-19Use $(LIB_FUZZING_ENGINE) in tests/ossfuzz/Makefile.Lasse Collin1-1/+1
2019-12-31Rename unaligned_read32ne to read32ne, and similarly for the others.Lasse Collin2-5/+5
2019-12-29Tests: Hopefully fix test_check.c to work on EBCDIC systems.Lasse Collin1-2/+7
2019-06-25Tests: Silence warnings from clang -Wassign-enum.Lasse Collin2-2/+3
2019-06-24Tests: Silence a warning from -Wsign-conversion.Lasse Collin1-4/+4
2019-06-24Tests: Remove a duplicate branch from tests/tests.h.Lasse Collin1-7/+2
2018-11-02Tests: Add a fuzz test program and a config file for OSS-Fuzz.Lasse Collin5-0/+94
2015-10-12Tests: Add tests for the two bugs fixed in index.c.Lasse Collin1-0/+30
2015-05-13Tests: Fix a memory leak in test_bcj_exact_size.Lasse Collin1-0/+1
2015-01-06Tests: Don't hide unexpected error messages in test_files.sh.Lasse Collin1-2/+2
2014-06-13xzgrep: List xzgrep_expected_output in tests/Makefile.am.Lasse Collin1-1/+2
2014-06-13xzgrep: Improve the test script.Lasse Collin3-11/+55
2014-06-11xzgrep: Add a test for the previous fix.Lasse Collin1-4/+22
2012-07-05Tests: Remove tests/test_block.c that had gotten committed accidentally.Lasse Collin1-52/+0
2012-05-28liblzma: Fix possibility of incorrect LZMA_BUF_ERROR.Lasse Collin2-1/+115
2012-01-10Tests: Fix a compiler warning with _FORTIFY_SOURCE.Lasse Collin1-1/+2
2011-09-06Build: Fix "make check" on Windows.Lasse Collin1-2/+5
2011-08-06Run the scripts with the correct shell in test_scripts.sh.Lasse Collin1-4/+4
2011-07-31Fix exit status of "xzdiff foo.xz bar.xz".Lasse Collin2-1/+57
2011-05-28Tests: Add a test file for the bug in the previous commit.Lasse Collin2-0/+4
2011-03-31Tests: Add a new file to test empty LZMA2 streams.Lasse Collin2-0/+4
2010-10-10test_files.sh: Fix the first line.Lasse Collin1-1/+1
2010-10-08Make tests accommodate missing xz or xzdec.Lasse Collin2-19/+56
2010-10-05Build: Remove the static/dynamic tricks.Lasse Collin1-4/+1
2010-09-04Adjust memory limits in test_compress.shJonathan Nieder1-1/+1
2010-08-10Fix test_compress.sh.Lasse Collin1-3/+3
2010-05-27Remove references to the Subblock filter in xz and tests.Lasse Collin1-23/+0
2010-02-12Collection of language fixes to comments and docs.Lasse Collin1-1/+1
2009-12-31Revised the Index handling code.Lasse Collin1-134/+237
2009-11-26Fix a memory leak in test_index.c.Lasse Collin1-0/+2
2009-11-25Fix bugs in lzma_index_read() and lzma_index_cat().Lasse Collin1-3/+25
2009-10-04Use a tuklib module for integer handling.Lasse Collin3-6/+6
2009-09-11Fix a couple of warnings.Lasse Collin1-1/+1
2009-06-30Use static liblzma by default also for tests.Lasse Collin1-1/+4
2009-06-26Fix @variables@ to $(variables) in Makefile.am files.Lasse Collin1-5/+7
2009-04-14Minor fixes to test files' README.Lasse Collin1-8/+9
2009-04-13Put the interesting parts of XZ Utils into the public domain.Lasse Collin12-114/+36
2009-02-06Recreated the BCJ test files for x86 and SPARC. The old filesLasse Collin5-1/+1
2009-01-31Add LZMA_API to liblzma API headers. It's useful at leastLasse Collin1-0/+1
2009-01-26remove trailing blanks from all but .xz filesJim Meyering1-2/+2
2009-01-20Add some single-call buffer-to-buffer coding functions.Lasse Collin1-0/+24
2008-12-31Disable Subblock filter from test_compress.sh since it islarhzu/v4.999.7betaLasse Collin1-9/+13
2008-12-31Renamed lzma_options_simple to lzma_options_bcj in the API.Lasse Collin1-4/+4
2008-12-31Remove lzma_init() and other init functions from liblzma API.Lasse Collin6-10/+1
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
2008-11-19Oh well, big messy commit again. Some highlights:Lasse Collin49-33/+37
2008-10-09Fixed the test that should have been fixed as partLasse Collin1-1/+1
2008-10-02Initial changes to change the suffix of the new format to .xz.Lasse Collin1-1/+2
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
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
2008-09-27Some API changes, bug fixes, cleanups etc.Lasse Collin3-6/+9
2008-09-13Renamed constants:Lasse Collin6-26/+26
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
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
2008-06-18Update the code to mostly match the new simpler file formatLasse Collin8-1190/+776
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
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
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
2008-01-23Fix Size of Header Metadata Block handling. NowLasse Collin1-2/+2
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
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
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
2008-01-07Added test_files.sh to tests/Makefile.am so it getsLasse Collin1-1/+1
2008-01-07Cosmetic edit to test_files.sh.Lasse Collin1-2/+2