ec21707dd7
FossilOrigin-Name: 428a5479200dc24e2ee9b4a85ef6caadacbdbbd7
44 lines
1.0 KiB
Plaintext
44 lines
1.0 KiB
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.3 2008/11/13 18:02:52 shane Exp $
|
|
|
|
set testdir [file dirname $argv0]
|
|
source $testdir/tester.tcl
|
|
|
|
ifcapable {!threadsafe} {
|
|
finish_test
|
|
return
|
|
}
|
|
if {$::tcl_platform(platform)!="unix"} {
|
|
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
|