|
From: | Paolo Bonzini |
Subject: | Re: grep-dir test |
Date: | Tue, 20 Dec 2011 18:41:34 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1 |
On 12/20/2011 06:39 PM, Eli Zaretskii wrote:
echo foo | grep -f empty-directory/This should be a hard failure. Asking grep to open a directory and search for patterns in it is wrong.Well, I agree. But the test suite doesn't.
Yes, that's why it's an expected failure.
If you get XPASSes from the last two on Windows, that's good. :)Indeed, I do. So it would make sense not to flag it as XPASS, I think.
Yeah, you could add a configure run-time test that opens a directory and an Automake conditional. If the test fails, the Automake conditional should _not_ mark the tests as expected failures.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |