autoconf
[Top][All Lists]
Advanced

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

Re: verbose testsuite output contains 1M newlines


From: Eric Blake
Subject: Re: verbose testsuite output contains 1M newlines
Date: Tue, 14 Apr 2009 19:17:38 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[dropping bug-m4 for this post]

According to Ralf Wildenhues on 4/14/2009 1:26 PM:
> Almost.  It seems inconsistent that only ignore-nolog allows non-text
> output.  What about ensuring that std{out,err}-nolog do likewise, by
> sending some large lines to all three in a test?

Or even files that lack a trailing newline, or contain non-printing
characters (or all three).  I'm working up a test, and will post it, along
with the other patches, as a series when I'm complete.

> Also, can we use 'diff' for comparing non-text files?  POSIX seems to
> say yes, and autoconf.info doesn't disagree, but my memory isn't clear
> on this.  A test could find this out for us.

POSIX requires it (think about the special rules for when a file does not
have a trailing newline, and about 'binary files differ'.  Depending on
the exact behavior is thus non-portable, but detecting same vs. different
should be portable.  But adding the above test should provide enough of a
stress test that we can find out about any broken diff apps out there.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknlNbIACgkQ84KuGfSFAYBJnwCgmTw0gaYczxDDt9oIHRT4heE0
vcEAoMFcPvTTsEXX5/JzoNFd1Sy0PxhF
=vEqE
-----END PGP SIGNATURE-----




reply via email to

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