projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
strtoimax: Avoid link error on OSF/1 with DTK cc.
[gnulib.git]
/
tests
/
test-pread.c
diff --git
a/tests/test-pread.c
b/tests/test-pread.c
index
0261348
..
3e35640
100644
(file)
--- a/
tests/test-pread.c
+++ b/
tests/test-pread.c
@@
-68,7
+68,9
@@
main (void)
/* Invalid offset must evoke failure with EINVAL. */
char byte;
ASSERT (pread (fd, &byte, 1, (off_t) -1) == -1);
- ASSERT (errno == EINVAL);
+ ASSERT (errno == EINVAL
+ || errno == EFBIG /* seen on OpenBSD 4.9 */
+ );
}
ASSERT (close (fd) == 0);