bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/2] test-fsync: enhance tests


From: Bruno Haible
Subject: Re: [PATCH 1/2] test-fsync: enhance tests
Date: Wed, 21 Sep 2011 00:46:48 +0200
User-agent: KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; )

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  <address@hidden>

        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

[Prev in Thread] Current Thread [Next in Thread]