diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ioerr5.test | 2 | ||||
-rw-r--r-- | test/wal.test | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/test/ioerr5.test b/test/ioerr5.test index 74fe10412..a430f5340 100644 --- a/test/ioerr5.test +++ b/test/ioerr5.test @@ -129,7 +129,7 @@ foreach locking_mode {normal exclusive} { do_test ioerr5-1.$locking_mode-$iFail.3 { sqlite3_soft_heap_limit 1024 compilesql16 "SELECT 10" - } {} + } {SQLITE_OK} close $channel diff --git a/test/wal.test b/test/wal.test index 5bccdd649..1db08b5ec 100644 --- a/test/wal.test +++ b/test/wal.test @@ -1499,9 +1499,10 @@ do_test wal-23.3 { faultsim_restore_and_reopen execsql { SELECT * FROM t1 } } {1 2 3 4} +set nPage [expr 2+$AUTOVACUUM] do_test wal-23.4 { set ::log -} [list SQLITE_OK "Recovered 2 frames from WAL file $walfile"] +} [list SQLITE_OK "Recovered $nPage frames from WAL file $walfile"] db close sqlite3_shutdown |