projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pthread_sigmask: Document the module.
[pspp]
/
tests
/
test-readlink.h
diff --git
a/tests/test-readlink.h
b/tests/test-readlink.h
index 08d5662afc6182cef3184a52111913e5babd5523..7247fc4c91640541d760f105439dd4a36a90ece9 100644
(file)
--- a/
tests/test-readlink.h
+++ b/
tests/test-readlink.h
@@
-38,7
+38,7
@@
test_readlink (ssize_t (*func) (char const *, char *, size_t), bool print)
ASSERT (errno == ENOENT);
errno = 0;
ASSERT (func ("", buf, sizeof buf) == -1);
- ASSERT (errno == ENOENT);
+ ASSERT (errno == ENOENT
|| errno == EINVAL
);
errno = 0;
ASSERT (func (".", buf, sizeof buf) == -1);
ASSERT (errno == EINVAL);