fsync tests: Avoid a test failure on mingw.
authorBruno Haible <bruno@clisp.org>
Tue, 20 Sep 2011 22:46:15 +0000 (00:46 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 20 Sep 2011 22:46:15 +0000 (00:46 +0200)
* tests/test-fsync.c (main): Allow a failure with EIO.

ChangeLog
tests/test-fsync.c

index 5dac9f1..053a661 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 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.
        * m4/euidaccess.m4 (gl_PREREQ_EUIDACCESS): Update comments.
 
index 9565f52..eb22ae9 100644 (file)
@@ -40,6 +40,7 @@ main (void)
         ASSERT (errno == EINVAL /* POSIX */
                 || errno == ENOTSUP /* seen on MacOS X 10.5 */
                 || errno == EBADF /* seen on AIX 7.1 */
+                || errno == EIO /* seen on mingw */
                 );
       }