mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +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:
@ -13,7 +13,7 @@
|
||||
# DEFERRED, IMMEDIATE, and EXCLUSIVE keywords as modifiers to the
|
||||
# BEGIN command.
|
||||
#
|
||||
# $Id: lock3.test,v 1.2 2008/11/21 22:21:51 drh Exp $
|
||||
# $Id: lock3.test,v 1.3 2009/03/24 16:55:44 drh Exp $
|
||||
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
@ -23,8 +23,12 @@ source $testdir/tester.tcl
|
||||
# sample data into the database.
|
||||
#
|
||||
do_test lock3-1.1 {
|
||||
file mkdir tempdir/t1/t2/t3
|
||||
sqlite3 db2 ./tempdir/t1//t2/./t3//./../..//./../../tempdir/..//test.db//
|
||||
if {![info exists ::ASYNC]} {
|
||||
file mkdir tempdir/t1/t2/t3
|
||||
sqlite3 db2 ./tempdir/t1//t2/./t3//./../..//./../../tempdir/..//test.db//
|
||||
} else {
|
||||
sqlite3 db2 test.db
|
||||
}
|
||||
execsql {
|
||||
CREATE TABLE t1(a);
|
||||
INSERT INTO t1 VALUES(1);
|
||||
|
Reference in New Issue
Block a user