changeset 15729:d4ef28dc56e2

fsync tests: Avoid a test failure on mingw. * tests/test-fsync.c (main): Allow a failure with EIO.
author Bruno Haible <bruno@clisp.org>
date Wed, 21 Sep 2011 00:46:15 +0200
parents d653c053dc60
children 8e2b0feee111
files ChangeLog tests/test-fsync.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-09-20  Bruno Haible  <bruno@clisp.org>
+
+	fsync tests: Avoid a test failure on mingw.
+	* tests/test-fsync.c (main): Allow a failure with EIO.
+
 2011-09-20  Bruno Haible  <bruno@clisp.org>
 
 	euidaccess: Update comments.
--- a/tests/test-fsync.c
+++ b/tests/test-fsync.c
@@ -40,6 +40,7 @@
         ASSERT (errno == EINVAL /* POSIX */
                 || errno == ENOTSUP /* seen on MacOS X 10.5 */
                 || errno == EBADF /* seen on AIX 7.1 */
+                || errno == EIO /* seen on mingw */
                 );
       }