Lines Matching refs:test
25 # Ensure that test.db has been created.
33 forcedelete test.db2
35 file link test.db2 test.db
36 sqlite3 db2 test.db2
38 } [file join [pwd] test.db]
44 set rc [catch {sqlite3 db2 test.db2 -nofollow 1} msg]
53 sqlite3 db2 test.db -nofollow 1
56 catchsql {ATTACH 'test.db2' AS aux1;} db2
57 } {1 {unable to open database: test.db2}}
65 forcedelete test.db
66 file exists test.db
69 sqlite3 db2 test.db2
70 file exists test.db
74 } [file join [pwd] test.db]
80 forcedelete test.db
82 exec ln -s test.db2 test.db
83 list [catch { sqlite3 db test.db } msg] $msg
89 set name "test.db[string repeat x 502]"
93 set r [expr 510 - [string length test.db] - [string length [pwd]]]
94 set name "test.db[string repeat x $r]"
105 forcedelete test.db test.db2 test.db3
106 sqlite3 db test.db
108 file link test.db2 test.db
109 file link test.db3 test.db2
113 foreach {tn f} {1 test.db2 2 test.db3} {
116 file exists test.db-journal
123 file exists test.db-journal
124 } [expr [atomic_batch_write test.db]==0]
134 file exists test.db-wal
166 sqlite3 db x/test.db
167 file link y/test.db ../x/test.db
168 file link z/test.db ../y/test.db
178 sqlite3 db y/test.db
182 list [file exists x/test.db-wal] [file exists y/test.db-wal]
187 sqlite3 db z/test.db
191 list [file exists x/test.db-wal] [file exists y/test.db-wal] \
192 [file exists z/test.db-wal]
198 file link w/test.db [file join [pwd] x/test.db]
203 sqlite3 db w/test.db
207 list [file exists x/test.db-wal] [file exists w/test.db-wal]