On mingw, I'm seeing this test failure:

test-fsync.c:43: assertion failed
FAIL: test-fsync.exe

This fixes it. But the test then later failus at
test-fsync.c:73: assertion failed


2011-09-20  Bruno Haible  <br...@clisp.org>

        fsync tests: Avoid a test failure on mingw.
        * tests/test-fsync.c (main): Allow a failure with EIO.

--- tests/test-fsync.c.orig     Wed Sep 21 00:32:00 2011
+++ tests/test-fsync.c  Tue Sep 20 23:29:23 2011
@@ -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 */
                 );
       }
 
-- 
In memoriam Pierre Goldman <http://en.wikipedia.org/wiki/Pierre_Goldman>

Reply via email to