/ Check-in [ab418656]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Omit the threadOverrideEachOthersLocks tests for builds that non-unix or non-threadsafe. (CVS 5893)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:ab418656dbf3d2e055b2462a155d90863fef6582
User & Date: drh 2008-11-12 14:07:52
Context
2008-11-12
14:21
Update the version number to 3.6.5. (CVS 5894) check-in: f150b870 user: drh tags: trunk
14:07
Omit the threadOverrideEachOthersLocks tests for builds that non-unix or non-threadsafe. (CVS 5893) check-in: ab418656 user: drh tags: trunk
12:27
Fix a faulty assert in select.c. Ticket #3494. (CVS 5892) check-in: e89f9c80 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to test/tkt3472.test.

5
6
7
8
9
10
11
12
13
14
15









16
17
18
19
20
21
22
..
28
29
30
31
32
33
34
35
#
#    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.1 2008/11/11 18:34:35 danielk1977 Exp $

set testdir [file dirname $argv0]
source $testdir/tester.tcl










set ::correctvalue $threadsOverrideEachOthersLocks
puts "threadsOverrideEachOthersLocks = $::correctvalue"

do_test tkt3472-1.1 {
  db close
  set threadsOverrideEachOthersLocks -1
................................................................................
  db close
  set threadsOverrideEachOthersLocks -1
  sqlite3 db test.db -readonly 1
  set threadsOverrideEachOthersLocks
} $::correctvalue

finish_test








|



>
>
>
>
>
>
>
>
>







 







<
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
..
37
38
39
40
41
42
43

#
#    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.2 2008/11/12 14:07:52 drh Exp $

set testdir [file dirname $argv0]
source $testdir/tester.tcl

ifcapable {!threadsafe} {
  finish_test
  return
}
if {$::tcl_platform(platform)!="unix"} {
  finish_test
  rturn
}

set ::correctvalue $threadsOverrideEachOthersLocks
puts "threadsOverrideEachOthersLocks = $::correctvalue"

do_test tkt3472-1.1 {
  db close
  set threadsOverrideEachOthersLocks -1
................................................................................
  db close
  set threadsOverrideEachOthersLocks -1
  sqlite3 db test.db -readonly 1
  set threadsOverrideEachOthersLocks
} $::correctvalue

finish_test