In the SQLite testsuite, there are various test failures because SQLite uses the win32 API for reading/writing files, but the test-suite sets file attributes for test-cases in the cygwin environment. For example:

Solution: implement the -readonly option in the Cygwin system VFS.