GNU bug report logs - #23768
[PATCH] tests: adjust to ignore gzip 1.8+ warnings

Previous Next

Package: automake;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Tue, 14 Jun 2016 07:50:01 UTC

Severity: normal

Tags: fixed, patch

Merged with 20132

Done: Mathieu Lirzin <mthl <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23768 in the body.
You can then email your comments to 23768 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-automake <at> gnu.org:
bug#23768; Package automake. (Tue, 14 Jun 2016 07:50:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ludovic Courtès <ludo <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-automake <at> gnu.org. (Tue, 14 Jun 2016 07:50:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: bug-automake <at> gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>
Subject: [PATCH] tests: adjust to ignore gzip 1.8+ warnings
Date: Tue, 14 Jun 2016 09:48:29 +0200
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 insertions(+), 1 deletion(-)

diff --git a/t/distcheck-no-prefix-or-srcdir-override.sh b/t/distcheck-no-prefix-or-srcdir-override.sh
index bef334b..f9d05e1 100644
--- a/t/distcheck-no-prefix-or-srcdir-override.sh
+++ b/t/distcheck-no-prefix-or-srcdir-override.sh
@@ -49,7 +49,11 @@ grep "cannot find sources.* in foobar" stderr || exit 99
 
 ./configure
 run_make -E -O distcheck
-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
+
 # Sanity check: the flags have been actually seen.
 $PERL -e 'undef $/; $_ = <>; s/ \\\n/ /g; print;' <stdout >t
 grep '/configure .* --srcdir am-src'   t || exit 99
-- 
2.8.3





Information forwarded to bug-automake <at> gnu.org:
bug#23768; Package automake. (Wed, 15 Jun 2016 19:52:01 GMT) Full text and rfc822 format available.

Message #8 received at 23768 <at> debbugs.gnu.org (full text, mbox):

From: Hans-Bernhard Bröker <HBBroeker <at> t-online.de>
To: 23768 <at> debbugs.gnu.org
Subject: Re: bug#23768: [PATCH] tests: adjust to ignore gzip 1.8+ warnings
Date: Wed, 15 Jun 2016 21:50:53 +0200
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 the GZIP 
environment variable, if set?





Merged 20132 23768. Request was from Mathieu Lirzin <mthl <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 15 Jul 2017 14:05:02 GMT) Full text and rfc822 format available.

Added tag(s) fixed. Request was from Mathieu Lirzin <mthl <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 15 Jul 2017 14:08:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 20132 <at> debbugs.gnu.org and Paul Eggert <eggert <at> cs.ucla.edu> Request was from Mathieu Lirzin <mthl <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 15 Jul 2017 14:09:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 13 Aug 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 312 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.