test-fsync: enhance tests
authorEric Blake <eblake@redhat.com>
Fri, 16 Sep 2011 16:28:13 +0000 (10:28 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 16 Sep 2011 16:48:37 +0000 (10:48 -0600)
commit9a0a67e426f31b06f0e3f202618094f6f582c5db
tree17d21ec56c84feaad431b00217bcc408d459f6d1
parent92a1bc6ccf243a67308032234bd69eb31f0028e6
test-fsync: enhance tests

This test failed to compile on mingw, which lacks ENOTSUP.  Furthermore,
it wasn't testing POSIX behavior on invalid fds.

* modules/fsync-tests (Depends-on): Add errno, for mingw.
* tests/test-fsync.c (main): Enhance test.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
modules/fsync-tests
tests/test-fsync.c