1) modify run-tests script to write PASS/FAIL as expected by the ptest
infrastructure
2) Since the discrete md5sum does not have a short form of
--status.And minimal base images does not support commands with
long form arguments so dropping this argument
Mark Wielaard [Tue, 2 Jul 2019 21:53:37 +0000 (23:53 +0200)]
Remove testfilecopy after second decompression attempt.
We run tests twice, once in default mode and once in small mode.
For the recompression/redecompression attempt we create a copy of
the original input file. Which we remove after the first attempt
in default mode. It should also be removed after the second attempt
in small mode. Otherwise we keep a possibly very large file around.
Mark Wielaard [Sun, 30 Jun 2019 18:56:33 +0000 (20:56 +0200)]
Initial bzip2 test suite.
Contains test files from the commons-compress, dotnetzip, go, lbzip2
and pyflate projects. Each test file has either an associated md5 sum
to check it decompressed correctly. Or it is named bz2.bad to indicate
it cannot be decompressed (or might need --force to decompress).
The run-tests.sh test wrapper runs a bzip2 binary in a couple of
configurations, optionally under valgrind, on all the test files in
the tree.
This page took 0.022427 seconds and 5 git commands to generate.