]> Savannah Git Hosting - gnulib.git/commitdiff
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 5dac9f13de46976f3cbff4c9643b51a765b82607..053a661b85c005add9432ef18855ad6d2d390117 100644 (file)
--- 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.
index 9565f5228ff4a1bee6dadced9cf824814e326f19..eb22ae9e9502de339912922179619a2e1ac4aba9 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 */
                 );
       }