Hello Bruno,

Bruno Haible wrote:
> Hello Rainer,
>
> Regarding this failure:
>
>   test-readlink.h:54: assertion failed
>   FAIL: test-readlink
>
> Could you please show what is the value of errno between these ASSERT 
> statements:
>
>   ASSERT (func (BASE "file/", buf, sizeof buf) == -1);
>   printf ("errno = %d\n", errno); perror ("errno was"); /* INSERT THIS LINE */
>   ASSERT (errno == ENOTDIR);
>
>   
# ./test-readlink
errno = 22                          (erno.h: #define EINVAL 22 /*
Invalid argument */)
errno was: Error 0
test-readlink.h:55: assertion failed

> Depending on this value, we may want to either change the autoconf test for
> readlink, or change the test.
>
> Bruno
>
>
>   

Bye
  Rainer


Reply via email to