OLD | NEW |
1 # 2008 May 6 | 1 # 2008 May 6 |
2 # | 2 # |
3 # The author disclaims copyright to this source code. In place of | 3 # The author disclaims copyright to this source code. In place of |
4 # a legal notice, here is a blessing: | 4 # a legal notice, here is a blessing: |
5 # | 5 # |
6 # May you do good and not evil. | 6 # May you do good and not evil. |
7 # May you find forgiveness for yourself and forgive others. | 7 # May you find forgiveness for yourself and forgive others. |
8 # May you share freely, never taking more than you give. | 8 # May you share freely, never taking more than you give. |
9 # | 9 # |
10 #*********************************************************************** | 10 #*********************************************************************** |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 do_test corrupt6-1.10.9 { | 247 do_test corrupt6-1.10.9 { |
248 db close | 248 db close |
249 hexio_write test.db 1923 FFFFFFFFFFFFFFFFFF7F | 249 hexio_write test.db 1923 FFFFFFFFFFFFFFFFFF7F |
250 sqlite3 db test.db | 250 sqlite3 db test.db |
251 catchsql { | 251 catchsql { |
252 SELECT substr(x,1,8) FROM t1 | 252 SELECT substr(x,1,8) FROM t1 |
253 } | 253 } |
254 } [list 1 {database disk image is malformed}] | 254 } [list 1 {database disk image is malformed}] |
255 | 255 |
256 finish_test | 256 finish_test |
OLD | NEW |