Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Disable the use of ./crashtest in builds that include a codec. (CVS 2371) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
7e4af62238bf8fa3d3cbc79e2c8951e6 |
User & Date: | drh 2005-03-10 12:58:22.000 |
Context
2005-03-10
| ||
14:11 | Disable F_FULLSYNC if the sychronous pragma is not set to FULL. (CVS 2372) (check-in: 58b8733b96 user: drh tags: trunk) | |
12:58 | Disable the use of ./crashtest in builds that include a codec. (CVS 2371) (check-in: 7e4af62238 user: drh tags: trunk) | |
12:52 | Disable the alter2 tests if there is a codec compiled into the library. (CVS 2370) (check-in: 06a48da67b user: drh tags: trunk) | |
Changes
Changes to test/ioerr.test.
︙ | ︙ | |||
11 12 13 14 15 16 17 | # This file implements regression tests for SQLite library. The # focus of this file is testing for correct handling of I/O errors # such as writes failing because the disk is full. # # The tests in this file use special facilities that are only # available in the SQLite test fixture. # | | | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | # This file implements regression tests for SQLite library. The # focus of this file is testing for correct handling of I/O errors # such as writes failing because the disk is full. # # The tests in this file use special facilities that are only # available in the SQLite test fixture. # # $Id: ioerr.test,v 1.20 2005/03/10 12:58:22 drh Exp $ set testdir [file dirname $argv0] source $testdir/tester.tcl # If SQLITE_DEFAULT_AUTOVACUUM is set to true, then a simulated IO error # on the 8th IO operation in the SQL script below doesn't report an error. # |
︙ | ︙ | |||
128 129 130 131 132 133 134 | CREATE TABLE t1(a,b,c); CREATE TABLE test2.t2(a,b,c); COMMIT; } -exclude $ex # Test IO errors when replaying two hot journals from a 2-file # transaction. This test only runs on UNIX. | | > | 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 | CREATE TABLE t1(a,b,c); CREATE TABLE test2.t2(a,b,c); COMMIT; } -exclude $ex # Test IO errors when replaying two hot journals from a 2-file # transaction. This test only runs on UNIX. if {$tcl_platform(platform)=="unix" && [file exists ./crashtest] && ![catch {sqlite3 -has-codec} r] && !$r} { do_ioerr_test ioerr-6 -tclprep { execsql { ATTACH 'test2.db' as aux; CREATE TABLE tx(a, b); CREATE TABLE aux.ty(a, b); } set rc [crashsql 2 test2.db-journal { |
︙ | ︙ | |||
181 182 183 184 185 186 187 | db eval { SELECT * FROM t1; } } -exclude 1 } finish_test | < < | 182 183 184 185 186 187 188 | db eval { SELECT * FROM t1; } } -exclude 1 } finish_test |