Ticket #3022: m4-1.4.16-fix-test-readlink.patch
File m4-1.4.16-fix-test-readlink.patch, 423 bytes (added by , 13 years ago) |
---|
-
tests/test-readlink.h
old new 38 38 ASSERT (errno == ENOENT); 39 39 errno = 0; 40 40 ASSERT (func ("", buf, sizeof buf) == -1); 41 ASSERT (errno == ENOENT );41 ASSERT (errno == ENOENT || errno == EINVAL); 42 42 errno = 0; 43 43 ASSERT (func (".", buf, sizeof buf) == -1); 44 44 ASSERT (errno == EINVAL);