1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Changes to test scripts so that the "inmemory_journal" permutation works with [ef126e775a].

FossilOrigin-Name: f553c8ed04b4b2df8ff4929e0754e3ffd1d01ba4
This commit is contained in:
dan
2010-07-08 09:44:42 +00:00
parent 8700b1e52d
commit cb35460330
18 changed files with 149 additions and 118 deletions

View File

@ -298,15 +298,17 @@ ifcapable {trigger} {
# Try to open a database with a corrupt database file.
#
do_test main-2.0 {
catch {db close}
file delete -force test.db
set fd [open test.db w]
puts $fd hi!
close $fd
set v [catch {sqlite3 db test.db} msg]
if {$v} {lappend v $msg} {lappend v {}}
} {0 {}}
if {[permutation] == ""} {
do_test main-2.0 {
catch {db close}
file delete -force test.db
set fd [open test.db w]
puts $fd hi!
close $fd
set v [catch {sqlite3 db test.db} msg]
if {$v} {lappend v $msg} {lappend v {}}
} {0 {}}
}
# Here are some tests for tokenize.c.
#