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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 do_test corrupt6-1.10.9 { | 251 do_test corrupt6-1.10.9 { |
252 db close | 252 db close |
253 hexio_write test.db 1923 FFFFFFFFFFFFFFFFFF7F | 253 hexio_write test.db 1923 FFFFFFFFFFFFFFFFFF7F |
254 sqlite3 db test.db | 254 sqlite3 db test.db |
255 catchsql { | 255 catchsql { |
256 SELECT substr(x,1,8) FROM t1 | 256 SELECT substr(x,1,8) FROM t1 |
257 } | 257 } |
258 } [list 1 {database disk image is malformed}] | 258 } [list 1 {database disk image is malformed}] |
259 | 259 |
260 finish_test | 260 finish_test |
OLD | NEW |