[Top][All Lists]

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

Re: [bug-diffutils] bug#16848: diff reports a diff on identical lines

From: Paul Eggert
Subject: Re: [bug-diffutils] bug#16848: diff reports a diff on identical lines
Date: Mon, 24 Feb 2014 11:42:13 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

On 02/24/2014 11:31 AM, Jim Meyering wrote:
If you find the time, would you please also add a test case like the
one Vincent posted?

I'm afraid that'd be iffy, as there was no bug -- in the test case, 'diff' had correct behavior. In general, there are a lot of correct outputs for 'diff', and I'm leery of test cases that would require a particular behavior when the exact choice isn't obvious.I suppose we could use his test case and make sure that 'diff' doesn't generate the obviously-suboptimal output, but the value of such a test case would be relatively small, that is, almost surely the test case wouldn't catch similar bugs in the future.

reply via email to

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