On Tue, Aug 18, 2009 at 3:28 PM, Ken<[email protected]> wrote:
> Running make test resulted in the following failures on aix 5.3
> Note that the CFLAGS=-DSQLITE_DISABLE_DIRSYNC was set for the make.
>
> 14 errors out of 40926 tests
> Failures on these tests: backup2-10 io-4.1 io-4.2.3 nan-1.1.2 nan-1.1.3 
> nan-1.1.4 nan-1.1.5 nan-1.1.5 nan-4.7 nan-4.8 nan-4.14 nan-4.15 nan-4.16 
> nan-4.17
>
> Any suggestions or reason why the io test would fail?
> io-3.3... Ok
> io-4.1...
> Expected: [3]
>     Got: [2]
> io-4.2.1... Ok
> io-4.2.2... Ok
> io-4.2.3...
> Expected: [3]
>     Got: [2]
> io-4.3.1... Ok
> io-4.3.2... Ok
>
> Thanks,
> Ken
>

Most Unix's support fsync()'ing directories, and the expected sync
numbers in io.test assume that if you're on a "Unix" platform, you're
going to be calling fsync() on the directory.  On AIX, which typically
doesn't support fsync() on directories (hence, your compiler option
-DSQLITE_DISABLE_DIRSYNC), the sync counts are different then what the
tests were expecting.

I've checked in an update to io.test which I think should correct the
test for you.

HTH.
-Shane
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to