Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0
On 10/10/2011 10:09 AM, Bruno Haible wrote:
> Pádraig Brady wrote:
>> On 10/08/2011 03:46 PM, Bruno Haible wrote:
>>> On NetBSD 5.1/x86: 10 failures
>>>
>>> FAIL: split/l-chunk
>>
>> This one at least was due to missing /dev/zero
>
> Well, it may have been due to a missing /dev/zero.
> But the NetBSD 5.1/x86 machine I was testing on has /dev/zero:
>
> NetBSD 5.1 (GENERIC) #0: Sat Nov 6 13:19:33 UTC 2010
>
> Welcome to NetBSD!
>
> -bash-4.1$ ls -l /dev/zero
> crw-rw-rw- 1 root wheel 2, 12 Dec 20 2010 /dev/zero
> -bash-4.1$ test -c /dev/zero
> -bash-4.1$ echo $?
> 0
Oh. Hmm, perhaps lseek() on /dev/zero gives ENOENT on NetBSD?
I presume there are platforms without /dev/zero but if there
are none we're interested in porting too then the require_dev_zero_
check would be redundant.
I'll see if there is a way we can check for this in the test.
cheers,
Pádraig.