aboutsummaryrefslogtreecommitdiff
path: root/tests/gzip.test
AgeCommit message (Collapse)Author
2019-12-22gzip: reject non-gzip files in zlib path.Elliott Hughes
It turns out that zlib defaults to just copying data verbatim if the input isn't in gzip format, rather than rejecting it. Explicitly add a check that zlib isn't doing that. (The toybox inflation path already errors out.) Also add the missing test.
2018-01-09Add the gzip/gunzip/zcat tests I wrote for toolbox gzip/gunzip/zcat.Elliott Hughes
Bringing the zlib-based gzip/gunzip/zcat over to toybox is a problem for another day, but at least the tests are easy... (These tests pass with TEST_HOST and on the toolbox versions, but the toybox toys are in pending and very broken.)