* tests/test-pread.c (main): Allow EFBIG instead of EINBAL.
+2011-06-19 Bruno Haible <bruno@clisp.org>
+
+ pread test: Avoid test failure on OpenBSD 4.9.
+ * tests/test-pread.c (main): Allow EFBIG instead of EINBAL.
+
2011-06-19 Bruno Haible <bruno@clisp.org>
sprintf-posix: Fix test failure on AIX 7.1.
/* 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);