Do not attempt to read the journal file on windows because manditory locking

on windows will not allow it.  Ticket #1166. (CVS 2404)

FossilOrigin-Name: 1865e0d81c827cc879dde96c6a9f42e740b6a560
This commit is contained in:
drh
2005-03-20 22:54:56 +00:00
parent 9636284e32
commit 8aa60cb746
3 changed files with 16 additions and 8 deletions
+9 -1
View File
@@ -13,12 +13,20 @@
# This file implements tests to make sure that leftover journals from
# prior databases do not try to rollback into new databases.
#
# $Id: journal1.test,v 1.1 2005/03/15 17:09:30 drh Exp $
# $Id: journal1.test,v 1.2 2005/03/20 22:54:56 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
# These tests will not work on windows because windows uses
# manditory file locking which breaks the file copy command.
#
if {$tcl_platform(platform)=="windows"} {
finish_test
return
}
# Create a smaple database
#
do_test journal1-1.1 {