1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

A few test cases were failing on windows due to mandatory locking. Omit them on that platform. (CVS 2234)

FossilOrigin-Name: 441316f1af076fef42055d6abe524f2a8c5ced63
This commit is contained in:
danielk1977
2005-01-19 03:47:15 +00:00
parent 030530de9b
commit ca6707145d
4 changed files with 42 additions and 30 deletions

View File

@@ -11,7 +11,7 @@
# This file implements regression tests for SQLite library. The
# focus of this script is page cache subsystem.
#
# $Id: pager.test,v 1.20 2005/01/17 07:53:44 danielk1977 Exp $
# $Id: pager.test,v 1.21 2005/01/19 03:47:16 danielk1977 Exp $
set testdir [file dirname $argv0]
@@ -445,6 +445,11 @@ do_test pager-5.1 {
} {}
}
# The following tests cover rolling back hot journal files.
# They can't be run on windows because the windows version of
# SQLite holds a mandatory exclusive lock on journal files it has open.
#
if {$tcl_platform(platform)!="windows"} {
do_test pager-6.1 {
file delete -force test2.db
file delete -force test2.db-journal
@@ -514,6 +519,7 @@ do_test pager-6.3 {
do_test pager-6.4 {
db2 close
} {}
}
finish_test