Re: test-readlink failure on GNU/Linux

2011-10-14 Thread Eric Blake
On 10/14/2011 04:25 PM, Ludovic Courtès wrote: Hello, ‘test-readlink’ from GNU M4 1.4.16 fails on GNU/Linux with Linux 3.0.4 and GNU libc 2.13 with an assertion failure at test-readlink.h:41: 40: ASSERT (func ("", buf, sizeof buf) == -1); 41: ASSERT (errno == ENOENT); It turns out th

test-readlink failure on GNU/Linux

2011-10-14 Thread Ludovic Courtès
Hello, ‘test-readlink’ from GNU M4 1.4.16 fails on GNU/Linux with Linux 3.0.4 and GNU libc 2.13 with an assertion failure at test-readlink.h:41: 40: ASSERT (func ("", buf, sizeof buf) == -1); 41: ASSERT (errno == ENOENT); It turns out that errno is set to EINVAL instead of ENOENT, which