Eric Biggers
6bc4596108
scripts: rename SMOKEDATA to TESTDATA
...
Use a more obvious name.
2020-10-18 15:14:15 -07:00
Eric Biggers
44980854d3
scripts/gzip_tests.sh: address all shellcheck warnings
2020-10-18 15:14:15 -07:00
Eric Biggers
ea4d0c9919
scripts/gzip_tests.sh: remove test for decreasing size as level increases
...
Compression is based on heuristics, so we can't guarantee in every
circumstance that the compression ratio will improve as the compression
level increases. The tests need to be 100% reliable though, so drop
this part of the test.
2020-10-18 15:14:15 -07:00
Eric Biggers
ddb3db2050
scripts/gzip_tests.sh: skip if GNU gzip/gunzip is too old
2020-10-18 15:14:15 -07:00
Eric Biggers
455e9c2c3e
scripts/gzip_tests.sh: work around broken timestamps in Travis CI
2020-10-18 15:14:15 -07:00
Eric Biggers
b6f9462708
scripts/gzip_tests.sh: be compatible with old coreutils versions
...
Very old versions of coreutils don't have 'realpath'.
Use the more portable 'readlink -f' instead.
2020-10-18 15:14:15 -07:00
Eric Biggers
bf50c64e86
scripts: rename tools/ directory to scripts/
...
"scripts" is a more descriptive name than "tools", which sounds too
similar to "programs".
2020-10-18 15:14:15 -07:00