Lines Matching refs:file
11 # This file implements regression tests for SQLite library. The
12 # focus of this file is testing the SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE
16 set testdir [file dirname $argv0]
37 do_test 1.1 { file exists test.db-wal } 1
38 do_test 1.2 { file size test.db-wal } [wal_file_size 3 1024]
40 do_test 1.4 { file exists test.db-wal } 0
47 do_test 1.6 { file exists test.db-wal } 1
49 do_test 1.8 { file size test.db-wal } [wal_file_size 2 1024]
51 do_test 1.10 { file exists test.db-wal } 1
52 do_test 1.11 { file size test.db-wal } [wal_file_size 2 1024]
62 do_test 1.15 { file exists test.db-wal } {0}
72 # 2. The db, wal and *-shm files are deleted from the file system.
74 # 3. Another connection creates a new wal mode db at the same file-system
80 # not try to delete the wal file from the file-system as part of step
107 # Open and populate a new database file at the same file-system location
132 # closed. Test that this has not corrupted the database file by
133 # deleting the new wal file from the file-system. If it has, this