/ Check-in [948bb545]
Login

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

Overview
Comment:Fix to lock5.test so that it runs with the inmemory_journal permutation on osx.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:948bb54568b5eb26644db78e8cd62381bdc22bac
User & Date: dan 2010-07-08 14:59:02
Context
2010-07-08
16:22
Fix test case number issue in walcrash.test. check-in: 6a46e641 user: shaneh tags: trunk
14:59
Fix to lock5.test so that it runs with the inmemory_journal permutation on osx. check-in: 948bb545 user: dan tags: trunk
13:33
Fixed a few tests in pagerfault.test so they work correctly on Windows. check-in: ffbdd954 user: shaneh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to test/lock5.test.

117
118
119
120
121
122
123
124
125
126
127
128
129
130
131

# Make sure we are not accidentally using the dotfile locking scheme.
do_test lock5-flock.2 {
  file exists test.db.lock
} {0}

do_test lock5-flock.3 {
  sqlite3 db2 test.db -vfs unix-flock
  catchsql { SELECT * FROM t1 } db2
} {1 {database is locked}}

do_test lock5-flock.4 {
  execsql COMMIT
  catchsql { SELECT * FROM t1 } db2
} {0 {1 2}}







|







117
118
119
120
121
122
123
124
125
126
127
128
129
130
131

# Make sure we are not accidentally using the dotfile locking scheme.
do_test lock5-flock.2 {
  file exists test.db.lock
} {0}

do_test lock5-flock.3 {
  catch { sqlite3 db2 test.db -vfs unix-flock }
  catchsql { SELECT * FROM t1 } db2
} {1 {database is locked}}

do_test lock5-flock.4 {
  execsql COMMIT
  catchsql { SELECT * FROM t1 } db2
} {0 {1 2}}