[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] ‘gzip.at’ test is slightly too strict

From: Ludovic Courtès
Subject: [Bug-tar] ‘gzip.at’ test is slightly too strict
Date: Wed, 31 Mar 2010 15:27:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)


On FreeBSD 7.2, the ‘gzip.at’ test fails:

--8<---------------cut here---------------start------------->8---
38. gzip.at:23: testing ...

cat /dev/null | gzip - > /dev/null 2>&1 || exit 77

tar xfvz /dev/null

--- -   2010-03-30 23:17:13.059109217 +0000
     2010-03-30 23:17:13.000000000 +0000
@@ -1,5 +1,4 @@
-gzip: stdin: unexpected end of file
+gzip: (stdin): unexpected end of file
 tar: Child returned status 1
 tar: Error is not recoverable: exiting now
38. gzip.at:23: 38. gzip (gzip.at:23): FAILED (gzip.at:28)
--8<---------------cut here---------------end--------------->8---

(From <http://hydra.nixos.org/build/337031>.)

Perhaps only the last two lines should be compared?

(I believe this is not platform-specific.  Rather this has to do with
the fact that the “gzip:” line is printed by gzip, whose output is not
under tar’s control.)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]