diffutils-devel
[Top][All Lists]
Advanced

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

[Diffutils-devel] [PATCH] tests: avoid false failure with some shells on


From: Jim Meyering
Subject: [Diffutils-devel] [PATCH] tests: avoid false failure with some shells on debian, freebsd
Date: Wed, 1 Feb 2017 23:10:49 -0800

Nelson Beebe reported that a few types of systems failed the "colors"
test because they would erroneously colorize this invocation of diff:

    TERM=dumb returns_ 1 diff ---presume-output-tty --color=auto a b > out

That was because the TERM=dumb setting failed to make it through the
invocation of the returns_ function to the diff that required it.

Here's the fix I've pushed:

Attachment: diff-tests--avoid-false-failure-colors.diff
Description: Text document


reply via email to

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