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:
@ -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}
|
||||
|
Reference in New Issue
Block a user