Lines Matching refs:file
11 # This file implements regression tests for SQLite library.
15 set testdir [file dirname $argv0]
28 # To roll back a hot-journal file, the application needs read and write
29 # permission on the journal file in question. The following tests test
30 # the outcome of trying to rollback a hot-journal file when this is not
34 # the hot-journal file. Result: SQLITE_CANTOPEN.
37 # the hot-journal file. Result: SQLITE_CANTOPEN.
40 # the hot-journal file. Result: SQLITE_CANTOPEN.
43 # file. Result: SQLITE_OK.
56 # Fix the first journal-header in the journal-file. Because the
57 # journal file has not yet been synced, the 8-byte magic string at the
79 file attributes test.db-journal -permissions ---------
81 } {1 {unable to open database file}}
84 file attributes test.db-journal -permissions -w--w--w-
86 } {1 {unable to open database file}}
89 file attributes test.db-journal -permissions r--r--r--
91 } {1 {unable to open database file}}
95 file attributes test.db-journal -permissions rw-rw-rw-