bug-gnulib
[Top][All Lists]
Advanced

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

Re: test-pread.sh failure


From: Jim Meyering
Subject: Re: test-pread.sh failure
Date: Sun, 19 Jun 2011 15:15:50 +0200

Bruno Haible wrote:
>> test-pread.c:71: assertion failed
>> FAIL: test-pread.sh
>
> Here the errno value for a negative offset is EFBIG, not EINVAL.
>
> Jim, OK to relax the test, like this?

Hi Bruno,
Yes, that looks fine.  Thank you.

> -    ASSERT (errno == EINVAL);
> +    ASSERT (errno == EINVAL
> +            || errno == EFBIG /* seen on OpenBSD 4.9 */
> +           );



reply via email to

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