715ff30e27
FossilOrigin-Name: 31f6090e22b54d657afc8c23171d000d47850205
40 lines
998 B
Plaintext
40 lines
998 B
Plaintext
# 2008 November 11
|
|
#
|
|
# The author disclaims copyright to this source code. In place of
|
|
# a legal notice, here is a blessing:
|
|
#
|
|
# May you do good and not evil.
|
|
# May you find forgiveness for yourself and forgive others.
|
|
# May you share freely, never taking more than you give.
|
|
#
|
|
#***********************************************************************
|
|
#
|
|
# $Id: tkt3472.test,v 1.4 2008/12/03 22:32:45 drh Exp $
|
|
|
|
set testdir [file dirname $argv0]
|
|
source $testdir/tester.tcl
|
|
|
|
if {![info exists threadsOverrideEachOthersLocks]} {
|
|
finish_test
|
|
return
|
|
}
|
|
|
|
set ::correctvalue $threadsOverrideEachOthersLocks
|
|
puts "threadsOverrideEachOthersLocks = $::correctvalue"
|
|
|
|
do_test tkt3472-1.1 {
|
|
db close
|
|
set threadsOverrideEachOthersLocks -1
|
|
sqlite3 db test.db
|
|
set threadsOverrideEachOthersLocks
|
|
} $::correctvalue
|
|
|
|
do_test tkt3472-1.2 {
|
|
db close
|
|
set threadsOverrideEachOthersLocks -1
|
|
sqlite3 db test.db -readonly 1
|
|
set threadsOverrideEachOthersLocks
|
|
} $::correctvalue
|
|
|
|
finish_test
|