+2010-07-31 Bruno Haible <bruno@clisp.org>
+
+ readlink: Relax test a bit.
+ * tests/test-readlink.h (test_readlink): Allow different errno value
+ when readlink is called with a file name that ends in / and refers to
+ a file.
+ Suggested by Eric Blake.
+ Reported by Rainer Tammer.
+
2010-07-31 Bruno Haible <bruno@clisp.org>
copysign: Does not require -lm on glibc systems.
ASSERT (errno == EINVAL);
errno = 0;
ASSERT (func (BASE "file/", buf, sizeof buf) == -1);
- ASSERT (errno == ENOTDIR);
+ ASSERT (errno == ENOTDIR || errno == EINVAL); /* AIX yields EINVAL */
/* Now test actual symlinks. */
if (symlink (BASE "dir", BASE "link"))