OLD | NEW |
| (Empty) |
1 # 2008 November 11 | |
2 # | |
3 # The author disclaims copyright to this source code. In place of | |
4 # a legal notice, here is a blessing: | |
5 # | |
6 # May you do good and not evil. | |
7 # May you find forgiveness for yourself and forgive others. | |
8 # May you share freely, never taking more than you give. | |
9 # | |
10 #*********************************************************************** | |
11 # | |
12 # $Id: tkt3472.test,v 1.4 2008/12/03 22:32:45 drh Exp $ | |
13 | |
14 set testdir [file dirname $argv0] | |
15 source $testdir/tester.tcl | |
16 | |
17 if {![info exists threadsOverrideEachOthersLocks]} { | |
18 finish_test | |
19 return | |
20 } | |
21 | |
22 set ::correctvalue $threadsOverrideEachOthersLocks | |
23 puts "threadsOverrideEachOthersLocks = $::correctvalue" | |
24 | |
25 do_test tkt3472-1.1 { | |
26 db close | |
27 set threadsOverrideEachOthersLocks -1 | |
28 sqlite3 db test.db | |
29 set threadsOverrideEachOthersLocks | |
30 } $::correctvalue | |
31 | |
32 do_test tkt3472-1.2 { | |
33 db close | |
34 set threadsOverrideEachOthersLocks -1 | |
35 sqlite3 db test.db -readonly 1 | |
36 set threadsOverrideEachOthersLocks | |
37 } $::correctvalue | |
38 | |
39 finish_test | |
OLD | NEW |