mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Add a case to permutations.test to run tests with the test_journal.c backend installed. Also many fixes to test_journal.c and one quite obscure fix to pager.c. (CVS 6052)
FossilOrigin-Name: bb177e3072ab61d0af7af91660ebe4dafa487b42
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
#
|
||||
#***********************************************************************
|
||||
#
|
||||
# $Id: permutations.test,v 1.39 2008/11/19 01:20:26 drh Exp $
|
||||
# $Id: permutations.test,v 1.40 2008/12/22 10:58:46 danielk1977 Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -39,7 +39,7 @@ if {$::perm::testmode eq "all" || $::perm::testmode eq ""} {
|
||||
set ::perm::testmode {
|
||||
memsubsys1 memsubsys2 singlethread multithread onefile utf16 exclusive
|
||||
persistent_journal persistent_journal_error no_journal no_journal_error
|
||||
autovacuum_ioerr no_mutex_try fullmutex
|
||||
autovacuum_ioerr no_mutex_try fullmutex journaltest
|
||||
}
|
||||
}
|
||||
if {$::perm::testmode eq "targets"} {
|
||||
@ -705,6 +705,21 @@ run_tests "pcache100" -description {
|
||||
sqlite3_initialize
|
||||
} -include ${perm-alt-pcache-testset}
|
||||
|
||||
run_tests "journaltest" -description {
|
||||
Check that pages are synced before being written (test_journal.c).
|
||||
} -initialize {
|
||||
set ISQUICK 1
|
||||
catch {db close}
|
||||
register_jt_vfs -default ""
|
||||
} -shutdown {
|
||||
unregister_jt_vfs
|
||||
} -exclude [concat $EXCLUDE {
|
||||
incrvacuum.test
|
||||
ioerr.test
|
||||
corrupt4.test
|
||||
io.test
|
||||
}]
|
||||
|
||||
# End of tests
|
||||
#############################################################################
|
||||
|
||||
|
Reference in New Issue
Block a user