apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: testpoll
Date Tue, 10 Jan 2017 15:32:13 GMT
Am 10.01.2017 um 16:20 schrieb Rainer Jung:
> Am 10.01.2017 um 15:35 schrieb Jim Jagielski:
>> Occasionally, I get:
>>
>>   testpoll            : /Line 816: expected <0>, but saw <4>
>>
>> Anyway I could easily see what test, exactly, is failing?
>> ./testall -v testpoll does nil.
>
> Depending on which version of APR you are testing, it should be line 816
> of file test/testpoll.c, e.g. in 1.5.x and 1.6.x HEAD:
>
> ...
>     815     rv = apr_pollset_poll(pollset, -1, &num, &descriptors);
>     816     ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
>     817     ABTS_INT_EQUAL(tc, 1, num);
> ...
>
> checking the return code of the apr_pollset_poll() call in 815 against
> APR_SUCCESS. So I guess the expected <0> is APR_SUCCESS and the real
> return code was 4.

OK, at least on RHEL 6 errno 4 is EINTR.

Regards,

Rainer


Mime
View raw message