Ticket #3022: m4-1.4.16-fix-test-readlink.patch

File m4-1.4.16-fix-test-readlink.patch, 423 bytes (added by Pierre, 13 years ago)
  • tests/test-readlink.h

    old new  
    3838  ASSERT (errno == ENOENT);
    3939  errno = 0;
    4040  ASSERT (func ("", buf, sizeof buf) == -1);
    41   ASSERT (errno == ENOENT);
     41  ASSERT (errno == ENOENT || errno == EINVAL);
    4242  errno = 0;
    4343  ASSERT (func (".", buf, sizeof buf) == -1);
    4444  ASSERT (errno == EINVAL);