summaryrefslogtreecommitdiff
path: root/tests/test-lzma.c
Commit message (Collapse)AuthorAgeFilesLines
* Update FSF license notices to use URL instead of addressJoseph Marrero2021-12-071-3/+1
|
* Add SPDX-License-Identifier to source filesMarcus Folkesson2018-01-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | SPDX License List is a list of (common) open source licenses that can be referred to by a “short identifier”. It has several advantages compared to the common "license header texts" usually found in source files. Some of the advantages: * It is precise; there is no ambiguity due to variations in license header text * It is language neutral * It is easy to machine process * It is concise * It is simple and can be used without much cost in interpreted environments like java Script, etc. * An SPDX license identifier is immutable. * It provides simple guidance for developers who want to make sure the license for their code is respected See http://spdx.org for further reading. Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com> Closes: #1439 Approved by: cgwalters
* tree-wide: Remove Emacs modelinesColin Walters2017-09-211-2/+1
| | | | | | | | | We added a `.dir-locals.el` in commit: 9a77017d87b74c5e2895cdd64ad098018929403f There's no need to have it per-file, with that people might think to add other editors, which is the wrong direction. Closes: #1206 Approved by: jlebon
* tests/lzma: Fix off-by-one in buffer sizeColin Walters2017-08-021-4/+3
| | | | | | | | | | | Coverity spotted that we had an off-by-one here since we were using `i+1`. Fix this by adding a `-1` to the bounds check. Also use `sizeof()` to ensure the data and size are coupled. Coverity CID: 1452207 Closes: #1037 Approved by: jlebon
* tests/lzma: Use GRand over random()Colin Walters2017-08-021-2/+2
| | | | | | | | It's designed for test suites and non-critical random uses like this. This silences a Coverity warning about weak randomness. Closes: #1037 Approved by: jlebon
* [ASAN] tests: Cleanup all current remaining leaksColin Walters2016-12-051-3/+4
| | | | | | | We now run fully through ASAN here. Closes: #609 Approved by: jlebon
* tests: fix LZMA test to really compress/decompressGiuseppe Scrivano2015-10-131-18/+36
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* tests: add tests for LZMA compressor and decompressorGiuseppe Scrivano2015-08-121-0/+95
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>