mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Adjust the lock.test and lock3.test scripts so that they work with the
asynchronous VFS. (CVS 6380) FossilOrigin-Name: 40df926b4606b3abe8c797bf17163f996bd03ad5
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#***********************************************************************
|
||||
# This file runs all tests.
|
||||
#
|
||||
# $Id: async.test,v 1.14 2008/09/15 14:47:21 danielk1977 Exp $
|
||||
# $Id: async.test,v 1.15 2009/03/24 16:55:44 drh Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@@ -54,7 +54,9 @@ proc do_test {name args} {
|
||||
foreach testfile [lsort -dictionary [glob $testdir/*.test]] {
|
||||
set tail [file tail $testfile]
|
||||
if {[lsearch -exact $INCLUDE $tail]<0} continue
|
||||
set ::ASYNC 1
|
||||
source $testfile
|
||||
unset ::ASYNC
|
||||
|
||||
# Make sure everything is flushed through. This is because [source]ing
|
||||
# the next test file will delete the database file on disk (using
|
||||
|
Reference in New Issue
Block a user