1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Updates for to WAL TCL test scripts to support running on Windows.

FossilOrigin-Name: 6a5630806c87b0f4e5632c37c357f98effd9608a
This commit is contained in:
shaneh
2010-05-11 02:46:16 +00:00
parent 09b1330026
commit a10069dd22
5 changed files with 23 additions and 22 deletions

View File

@ -43,9 +43,17 @@ do_test walmode-1.1 {
do_test walmode-1.2 {
file size test.db
} {1024}
set expected_sync_count 3
if {$::tcl_platform(platform)!="windows"} {
ifcapable dirsync {
incr expected_sync_count
}
}
do_test walmode-1.3 {
set sqlite_sync_count
} {4}
} $expected_sync_count
do_test walmode-1.4 {
file exists test.db-wal
} {0}