bug#23768: [PATCH] tests: adjust to ignore gzip 1.8+ warnings

2016-06-15 Thread Hans-Bernhard Bröker
Am 14.06.2016 um 09:48 schrieb Ludovic Courtès: -test ! -s stderr + +# Gzip 1.8+ emits warnings like "gzip: warning: GZIP environment +# variable is deprecated"; filter them out. +test `grep -v '^gzip: warning' stderr | wc -l` -eq 0 Hmmm... wouldn't it make much more sense to just eliminate

bug#23768: [PATCH] tests: adjust to ignore gzip 1.8+ warnings

2016-06-14 Thread Ludovic Courtès
This fixes a test failure when testing with gzip 1.8. * t/distcheck-no-prefix-or-srcdir-override.sh: Instead of testing for an empty 'stderr' file, check for a zero-line file once gzip warnings have been removed. --- t/distcheck-no-prefix-or-srcdir-override.sh | 6 +- 1 file changed, 5