Re: [PATCH] test/event-loop: Check readable state on 0, not 1

2013-01-07 Thread Kristian Høgsberg
On Sun, Jan 06, 2013 at 03:58:59PM +0100, Quentin Glidic wrote: > When redirecting stdout to a non-readable file makes the test fail as a > false negative Hi Quentin, Yes, that's cool. Normally stdout, stdin and stderr all refer to the same PTY which is both readable and writable, but when we re

[PATCH] test/event-loop: Check readable state on 0, not 1

2013-01-06 Thread Quentin Glidic
When redirecting stdout to a non-readable file makes the test fail as a false negative --- tests/event-loop-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/event-loop-test.c b/tests/event-loop-test.c index e630cde..6acee65 100644 --- a/tests/event-loop-test.c +++ b