diff options
author | danielk1977 <danielk1977@noemail.net> | 2005-01-19 03:47:15 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2005-01-19 03:47:15 +0000 |
commit | ca6707145d9c3f52e3626feb829547bae9c7abbc (patch) | |
tree | cdd06116abb57c3aa7fe614573b7cc6b2f6c1335 /test/pager.test | |
parent | 030530de9bbc13e87762faf4a548442316086648 (diff) | |
download | sqlite-ca6707145d9c3f52e3626feb829547bae9c7abbc.tar.gz sqlite-ca6707145d9c3f52e3626feb829547bae9c7abbc.zip |
A few test cases were failing on windows due to mandatory locking. Omit them on that platform. (CVS 2234)
FossilOrigin-Name: 441316f1af076fef42055d6abe524f2a8c5ced63
Diffstat (limited to 'test/pager.test')
-rw-r--r-- | test/pager.test | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/pager.test b/test/pager.test index 596f363ff..6b6cfdcd1 100644 --- a/test/pager.test +++ b/test/pager.test @@ -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 |